Bug 385054

Summary: Drag and drop with multiple monitors location is incorrect
Product: [Plasma] plasmashell Reporter: Kenneth Ingham <kdebugs>
Component: generic-multiscreenAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.reimelt, claudius.ellsel, kde, plasma-bugs
Priority: NOR    
Version: 5.10.5   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=418853
https://bugs.kde.org/show_bug.cgi?id=425258
Latest Commit: Version Fixed In:
Attachments: Mouse location and icon+drag and drop location offset
offset showcase

Description Kenneth Ingham 2017-09-25 14:23:05 UTC
Created attachment 108011 [details]
Mouse location and icon+drag and drop location offset

When using two monitors, drag and drop has an incorrect cursor location.
Comment 1 Kenneth Ingham 2017-09-25 14:31:17 UTC
It submitted when I hit enter after attaching the screen shot and before I had typed everything.  Here is what I intended to submit.

When using two monitors, drag and drop has an incorrect cursor or icon location.

In the attached screen shot, the cursor is on the selected image.  The icon for the drag and drop file is off to the right.  This always occurs with a second monitor attached, and never occurs when using just the laptop internal display.

This problem occurs with all apps such as Digikam, dolphin, browsers, etc.

I am running OpenSUSE Tumbleweed, current as of 2017-09-24. Hardware is an x86_64 architecture.  Laptop display is 3480x2160, external monitor is wide aspect ratio 2560x1080.

$ rpm -qa '*plasma*' 
plasma5-addons-5.10.5-1.2.x86_64
plasma5-session-wayland-5.10.5-1.1.noarch
plasma5-workspace-branding-openSUSE-42.1.1-23.1.noarch
plasma-nm5-5.10.5-1.2.x86_64
plasma-nm5-pptp-5.10.5-1.2.x86_64
patterns-kde-kde_plasma-20170319-9.1.noarch
plasma-framework-private-5.37.0-1.1.x86_64
plasma5-workspace-libs-5.10.5-2.1.x86_64
plasma5-workspace-5.10.5-2.1.x86_64
plasma-framework-components-5.37.0-1.1.x86_64
plasma5-pk-updates-0.2-7.4.x86_64
plasma-nm5-vpnc-5.10.5-1.2.x86_64
plasma5-session-5.10.5-1.1.noarch
plasma5-pa-5.10.5-1.2.x86_64
plasma5-defaults-openSUSE-42.1.1-23.1.noarch
plasma-framework-5.37.0-1.1.x86_64
plasma5-integration-plugin-5.10.5-1.1.x86_64
plasma-nm5-openvpn-5.10.5-1.2.x86_64
plasma5-theme-openSUSE-42.1.1-23.1.noarch
plasma5-desktop-5.10.5-1.2.x86_64
Comment 2 David Edmundson 2017-09-26 23:53:17 UTC
x or wayland?
Comment 3 Kenneth Ingham 2017-09-27 22:16:10 UTC
$ loginctl show-session 1 -p Type
Type=x11
Comment 4 Alexander 2020-10-16 17:41:14 UTC
Can confirm this bug as well. Happens on Wayland but don't know about X11. It appears to be about one icon row off offset in Dolphin.
Comment 5 Alexander 2020-10-16 18:15:48 UTC
This is a Plasma 5.20 issue and it always happens not only in a multi monitor configuration. Maybe I should open a separate bug report?
Comment 6 Claudius Ellsel 2020-10-16 19:06:30 UTC
(In reply to alexander.reimelt from comment #5)
> This is a Plasma 5.20 issue and it always happens not only in a multi
> monitor configuration. Maybe I should open a separate bug report?

Can you provide a screenshot? It might be a different problem. Also make sure it is not https://bugs.kde.org/show_bug.cgi?id=425258.
Comment 7 Alexander 2020-10-16 19:50:37 UTC
Created attachment 132442 [details]
offset showcase

first part: pointer clearly over directory but not highlighted
second part: pointer way to far to the right but Dokumente directory highlighted
Comment 8 Alexander 2020-10-16 19:53:01 UTC
when starting and ending the drag & drop operation the cursor visibly jumps right and then left
Comment 9 Claudius Ellsel 2020-10-16 20:49:25 UTC
(In reply to alexander.reimelt from comment #7)
> Created attachment 132442 [details]
> offset showcase
> 
> first part: pointer clearly over directory but not highlighted
> second part: pointer way to far to the right but Dokumente directory
> highlighted

Thanks. As I somewhat suspected, this looks pretty much like https://bugs.kde.org/show_bug.cgi?id=425258. See my attached screenshot there where I experience a similar problem with dragging and dropping from dolphin to the taskbar.
Comment 10 Alexander 2021-02-18 18:41:48 UTC
Haven't noticed this in a while probably fixed.