Skip to content

Fix window width on multi-monitor setups with different resolutions#2323

Open
nox-404 wants to merge 1 commit intoGuake:masterfrom
nox-404:nox-404/fix-multimonitor-width
Open

Fix window width on multi-monitor setups with different resolutions#2323
nox-404 wants to merge 1 commit intoGuake:masterfrom
nox-404:nox-404/fix-multimonitor-width

Conversation

@nox-404
Copy link
Copy Markdown

@nox-404 nox-404 commented Apr 23, 2026

Summary

On multi-monitor setups with different widths, Guake would sometimes open or resize to the wrong width.

Tab spawn issue

When creating a new Tab, there would be a high chance of the window width not matching the current monitor

Hide/Show issue

When hiding and showing the window, it would sometimes shows with a width not matching the current monitor

Test

I manually tested this issue on a multi-monitor setup (1920x1200 and 2560x1440).

  • WM/Compositor: Sway 1.11
  • Session: Wayland (GDK_BACKEND=wayland)
  • GTK: 3.24.52
  • VTE 0.84.0

sem-ver: bugfix

@nox-404
Copy link
Copy Markdown
Author

nox-404 commented Apr 23, 2026

I'm no python expert so feel free to tell me if something isn't right or if it might not work on other environment. I did get help from Claude to find and fix that issue 🙏

@nox-404 nox-404 force-pushed the nox-404/fix-multimonitor-width branch from 04da841 to d8cd6af Compare April 23, 2026 20:43
@nox-404 nox-404 changed the title fix: correct window geometry on multi-monitor setups with different widths Fix window width on multi-monitor setups with different resolutions Apr 23, 2026
@nox-404 nox-404 force-pushed the nox-404/fix-multimonitor-width branch 2 times, most recently from 1e5d6d6 to 9ad2762 Compare April 24, 2026 07:35
@nox-404 nox-404 force-pushed the nox-404/fix-multimonitor-width branch from 9ad2762 to 7f13d73 Compare April 24, 2026 12:52
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