Bug 405601

Summary: Window is disappearing to lower screen border when moved to second monitor
Product: [Plasma] kwin Reporter: lsmod <forum+kde>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde.org
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot showing the move of the control panel

Description lsmod 2019-03-18 14:51:10 UTC
When you connect a second monitor it is used in KDE, but when you try to move a window to it, this window disappears to the lower border of the screen when it is moved to the second monitor.
For me this problem is a show stopper to use KDE 5. So I am still working with KDE 4.


Please refer to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910494

The Product and Component is only a guess.
Please move this problem to the correct one if it is wrong here. Thanks.


STEPS TO REPRODUCE
1. Connect a second monitor that is configured to be right of the left one.
2. Move a window from the left monitor to the right monitor.


OBSERVED RESULT
Windows is going down to the lower border at a certain point.
You can't move it up and work with it.


EXPECTED RESULT
Normal window behaviour as in KDE 4 - it is working there on the same machine.

The problem is happening in Debian 9 (stretch).
When i use XFCE instead there is no problem, so it is related only to KDE 5.


SOFTWARE/OS VERSIONS
Please refer to the Debian bug.
Version is https://bugsfiles.kde.org/attachment.cgi?id=118819
Comment 1 Vlad Zahorodnii 2019-03-18 15:04:12 UTC
can you reproduce the bug if you disable the wobbly windows effect?
Comment 2 lsmod 2019-03-18 15:30:00 UTC
I tested to deactivate every of the effects without any result.
There is no action defined on any of the screen borders.

Any other ideas for tests?
Comment 3 Vlad Zahorodnii 2019-03-18 15:38:28 UTC
What if you move the panel to the left screen edge?
Comment 4 lsmod 2019-03-18 16:27:34 UTC
The left screen edge is no problem, but you pointed me to the reason of the problem!

I am using an additional control panel to arrange my main applications.
So i have the standard control panel on the left side an the additional control panel with my start icons on the right side.
It is the right border of the left monitor!

So when i move an window over this right control panel the window goes down to the bottom.

When i  place the right control panel to the top of the screen i can move any window to the right monitor without any problem.

Now we know where to search for the problem.
In KDE 4 this was no problem, but in KDE 5 there can't be an control panel between the two monitor screens.

Thanks for your help to find the problem!
Comment 5 lsmod 2019-03-18 16:50:45 UTC
Created attachment 118892 [details]
Screenshot showing the move of the control panel
Comment 6 Vlad Zahorodnii 2019-03-19 08:56:59 UTC
Hmm, this is probably struts/client area related problem. Just to be sure, can you reproduce this problem with the latest KDE Plasma release?

You could use Neon Live CD for that purpose for example
https://neon.kde.org/download
Comment 7 lsmod 2019-03-19 11:20:10 UTC
Sorry, but then a complete new installation of a distribution is needed, that contain the latest KDE version.

It's easier to connect an second monitor to a PC that has the needed installation of the KDE - isn't it?
Comment 8 lsmod 2019-03-19 11:21:21 UTC
Is the CD-Image running from an USB stick?
Comment 9 kde.org 2021-11-07 11:17:25 UTC
Have you updated to the most recent version of Plasma 5.23 in the mean time? Can you please confirm, that it still persists with Plasma 5.23?
Comment 10 lsmod 2021-11-08 07:56:27 UTC
With the current stable version of Debian the bug does not exist any more.

Betriebssystem: Debian GNU/Linux 11
KDE-Plasma-Version: 5.20.5
KDE-Frameworks-Version: 5.78.0
Qt-Version: 5.15.2
Kernel-Version: 5.10.0-8-amd64
Art des Betriebssystems: 64-bit
Comment 11 kde.org 2021-11-08 08:34:48 UTC
Thank you for your feedback!