Bug 422081

Summary: Windows snap to panels on other monitors
Product: [Plasma] kwin Reporter: toluschr
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.18.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The video shows what happens

Description toluschr 2020-05-26 08:03:56 UTC
Created attachment 128793 [details]
The video shows what happens

SUMMARY
Windows snap to panels on other monitors

STEPS TO REPRODUCE
1. Have two monitors arranged like this
.---.---.
'---'---'
2. Add a panel on one monitor and position it on the top edge
2. Try moving a window to the top edge of the other monitor

OBSERVED RESULT
It feels like there is an invisible barrier when moving the window to the top of the screen

EXPECTED RESULT
The window does not snap to the panel on the other monitor

SOFTWARE/OS VERSIONS
Operating System: void 
KDE Plasma Version: 5.18.90
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Kernel Version: 5.6.14_1
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 1600X Six-Core Processor
Memory: 15.6 GiB of RAM

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2020-05-29 14:19:01 UTC
Can you please post the output of xprop for the panel?
Comment 2 toluschr 2020-05-29 14:50:21 UTC
(xrandr)
Screen 0: minimum 8 x 8, current 5760 x 2160, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+3840+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  74.97    59.94    50.00    60.05    60.00    50.04  
   1680x1050     59.95  
   1600x1200     60.00  
   1440x900      74.98    59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1152x720      60.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 620mm x 340mm
   3840x2160     60.00*+  60.00    59.94  
   2560x1440     59.95  
   2048x1152     60.00  
   1920x2160     60.00  
   1920x1200     59.88  
   1920x1080     60.00    59.94  
   1680x1050     59.95  
   1600x1200     60.00  
   1600x900      60.00  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      59.94  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94    59.93  
DP-1 disconnected (normal left inverted right x axis y axis)
DVI-D-1 disconnected (normal left inverted right x axis y axis)




(xprop)
_NET_WM_STRUT(CARDINAL) = 0, 0, 30, 0
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 30, 0, 0, 0, 0, 0, 3840, 5759, 0, 0
_KDE_NET_WM_SHADOW(CARDINAL) = 29363159, 29363159, 29363159, 29363159, 29363151, 29363159, 29363159, 29363159, 1, 1, 10, 1
_KDE_NET_WM_ACTIVITIES(STRING) = "00000000-0000-0000-0000-000000000000"
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_STATE(ATOM) = 
_NET_WM_USER_TIME(CARDINAL) = 26329792
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 26329851
_KDE_SLIDE(_KDE_SLIDE) = 0xffffffff, 0x1
_NET_WM_DESKTOP(CARDINAL) = 4294967295
_KDE_NET_WM_BLUR_BEHIND_REGION(CARDINAL) = 0, 0, 1920, 29
_KDE_NET_WM_DESKTOP_FILE(UTF8_STRING) = "org.kde.plasmashell"
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = 
_NET_WM_NAME(UTF8_STRING) = "Plasma"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x1, 0x0, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK, _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, _NET_WM_WINDOW_TYPE_NORMAL
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x1c0000d
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: False
                window id # of group leader: 0x1c0000d
WM_CLIENT_MACHINE(STRING) = "tom-linux"
_NET_WM_PID(CARDINAL) = 1195
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 29363138
WM_CLASS(STRING) = "plasmashell", "plasmashell"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 3840, 0
                user specified size: 1920 by 30
                program specified minimum size: 1920 by 30
                program specified maximum size: 1920 by 30
                window gravity: Static
Comment 3 David Edmundson 2023-09-06 10:38:10 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.