Closed Bug 1884243 Opened 1 year ago Closed 1 year ago

[wayland] Dragging multiple selected tabs out of the tab bar does not create a new window for most drop locations

Categories

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

Firefox 123
defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox-esr115 --- disabled
firefox123 --- wontfix
firefox124 --- wontfix
firefox125 --- wontfix
firefox128 --- fixed

People

(Reporter: moritz1000, Assigned: stransky)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0

Steps to reproduce:

  1. Use Linux + Wayland
  2. Shift mouse click to select several tabs
  3. Hold left mouse click and drag the tabs towards the center of the current Firefox window.

Actual results:

Nothing happens.
When releasing left mouse click the tabs just return/stay where they were before, in the same Firefox Window

Expected results:

Firefox should have spawned a new window with the selected tabs.

ADDITIONAL INFORMATION:

  1. drag and drop of only one tab inside the Firefox window works in Wayland: a new Firefox window spawns
  2. drag and drop of several tabs while moving them OUTSIDE of the Firefox window (so towards empty space) does work in Wayland: a new Firefox window spawns with the selected tabs
  3. On X11 drag and drop of several tabs worked in both cases: moving the selected tabs outside of the Firefox window / moving them inside of Firefox

A short video showcasing the bug on Linux / Wayland:

  1. drag & drop SEVERAL tabs inside Firefox: does NOT work
  2. drag & drop ONE tabs inside Firefox: does work
  3. drag & drop SEVERAL tabs outside Firefox: does work

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.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: linuxdad, wayland
Priority: -- → P3

(In reply to moritz1000 from comment #0)

  1. drag and drop of several tabs while moving them OUTSIDE of the Firefox window (so towards empty space) does work in Wayland: a new Firefox window spawns with the selected tabs

Dragging multiple selected tabs does not create a new window for me when dropping outside the window with Nightly 127.0a1 (2024-04-28) on Ubuntu 24.04 (Wayland). It works with XWayland when dropped both inside and outside the window.

There are a few small areas where it works, dropping slightly below the address bar, below the bookmarks bar or above the tab bar successfully creates a new window.

Summary: drag & drop of several tabs to create a new window only works when dragging the tabs outside the Firefox window on Wayland, while it also worked "inside" on X11 → [wayland] Dragging multiple selected tabs out of the tab bar does not create a new window for most drop locations

It's because "application/x-moz-internal-item-list" mime is used for multiple tab drop.

Assignee: nobody → stransky
Status: NEW → ASSIGNED
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/711437c375a2 [Wayland] Flip GTK_DRAG_RESULT_ERROR to GTK_DRAG_RESULT_NO_TARGET on Wayland as Gecko expects it r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
QA Whiteboard: [qa-128b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: