When dragging a tab to pin it, transform full size tab to pinned size
Categories
(Firefox :: Sidebar, enhancement, P2)
Tracking
()
People
(Reporter: nsharpley, Assigned: nsharpley)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fidefe-sidebar])
Once the dragged tab enters the pinned tab area, it should shrink to pinned tab size as per spec.
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
•
|
||
This seems pretty straight forward EXCEPT that simply transforming the size won’t be enough - for multiselected tabs, the tabs will need to translate to be beside the dragged tab as they shrink/expand. This might involve some more math and makes multiselected dragged tabs from the pinned grid complicated.
Alternatively, I have talked to Yulia about other possibilities, such as stacking the multiselected tabs on drag instead of moving them adjacent to each other (other browsers do this) - this would make things easier and prettier for when there are MANY selected dragged tabs, when the multiselected dragged tabs need to wrap a row in the grid, and when transforming the size when dragging between pinned and unpinned containers. I think this would be a bigger task to rewrite the animations for the background tabs though, so as only to take up the space of one tab, but food for thought before tackling this!
NI-ing for thoughts on the possibility of stacking multiselected tabs on drag? This would be a good precursor to tackling this bug/feature.
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Oh, dear, I missed this needinfo. I'll think on it some more, but my initial reaction is that any of these approaches would have their own complications. I think rerunning moveTogetherSelectedTabs to recalculate the movingTabSize/middleItemSize might work out fine.
Stacking/combining the dragged tabs is interesting. Safari appears to hide all selected tabs other than the dragged tab and redistributes the tab strip space. I'm using Safari 17.6 and I see bad behavior when I have 2 pinned tabs + 1 unpinned tab, select both pinned tabs, then drag the pinned tabs to the right. The unpinned tab takes on a broken hybrid appearance between a pinned and unpinned tab. We'll have plenty of math and testing to do either way :)
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Description
•