Bug 434674 - [Wayland] Drag-and-drop image from app window to Firefox does not work
Summary: [Wayland] Drag-and-drop image from app window to Firefox does not work
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-20 14:31 UTC by Nate Graham
Modified: 2021-11-03 15:39 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2021-03-20 14:31:34 UTC
Everything KDE from git master on top of openSUSE Tumbleweed, using the Plasma Wayland session


STEPS TO REPRODUCE
1. Open Firefox and navigate to a page with a UI element that can accept image drags, such as the Pull/Merge Request submission page in GitLab or GitHub
1. Take a screenshot with Spectacle
2. Drag the screenshot from Spectacle's main window into the drop area in Firefox


OBSERVED RESULT
The cursor shows a "no drops allowed" shape and the image is not uploaded


EXPECTED RESULT
The cursor shows a "drops are accepted" shape and the image gets uploaded


ADDITIONAL INFORMATION
If I save the image from Spectacle on disk, and them drag it from Dolphin, the drag is accepted (though the cursor shape is still wrong, which is probably a separate bug). So it seems that something about the way Spectacle is formatting the drag data is causing the problem, because it works from Dolphin.
Comment 1 Patrick Silva 2021-10-30 15:32:16 UTC
I'm unable to reproduce with Firefox 93 (tested on Xwayland and Wayland)
on neon unstable.
Comment 2 Nate Graham 2021-11-03 15:39:17 UTC
Same, seems to be working now. Thanks for following up!