Bug 370583

Summary: In a dual monitor setup, if a Plasma panel is in between the monitors, windows will sometimes be moved to the bottom of the screen during cursor movement.
Product: [Plasma] plasmashell Reporter: ejaekoi
Component: generic-multiscreenAssignee: Aleix Pol <aleixpol>
Status: RESOLVED DUPLICATE    
Severity: normal CC: Anton.Eppinger, ejaekoi, himling, mr.barabanov, notmart, plasma-bugs, taranov.vv
Priority: NOR    
Version: 5.8.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
URL: https://i.imgur.com/8gcJ43w.jpg
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ejaekoi 2016-10-12 18:54:51 UTC
When creating a Panel which sits between 2 monitors, windows with system title bars which are dragged by the mouse cursor can have their position set to the very bottom of the screen.

Afterwards, the only way to drag the window is to ensure that only the title bar is visible during drag.

Reproducible: Sometimes

Steps to Reproduce:
1. Create a Panel in a Dual Monitor setup. Attach the panel to the left screen on the right side (directly between the 2 monitors). See the photo for the correct positioning to recreate this.
2. Open a process which uses system title bars, such as Kate. Drag the window to the far edge of the right screen.

Actual Results:  
Sometimes, the window will be forced to the very bottom of the screen.

Expected Results:  
The window would be moved normally.

This does not occur in processes which do not use system title bars, e.g. Chromium.

System affected was Ubuntu 16.04.1 / nvidia-361 stable drivers (from default repository).

This also occurs on Plasma 5.8.1.
Comment 1 himling 2017-01-19 11:05:47 UTC
Moving the Plasma panel on the edge between the screens change the size of the windows on the other screen. A change in the width isn’t possible. Moving this windows with the mouse resulting  push them under the screen. Moving with alt + mouse-click or over the menu → move work as expected. 

Windows with a fixed Location on Screen (maximize, left half,...) aren't effected. 

Plasma Version: 5.8.95
Qt Version: 
OS: Arch Linux
Driver: amdgpu
Comment 2 himling 2017-01-19 11:12:17 UTC
Qt Version: 5.8.0rc-2
Comment 3 Vassiliy 2017-04-23 13:01:16 UTC
I can reproduce this bug any time with the configuration. 

➜  ~ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description:    Linux Mint 18.1 Serena
Release:        18.1
Codename:       serena

➜  ~ konsole --version
Qt: 5.6.1
KDE Frameworks: 5.28.0
Konsole: 16.04.3

➜  ~ dolphin --version                                                       
dolphin 16.04.3


I have a laptop(1920x1080) and monitor(2560x1080)

https://www.dropbox.com/s/1cw09hncn11kp8l/screen.mkv?dl=0
Comment 4 barbiedrummer 2017-05-24 13:27:28 UTC
I also can reproduce this bug. 
It becomes worse when there are 2 panels between 2 monitors (same size and resolution):
- one panel on the right edge of left monitor
- one panel on the left edge of right monitor
All movement and sometimes resizing of windows makes them appear under the bottom of the screen.

Versions:
OS KDE neon 5.9 64-bit
Kernel 4.8.0-51-generic
KDE plasma 5.9.5
KDE frameworks 5.34.0
QT 5.7.1
Comment 5 Anton E. 2017-09-21 09:50:08 UTC
I can reproduce this bug, but it does only occur when dragging the window by the title bar. Moving the window by holding "Alt" is working normally.

Plasma Version: 5.10.5
Frameworks Version: 5.38.0
Qt Version: 5.9.1
Kernel-Version: 4.10.0-35
OS: KDE Neon User Edition
Comment 6 Christoph Feck 2017-10-12 19:40:52 UTC

*** This bug has been marked as a duplicate of bug 371199 ***