Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion guake/guake_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,10 @@ def show(self):

# move the window even when in fullscreen-mode
log.debug("Moving window to: %r", window_rect)
self.window.move(window_rect.x, window_rect.y)

# Queue layout updates and defer positioning to prevent drift
self.window.queue_resize()
GLib.idle_add(lambda: self.window.move(window_rect.x, window_rect.y) and False)

# this works around an issue in fluxbox
if not self.fullscreen_manager.is_fullscreen():
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/bugfix-0850b16af94b9a4d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

fixes:
- |
Fixed window position drift during visibility toggles. The window would
gradually move down and sideways with each show/hide cycle. Window positioning
is now properly deferred until after widget layout is complete. #2184
Loading