Open Bug 1832054 Opened 1 year ago Updated 1 year ago

[Wayland] Cancelling tab dragging by pressing Esc still creates a new window

Categories

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

Firefox 115
defect

Tracking

()

Tracking Status
firefox115 --- affected

People

(Reporter: ke5trel, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

STR:

  1. Start with MOZ_ENABLE_WAYLAND=1 on Ubuntu 23.04.
  2. Drag a tab out of the tab strip and over the same window.
  3. Press Esc key to cancel drag.

Expected:
Drag is cancelled without dropping.

Actual:
The dragged tab shows the cancel animation but still performs a drop and opens in a new window.

Does not happen with XWayland.

Attached file tab-drag-cancel-log.txt (deleted) —

Log created with MOZ_LOG=Widget:5,WidgetDrag:5.

Yes, this is somehow expected. When Wayland D&D ends outside of any window which accepts the D&D the operation is canceled automatically. We use a workaround to create new windows when D&D ends outside of main Firefox window and always create a new window in that case.

I don't think it's actionable unless the D&D protocol is changed somehow. AFAIK Chrome (OS?) has protocol extension for it:
https://bugs.chromium.org/p/chromium/issues/detail?id=1099418

Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: