[PR #12459] fix(desktop): support desktop titlebar double-click maximize #14223

Closed
opened 2026-02-16 18:19:02 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12459

State: closed
Merged: Yes


Fixes #12458

Apologies if this is not something that you want! But I'm super used to clicking on the title bar and having it maximise.

Summary

  • add double-click maximise/unmaximise behaviour to the custom desktop titlebar
  • keep behaviour scoped to desktop and non-interactive titlebar areas
  • avoid triggering maximise from window controls / interactive elements

Verification

  • run desktop app (bun run --cwd packages/desktop tauri dev)
  • double-click non-interactive titlebar area toggles maximise/unmaximise
  • double-clicking buttons/controls does not trigger maximise

https://github.com/user-attachments/assets/46e21a5b-3928-477a-9f4a-2bf783610d67

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12459 **State:** closed **Merged:** Yes --- Fixes #12458 Apologies if this is not something that you want! But I'm super used to clicking on the title bar and having it maximise. ## Summary - add double-click maximise/unmaximise behaviour to the custom desktop titlebar - keep behaviour scoped to desktop and non-interactive titlebar areas - avoid triggering maximise from window controls / interactive elements ## Verification - run desktop app (`bun run --cwd packages/desktop tauri dev`) - double-click non-interactive titlebar area toggles maximise/unmaximise - double-clicking buttons/controls does not trigger maximise https://github.com/user-attachments/assets/46e21a5b-3928-477a-9f4a-2bf783610d67
yindo added the pull-request label 2026-02-16 18:19:02 -05:00
yindo closed this issue 2026-02-16 18:19:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14223