Bug 408165 - drag-and-drop cursor is not correct outside of same window
Summary: drag-and-drop cursor is not correct outside of same window
Status: RESOLVED DUPLICATE of bug 383794
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.15.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-31 22:46 UTC by Ben Klopfenstein
Modified: 2020-02-12 23:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Klopfenstein 2019-05-31 22:46:10 UTC
SUMMARY
When dragging and dropping from one application to another, the cursor does not correctly indicate if the drag-and-drop target is valid.

Within a single application, (dolphin for example) the cursor displays whether the drag-and-drop is a valid action, and changes between a 'no way' syymbol and an arrow with a + depending on if the target is acceptable. For instance dragging to the window borders is not acceptable and will not work.

When dragging to another window, the cursor necessarily passes through the window border and changes to the 'no way' symbol. After exiting the window, it remains in this state, regardless of where you try to drag and drop, or if the target window will accept the drop.

STEPS TO REPRODUCE
1. select a file in dolphin
2. drag it to the desktop
3. observe the cursor states during the drag
4. drop the file to the desktop
5. observe that a menu pops up, accepting the drop, even though the cursor indicated it was not going to work.

OBSERVED RESULT


When dragging to another window, the cursor necessarily passes through the window border and changes to the 'no way' symbol. After exiting the window, it remains in this state, regardless of where you try to drag and drop, or if the target window will accept the drop.

EXPECTED RESULT

The cursor state should indicate if the drop target is valid, both inside and outside the originating window.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch
(available in About System)
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION

This behavior differs somewhat when originating from an XWayland window - the cursor appears to change in response to the desktop accepting the drop, but if the cursor is moved over another window and then back to the desktop, it stops updating.
Comment 1 Patrick Silva 2020-02-12 23:35:13 UTC

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