Skip to content

fix: use outerWidth/outerHeight for Tauri new window dimensions#2720

Merged
abose merged 1 commit intomainfrom
st
Mar 2, 2026
Merged

fix: use outerWidth/outerHeight for Tauri new window dimensions#2720
abose merged 1 commit intomainfrom
st

Conversation

@abose
Copy link
Member

@abose abose commented Mar 2, 2026

Tauri's WebviewWindow constructor treats width/height as outer size, but innerWidth/innerHeight only gives the content area. This caused each File > New Window to shrink by the title bar and border size.

Related: phcode-dev/phoenix-desktop#689

Tauri's WebviewWindow constructor treats width/height as outer size,
but innerWidth/innerHeight only gives the content area. This caused
each File > New Window to shrink by the title bar and border size.

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

sonarqubecloud bot commented Mar 2, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@abose abose merged commit fe46411 into main Mar 2, 2026
17 of 21 checks passed
@abose abose deleted the st branch March 2, 2026 15:58
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.

1 participant