Skip to content
Open
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/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,10 @@ def set_final_window_rect(cls, settings, window):
window.maximize()
elif not FullscreenManager(settings, window).is_fullscreen():
log.debug("RESIZING MAIN WINDOW TO THE FOLLOWING VALUES:")
window.unmaximize()
# KWin marks a full-width window as maximized horizontally. Calling
# unmaximize() on it makes KWin shrink it to 2/3 of the screen width (#2117).
if window.is_maximized():
window.unmaximize()
log.debug(" window_rect.x: %s", window_rect.x)
log.debug(" window_rect.y: %s", window_rect.y)
log.debug(" window_rect.height: %s", window_rect.height)
Expand Down
5 changes: 5 additions & 0 deletions releasenotes/notes/bugfix-3b43f5126a83b026.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fixes:
- |
On KDE Plasma, a window with 100% width no longer shrinks to 2/3 of the screen width
when it is shown or leaves fullscreen. Guake now only unmaximizes the window when it
is maximized. #2117