Bug 445725 - Improper System Settings window state button positioning when snapped to screen area
Summary: Improper System Settings window state button positioning when snapped to scre...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.23.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-18 23:52 UTC by PhilipB
Modified: 2024-06-12 09:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
system settings window state buttons improper positioning (493.06 KB, image/png)
2021-11-18 23:52 UTC, PhilipB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PhilipB 2021-11-18 23:52:46 UTC
Created attachment 143714 [details]
system settings window state buttons improper positioning

System Settings Window titlebar state button elements don't follow the resizing upon snapping to right side of the screen.

STEPS TO REPRODUCE
1. Be on Wayland session;
2. Open System Settings;
3. Snap the window to right side screen corner;

OBSERVED RESULT
Window state buttons cut off/improperly positioned in the titlebar

EXPECTED RESULT
Window state buttons follow proper window resizing

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Only happening to system settings window as far as has been observed. Only snapping event creates bug.
Comment 1 Nate Graham 2021-11-18 23:56:08 UTC
Can confirm, Wayland only. What seems to be happening is that KWin is positioning part of the window out of view to honor the user's tiling preference, instead of scaling down the window below its minimum size, as it does on X11.

Scaling below the window's minimum size as the *potential* to beak the window, but positioning is partly off screen guarantees it, so I think this behavior is a regression compares to what it does on X11.
Comment 2 Vlad Zahorodnii 2024-06-12 09:09:51 UTC
The minimum size has been removed in Qt 6
Comment 3 Vlad Zahorodnii 2024-06-12 09:10:00 UTC
The minimum size check*