Open Bug 1874229 Opened 9 months ago Updated 8 months ago

Direct drag&drop from inactive tab is not working

Categories

(Firefox :: Tabbed Browser, defect)

Firefox 121
defect

Tracking

()

UNCONFIRMED

People

(Reporter: dreamer8, Unassigned, NeedInfo)

Details

Steps to reproduce:

To reproduce:

  • use about:config option browser.sessionstore.restore_on_demand (it should be enable by default in portable version)
  • open few tabs
  • restart Firefox
  • directly click and drag&drop any inactive tab to other place

Actual results:

It does not work, tab starts loading, but mouse cursor is at the other place without the tab.

Expected results:

Direct drag&drop should work also for inactive tabs.

Edge and Chrome have similar option, sleeping tabs, and direct drag&drop from such inactive tab works good in both, it's broken only in Firefox.

Firefox 121.0.1 (64-bit), Windows 10 22H2 64-bit.

Component: Untriaged → DOM: Copy & Paste and Drag & Drop
Product: Firefox → Core

I think this is about moving inactive Firefox tabs, not drag and drop on the webpage itself, so I'm going to move this.

Component: DOM: Copy & Paste and Drag & Drop → Tabbed Browser
Product: Core → Firefox

Can you please clarify what exactly do you mean by "directly click and drag&drop any inactive tab to other place"? Do you mean dragging from the Firefox tab bar, like you are trying to move a tab into a new Firefox window, or from within the webpage itself somehow? Thanks.

Flags: needinfo?(dreamer8)

(In reply to Andrew McCreight [:mccr8] from comment #2)

Can you please clarify what exactly do you mean by "directly click and drag&drop any inactive tab to other place"? Do you mean dragging from the Firefox tab bar, like you are trying to move a tab into a new Firefox window, or from within the webpage itself somehow? Thanks.

I mean drag&drop, or move, inactive tab within the same tab bar, e.g. left click and hold left mouse button on tab 2, move to position between tabs 4 and 5 while still holding left button and then release left button.

Hope it's clear now, just the tab must be inactive, about:config option from steps above must be used.

Flags: needinfo?(dreamer8)

I am not able to reproduce the issue on Win10x64 using Firefox build 121.0.1 using the steps from description.

Dreamer8, on about:config option 'browser.sessionstore.restore_on_demand' is enable by default and its value does not change right? Also does this happen with a new and empty profile? See https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-create-a-new-firefox-profile? Thanl you.

Flags: needinfo?(dreamer8)

(In reply to Monica Chiorean from comment #4)

I am not able to reproduce the issue on Win10x64 using Firefox build 121.0.1 using the steps from description.

Dreamer8, on about:config option 'browser.sessionstore.restore_on_demand' is enable by default and its value does not change right? Also does this happen with a new and empty profile? See https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-create-a-new-firefox-profile? Thanl you.

Option browser.sessionstore.restore_on_demand is set to true - but it's default value probably only in portable version, to reproduce just use value true and restart Firefox with multiple tabs opened.

Tested now also in the latest nightly version 123.0a1 (2024-01-17) (64-bit), default settings, no extensions.

I got it, you must drag from tab icon!

Steps to reproduce in the latest nightly version:

  • set option browser.sessionstore.restore_on_demand to true
  • enable option "Open previous windows and tabs" in Settings - General
  • open few tabs
  • restart Firefox
  • left click and hold icon for any inactive tab, while holding, move a cursor left or right, to change position of the tab within the same tab bar, same Firefox window

Result - tab is not moved.

With my configuration it's broken also when clicking the first letter of the tab, but I'm using narrow tab size, option browser.tabs.tabMinWidth is set to 32, in this case I can't directly drag tab from other position, just from icon or first letter, but it's both broken.

Related bug:

Tab X close button moves to wrong position

Flags: needinfo?(dreamer8)

The severity field is not set for this bug.
:dao, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)
You need to log in before you can comment on or make changes to this bug.