Bug 499253

Summary: Window placement maximized doesn't behave properly with GTK3+ apps
Product: [Plasma] kwin Reporter: Alberto Salvia Novella <es20490446e>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: john.kizer, nate
Priority: NOR    
Version First Reported In: 6.2.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Record.mkv

Description Alberto Salvia Novella 2025-01-28 19:44:47 UTC
STEPS
1. On (System Settings -> Window management -> Window behavior -> Advanced) set "Window placement" to "maximized"
2. Launch a GTK application, like gnome-boxes.

RESULT
- The window isn't necessarily maximized, but either defaults to the last size or it is drawn without filling the whole screen.
- On pamac on Wayland, the about dialog is even partially drawn outside the screen.
Comment 1 Nate Graham 2025-01-29 19:16:30 UTC
Cannot reproduce on current git master with gnome-boxes, gnome-text-editor, or gedit.
Comment 2 Alberto Salvia Novella 2025-01-29 22:35:08 UTC
Created attachment 177803 [details]
Record.mkv

On xorg.
Comment 3 John Kizer 2025-02-05 19:56:34 UTC
Hi - I can't reproduce on Plasma 6.2.5 (Wayland). 

Just to check - when configuring this using Window Rules, the suggestion is given to also force "Ignore requested geometry" to yes. Does that method work on your device?

Thanks!
Comment 4 Alberto Salvia Novella 2025-02-06 01:06:35 UTC
I can reproduce this more consistently with file-roller.

If I apply that window rule, the window appears on the upper side of the screen instead of the lower side. But still not maximized.

That said I have a display scale of 150%.