Bug 403834 - Window-height of windows on lower monitor gets reduced
Summary: Window-height of windows on lower monitor gets reduced
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 5.12.7
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2019-02-01 15:06 UTC by Björn Tantau
Modified: 2024-07-29 21:58 UTC (History)
4 users (show)

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


Attachments
Screenrecording showing the issue (1.46 MB, video/x-matroska)
2019-02-01 15:06 UTC, Björn Tantau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Tantau 2019-02-01 15:06:41 UTC
Created attachment 117778 [details]
Screenrecording showing the issue

When I've got my two monitors setup so that the primary display is below the second monitor and either
1) plug in the second monitor or
2) restart plasmashell with both monitors active
then all non-maximized windows on the lower monitor get their height reduced to the minimum. I've setup a minimal height of 50 px because some windows without any decorations were reduced to 1 px height.

It also happens if no monitor is setup as primary monitor.
It does not happen, when the top monitor is the primary monitor.
It also does not happen when the displays are side by side.

STEPS TO REPRODUCE
1. Configure two monitors so that one is above the other and setup the lower one to be primary display.
2. Have a non-minimized and non-maximized window on the lower monitor.
3. Kill plasmashell.
4. Start plasmashell.

OBSERVED RESULT
The window on the lower monitor gets its height reduced.

EXPECTED RESULT
No window should change dimensions.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 18.04
(available in About System)
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
Usually I noticed this when connecting a monitor. Only today did I notice that I could reproduce this by restarting plasmashell.
Comment 1 Dav Clark 2022-03-21 01:02:22 UTC
I can confirm this bug. I've been experiencing it ever since the KDE backports update to plasma 5.24. In my case, there are a few additional glitches which I am not sure are related. Briefly, I am using a laptop + the LG 5k2k external thunderbolt 4 monitor, with eDP over USB-C (the AMD laptop doesn't support thunderbolt). Often when I wake from sleep, the monitor will be detected but not enabled - but it can be enabled from the display settings. It appears that there may be several state changes in terms of moving windows and widgets between screens, and the resizing does not happen on the first state-change (e.g., not immediately when an image is displayed on the external monitor).

I'm happy to provide more detail, logs, etc., but I'm unsure what's relevant here.

I'm also setting to confirmed, but please reset to reported if that's overly cheeky of me.