Bug 457010 - Some maximize states (e.g. vertical) not remembered when changing display configuration
Summary: Some maximize states (e.g. vertical) not remembered when changing display con...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 5.25.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2022-07-22 07:31 UTC by Michael D
Modified: 2023-11-03 10:03 UTC (History)
2 users (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 Michael D 2022-07-22 07:31:17 UTC
If I maximize a window on my 1080p laptop monitor and then switch to my 1440p external monitor, the window is no longer maximized but reaches only 1080p high. However, the maximize state of windows should be remembered when changing the display configuration.
Comment 1 Michael D 2022-07-22 07:32:39 UTC
I forgot to mention that this is about *vertically* maximized windows.
Comment 2 Nate Graham 2022-07-22 17:54:03 UTC
Can reproduce.
Comment 3 David de Cos 2023-11-03 09:41:56 UTC
I just started using Wayland as a daily driver, and noticed this immediately. Just a few comments:

- This is not exclusive to vertically maximized windows. I can reproduce it with dolphin, which I have maximized horizontally.

- In my opinion, this is MORE SEVERE than it seems. What I'm encountering is the opposite situation to what the original report describes: I normally work on a 1920x1080p external monitor, buy when I unplug it and switch to my 1366x768p laptop screen, maximized windows are actually larger than my screen. Since this also happens with horizontally maximized windows (see previous comment), the window controls are out of reach! I know I can double click on the title bar to maximize the window and get the controls back, but perhaps a new user wouldn't.

- Could this be related to Bug 437089?
Comment 4 David de Cos 2023-11-03 09:59:05 UTC
The following video shows what I described in my previous comment: https://ehubox.ehu.eus/s/CyFtcW2J4rYrncQ

Dolphin is maximized horizontally in the external monitor, then I switch to the smaller resolution laptop screen, The dolphin window maintains its original size, thus not fitting in the laptop screen. The window controls (minimize, maximize, close) are out of reach!
Comment 5 Michael D 2023-11-03 10:03:28 UTC
I have the same issue. With some windows it is not easy to see that they "fall off" the edge of the screen, so I end up having to blindly maximize them to make sure. It's certainly an annoying bug if you use multiple displays of different resolution.