Bug 438262 - System Settings window can't be unmaximized on Wayland
Summary: System Settings window can't be unmaximized on Wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.22.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-08 14:57 UTC by Lua
Modified: 2023-12-12 16:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lua 2021-06-08 14:57:58 UTC
SUMMARY


STEPS TO REPRODUCE
1. Switch to Wayland;
2. Try to maximize the window.


OBSERVED RESULT
The window won't maximize.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.3
Kernel Version: 5.4.0-74-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
The Settings window was maximized when I was on X.
Comment 1 Lua 2021-06-08 14:58:50 UTC
Ops, I meant "unmaximize"!
Comment 2 Nate Graham 2021-06-08 19:43:40 UTC
1. Do you have the "Maximizing" window placement mode set, by any chance?

2. What happens if yo manually drag the window somewhere else, resize it to be as small as it can be, maximize it, and then un-maximize it?
Comment 3 Lua 2021-06-09 15:42:46 UTC
1. No
2. I can't resize the window. If I press "restore", nothing happens
Comment 4 Lua 2021-06-09 15:47:50 UTC
I use the "centered" window placement. Also, I don't have any window rules for Settings.
Comment 5 Nate Graham 2021-06-09 16:29:22 UTC
Ok. So can you drag the window somewhere else and resize it by the corners or edges?
Comment 6 Lua 2021-06-09 16:56:54 UTC
Yes, I can do this. Also, after doing it, I can restore and maximize the window again.

I changed the window placement back to minimal overlapping, but it didn't work.
Comment 7 Nate Graham 2021-06-09 17:02:44 UTC
Right.

So the bug is that when you maximize a window on wayland and then quit and re-launch the app, the window is opened with the *geometry* of a maximized window, but not the *state* so clicking the maximize and un-maximize buttons don't seem to do anything because the maximized and non-maximized sizes are identical.

*** This bug has been marked as a duplicate of bug 437089 ***
Comment 8 Nate Graham 2023-12-12 16:33:30 UTC
I probably mis-triaged this bug. That said, I cannot reproduce the specific issue described here. Instead I experience a different one: when I maximize System Settings, quit it, and re-launch it, it doesn't open in the maximized state. I've filed Bug 478443 for that.