Closed Bug 1635757 Opened 5 years ago Closed 5 years ago

[Wayland] Dragging and dropping tab outside application windows does not create new window for tab sometimes

Categories

(Core :: Widget: Gtk, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox87 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Follow up from https://bugzilla.mozilla.org/show_bug.cgi?id=1527976#c47
The D&D still fails sometime.

See Also: → 1527976

New log with your patch applied.

On first drag&drop attempt I tried to drag a tab on some free space on the right of the window which failed. The second attempt was a drag&drop to the bottom again which seems to work reliable.

Pushed by nbeleuzu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/243019d57985 [Wayland] Provide more logging to nsDragService, r=jhorak

Thanks. From the log it looks like drag service part works as expected, I'd need to look at some D&D internals.

Any updates here? I'm still having the same bug. And I don't know if it's related, but I also can't drag bookmarks in the bookmark manager to change their position.

Looking at it. Seems to be a race condition when wayland quits the D&D before Firefox manages to get the result so it's canceled from the compositor side.

Priority: -- → P2
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/1462ad0a83df [Linux] Remove nsDragService logging module and log D&D with WidgetDrag log module, r=jhorak
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/3a1c138bb7e4 [Wayland] Set MOZ_GTK_DRAG_RESULT_NO_TARGET in invisibleSourceDragFailed, r=jhorak

Should be fixed now, Thanks.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
See Also: → 1622107

Hi there, this is my first time reporting a bug, so do let me know if this isn't the right place.

I'd like to point out that I'm still having this issue in firefox on Ubuntu (Linux 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021).

Name Firefox
Version 89.0.2
Build ID 20210622155641

It seems like dragging with the mouse works as long as windows are not maximized, but fails once windows are maximized. I should point out that I added the following environment variable to my ~/.profile file to enable touch in firefox:

export MOZ_ENABLE_WAYLAND=1

bug 1719894 is about remaining problems.

See Also: → 1719894
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: