Bug 421130

Summary: Wayland: Dragging-and-dropping image or video file to imgur.com in Firefox brings down the whole session
Product: [Plasma] kwin Reporter: Nate Graham <nate>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: benjamin.port, bugseforuns, katyaberezyaka, kde, tbondvagyok
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=416499
Latest Commit: Version Fixed In:

Description Nate Graham 2020-05-07 03:16:15 UTC
All KDE software from today's git master on top of openSUSE Tumbleweed.


STEPS TO REPRODUCE
1. Open Firefox and navigate to https://imgur.com
2. Open Dolphin and locate an image or video file (any will do)
3. Drag the file into the web browser window

OBSERVED RESULT
The session freezes for about a minute and then dumps me back at the login screen; presumably kwin_wayland crashes. I can't even get to a virtual terminal so I'm not sure how I would get a backtrace.

EXPECTED RESULT
It works
Comment 1 Vlad Zahorodnii 2020-05-07 06:41:42 UTC
Do you run Firefox with MOZ_ENABLE_WAYLAND=1?
Comment 2 David Edmundson 2020-05-07 09:42:39 UTC
Sounds very much like 417936

Though I fixed that a month ago

@Nate please run "ls -l /proc/`pidof kwin_wayland`/exe

and confirm it's the one in your home directory not the system one.
Comment 3 Nate Graham 2020-05-07 13:01:35 UTC
Confirmed, it points to /home/nate/kde/usr/bin/kwin_wayland.
Comment 4 Nate Graham 2020-05-07 13:12:25 UTC
(In reply to Vlad Zahorodnii from comment #1)
> Do you run Firefox with MOZ_ENABLE_WAYLAND=1?
No, and setting it makes no difference.
Comment 5 Nate Graham 2020-05-07 13:16:56 UTC
Also it's not quite the same as Bug 417936; in that bug, the crash occurs when the drop leaves the window; with this, it occurs when the mouse button is released and the drop ends.
Comment 6 Patrick Silva 2020-06-14 12:41:30 UTC
yesterday kwin_wayland crashed on my system after I try to drag a wallpaper from Firefox running on Xwayland to desktop.

Operating System: Arch Linux 
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0
Comment 7 Benjamin Port 2020-08-04 12:42:47 UTC
I can't reproduce it.
@Nate can you confirm still occurs for you, else I think we can set resolved flag
Comment 8 Nate Graham 2020-08-05 00:53:38 UTC
I just checked again and it still happens for me. :( I drag an image into imgur on Firefox, and then Firefox stops responding and turns white (the KWin effect applied to unresponsive programs). Then the cursor freezes, then the session crashes.
Comment 9 Vlad Zahorodnii 2020-11-05 09:00:18 UTC
We've had some drag-and-drop crash fixes recently. Can you check whether this bug is still present?
Comment 10 Nate Graham 2020-11-05 21:29:29 UTC
Yup, fixed now.