Bug 397132 - Windows may get horizontally squashed when switching screens through kwin's context menu or when connecting a new screen
Summary: Windows may get horizontally squashed when switching screens through kwin's c...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: 5.12.6
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-03 17:58 UTC by Romário Rios
Modified: 2024-06-11 10:17 UTC (History)
5 users (show)

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


Attachments
before (1.27 MB, image/png)
2018-08-03 17:58 UTC, Romário Rios
Details
after (1.85 MB, image/png)
2018-08-03 17:59 UTC, Romário Rios
Details
qdbus org.kde.KWin /KWin supportInformation (no displays attached) (5.56 KB, text/plain)
2018-08-08 15:57 UTC, Romário Rios
Details
qdbus org.kde.KWin /KWin supportInformation (5.79 KB, text/plain)
2018-08-22 11:53 UTC, Romário Rios
Details
supportInformation (7.02 KB, text/plain)
2022-08-04 11:50 UTC, elman
Details
squashed app (36.49 KB, image/avif)
2022-08-04 11:51 UTC, elman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Romário Rios 2018-08-03 17:58:40 UTC
Created attachment 114291 [details]
before

I've attached two images illustrating what happens. In the first one, I show the original window as I open it; in the second one, the result after I switch its screen.

Plasma: 5.12.6
Frameworks: 5.44.0
Qt: 5.9.5
OS: Kubuntu 18.04 64 bits
Comment 1 Romário Rios 2018-08-03 17:59:17 UTC
Created attachment 114292 [details]
after
Comment 2 Martin Flöser 2018-08-04 10:06:39 UTC
Please provide the output of qdbus org.kde.KWin /KWin supportInformation
Comment 3 Romário Rios 2018-08-08 15:57:50 UTC
Created attachment 114376 [details]
qdbus org.kde.KWin /KWin supportInformation (no displays attached)

No extra displays are attached right now, but I'll make sure to send this again when I have an extra display attached
Comment 4 Martin Flöser 2018-08-08 18:59:54 UTC
We need the support information for the buggy situation.
Comment 5 Romário Rios 2018-08-10 16:36:19 UTC
I've attached the display to my laptop now, but I haven't been able to reproduce the bug again.

I'll keep using it and will let you know as soon as I spot this bug once more.
Comment 6 Romário Rios 2018-08-22 11:53:45 UTC
Created attachment 114543 [details]
qdbus org.kde.KWin /KWin supportInformation

I managed to reproduce the bug again, so I'm updating the info file
Comment 7 Martin Flöser 2018-08-22 17:15:19 UTC
Can you try to left align your screens?
Comment 8 Romário Rios 2018-08-29 16:30:34 UTC
(In reply to Martin Flöser from comment #7)
> Can you try to left align your screens?

The same problem doesn't seem to happen if I left align the screens, no matter what position.
Comment 9 Martin Flöser 2018-08-29 19:20:25 UTC
Good :-) That helps a lot to narrow down the problem.
Comment 10 Romário Rios 2018-10-24 19:05:22 UTC
Still happening in 5.13.5 (Kubuntu 18.10)
Comment 11 kde.org 2021-11-06 23:00:04 UTC
Multi-monitor issues should be fixed with 5.24. Would be great if you could retest with a version built from 5.24-master.
Comment 12 Dav Clark 2022-03-21 01:04:38 UTC
I have had this problem ONLY since 5.24 was released to KDE backports. I also chimed in on 403834, and have linked that issue here.
Comment 13 elman 2022-08-04 11:49:05 UTC
I have the same problem on 

Operating System: Manjaro Linux Unstable
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.16-1-MANJARO (64-bit)
Graphics Platform: X11

Happens every time I connect my external monitor. My default configuration is that external editor is above laptop display. Both are 4K with 200 % scaling.
Comment 14 elman 2022-08-04 11:50:15 UTC
Created attachment 151106 [details]
supportInformation
Comment 15 elman 2022-08-04 11:51:56 UTC
Created attachment 151107 [details]
squashed app
Comment 16 elman 2022-08-11 09:03:48 UTC
Today it happened with 3 apps (none of them was maximized): doublecmd-qt, sublime-text, keepassxc. Height of squashed windows is different for each window. Sublime Text had only menu bar, Double Commander had also little bit of icon bar and KeePassXC was squashed only to approx. 60 % of its original height.
Comment 17 elman 2022-08-18 07:46:05 UTC
Same thing happens with spotify (snap) and easyeffects.
Comment 18 Zamundaaa 2024-06-07 15:44:02 UTC
A lot of multi monitor issues have been fixed since the last update on this bug report. Can you still reproduce the problem in Plasma 6?
Comment 19 elman 2024-06-11 09:36:43 UTC
Hi. Haven't seen this issue in a long time and definitely not on Plasma 6.
Comment 20 Zamundaaa 2024-06-11 10:17:34 UTC
Great!