[Sway] DataTransfer.dropEffect does not change when holding ctrl or shift
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: accounts+mozilla-bugzilla, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0
Steps to reproduce:
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0
OS: Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0 (I'm using Gentoo's prebuilt firefox, firefox-bin).
Backend: Wayland (Sway), MOZ_ENABLE_WAYLAND=1 is set.
- Go to https://jsfiddle.net/1z3k58pc/
- Drag the element at the top to the drop zone, don't drop it yet
- Hold ctrl to set the dropEffect to "copy" (I have also tried using alt and shift, and ctrl + shift, with the same result)
- Drop the element over the drop zone.
Actual results:
The element is moved to the drop zone. This is the case as the dropEffect element is set to "move".
Expected results:
Holding ctrl should set the dropEffect to "copy", causing a copy of the element to be created in the drop zone.
This behavior occurs on an X11 build of Firefox (holding ctrl), and on an OSX build of firefox (holding alt). However, it seems to be broken on wayland.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Can you try nested mutter compositor?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_different_Wayland_compositor
Thanks.
Reporter | ||
Comment 3•1 year ago
|
||
Firefox behaves as expected in mutter, so this seems to be a sway/wlroots bug. I will report it there. Thanks for the pointer.
Reporter | ||
Comment 4•1 year ago
|
||
For anybody that stumbles upon this in the future, here is the relevant sway bug report: https://github.com/swaywm/sway/issues/8219
Updated•1 year ago
|
Description
•