Skip to content

Conversation

@shanebishop1
Copy link
Contributor

@shanebishop1 shanebishop1 commented Jan 18, 2026

What does this PR do?

Fixes #9167

Simple change that allows Mac users to double-click to maximize the window by detecting double-clicks in the title bar (and adding allow-toggle-maximize capability to the Tauri capabilities config).

This fix only works once the window has actually fully initialized, but this was a pre-existing issue that also prevents the user from re-positioning the window by dragging while the initialization is happening. I think this would also be nice to look at but feels out-of-scope for this quick fix. Also, this change only addresses the issue on Mac.

Before fix:

toggle_maximize_bug.mov

After fix:

toggle_maximize_fix.mov

How did you verify your code works?

Tested the fix locally on my Mac and made sure that lint/typecheck/tests passed

@github-actions
Copy link
Contributor

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

No duplicate PRs found

@shanebishop1
Copy link
Contributor Author

shanebishop1 commented Jan 23, 2026

it seems that @Brendonovich put out a PR for Windows that also fixed it on Mac #9835. closing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Desktop] Double-clicking title bar fails to maximize window

1 participant