Bug 421130 - Wayland: Dragging-and-dropping image or video file to imgur.com in Firefox brings down the whole session
Summary: Wayland: Dragging-and-dropping image or video file to imgur.com in Firefox br...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-07 03:16 UTC by Nate Graham
Modified: 2020-11-05 21:29 UTC (History)
5 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 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.