Make "List all tabs" item drag-reorder-able
Categories
(Firefox :: Tabbed Browser, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Steps to reproduce:
- Open 20 tabs: https://en.wikipedia.org/wiki/0 to https://en.wikipedia.org/wiki/9 , twice
- click "List all tabs" drop down
- Drag "3 - Wikipedia" and drop below "6 - Wikipedia"
Expected result:
The tab for "3 - Wikipedia" is moved after "6 - Wikipedia"
Actual result:
Nothing happens
The tab list is handy for locating the tab, and making it possible to reorder within it would be handy.
Bug 506195 is related, that it's about drag/drop between the "List all tabs" list and the tab bar.
This bug is drag/drop within the "List all tabs" list.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
The WIP patch above adds support for drag-and-drop within the "List all tabs".
Dragging the item outside of the list does nothing, because the data transfer has no generic data type, such as text/x-moz-text-internal
.
This is intentional for this specific change, because setting it results in duplicating the tab if it's dropped onto the tab bar.
To properly support drag-and-drop between tab bar and tab list, both side needs to handle data type each other.
Assignee | ||
Comment 3•3 years ago
|
||
This becomes really necessary for me when handling many bugs at once (e.g. bug 1608279 and dependencies)
Assignee | ||
Comment 4•3 years ago
|
||
The following works:
- When tab list item is dragged, start the actual tab's drag, with special flag
- Accept the tab drag in the tab list
- Tweak the tab container to receive the tab drag with the special flag
It achieves:
- tab list item can be reordered within it
- tab list item can be dragged to tab bar to reorder
- tab list item can be detached by dragging to empty area
So far, given the tab list is automatically closed by clicking others, no need to accept drop from outside of the tab list
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
|
||
Backed out for causing failures at browser_tabdetach.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/b21346d89c3d8fed117420e780964cf51a723d96
Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=f47d9c27992db9424ae386932210a5c73c973289
Failure log: https://treeherder.mozilla.org/logviewer?job_id=388973595&repo=autoland&lineNumber=4671
Comment 8•2 years ago
|
||
bugherder |
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•3 months ago
|
Description
•