Skip to content

fix(desktop): support desktop titlebar double-click maximize#12459

Merged
Brendonovich merged 1 commit intoanomalyco:devfrom
crob19:fix/desktop-titlebar-double-click-maximize
Feb 6, 2026
Merged

fix(desktop): support desktop titlebar double-click maximize#12459
Brendonovich merged 1 commit intoanomalyco:devfrom
crob19:fix/desktop-titlebar-double-click-maximize

Conversation

@crob19
Copy link
Contributor

@crob19 crob19 commented Feb 6, 2026

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
Opencode.Title.Bar.resising.mov

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@Brendonovich Brendonovich merged commit 6c0dce6 into anomalyco:dev Feb 6, 2026
7 checks passed
pRizz added a commit to pRizz/opencode that referenced this pull request Feb 6, 2026
* chore: cleanup

* fix(app): retry error unwrapping (anomalyco#12462)

* ignore: refactoring and tests (anomalyco#12460)

* fix(desktop): support desktop titlebar double-click maximize (anomalyco#12459)

* fix(ui): add Windows File Explorer icon for session header (anomalyco#12386)

* feat(app): session last updated time display in command pallete's search (anomalyco#12376)

* fix(desktop): update server removal logic to clear default server URL if removed (anomalyco#12372)

* chore: generate

* fix(www): z icon color

* fix(app): hide 'open in app' button on narrow viewports

* feat(web): i18n (anomalyco#12471)

* chore: generate

* desktop: add loading window and restructure rust (anomalyco#12176)

* fix(app): remove extra error page and use default error boundary

* chore: update nix node_modules hashes

* fix: correct /data API usage and data format for importing share URLs (anomalyco#7381)

* chore: refactoring and tests (anomalyco#12468)

* fix: re-run bun install in sync test phase after merge

The upstream sync workflow runs `bun install --frozen-lockfile` during
setup-bun (before the merge). When the merge introduces new dependencies
in bun.lock (e.g. @solidjs/meta for @opencode-ai/desktop), the
node_modules tree is stale and tsgo/tsc cannot resolve the new modules.

Add a `bun install` step at the start of runTestGate() so dependencies
are re-linked against the post-merge lockfile before typecheck runs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: preserve Playwright browser path in e2e sandbox environment

The e2e-local script sets XDG_CACHE_HOME to a temp sandbox directory for
server isolation. This override propagates to the Playwright runner env,
causing Playwright to look for browsers in the sandbox instead of the
default ~/.cache/ms-playwright/ location. Set PLAYWRIGHT_BROWSERS_PATH
explicitly so browsers are found regardless of XDG_CACHE_HOME.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: Cameron <cameron.robertson2201@gmail.com>
Co-authored-by: Maharshi Patel <maharshi365@gmail.com>
Co-authored-by: Alex Yaroshuk <34632190+alexyaroshuk@users.noreply.github.com>
Co-authored-by: OpeOginni <107570612+OpeOginni@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: Yuvraj Virk <yuvivirk344@gmail.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Desktop: double-click title bar should maximise window

2 participants