Open Bug 1954817 Opened 1 month ago Updated 1 month ago

Allow dragging the window from empty areas of the sidebar or vertical tabstrip

Categories

(Firefox :: Sidebar, enhancement)

Desktop
All
enhancement

Tracking

()

People

(Reporter: jhirsch, Unassigned)

References

Details

(Whiteboard: [fidefe-sidebar])

I often use the vertical tabs in expanded mode, and it would be really convenient to be able to drag the window using empty areas of the sidebar / vertical tabstrip

So on slack I said this was easy... and I stand by that in the non-vertical-tabs case.

Basically all it takes is adding -moz-window-dragging: drag to the .wrapper and -moz-window-dragging: no-drag to .actions-list.

The downside of this in the vertical tabs case is that there some gaps between pinned tabs and normal tabs and between overflown tabs and the new tab button, which are also draggable.

It seems straightforward that we would just mark the entirety of the overflown tabstrip as non-draggable, which might take care of the second bit there.

But I don't know what to do about the gap between the pinned tabs and normal tabs. All we really need to do is communicate to layout that it is not draggable, so we can even use some kind of absolutely/relatively positioned element whose only purpose is to do that bit of communication. But I didn't see an easy way to have that element have the right size and not interfere with any other tabbrowser bits.

Of course we could decide that that is an acceptable trade-off... but I'm not sure about that.

Whiteboard: [fidefe-sidebar]

Some loose relationship with bug 1921959: if we change the clickable area of the new tab button, some of the issues in comment 1 reduce a little.

OS: Unspecified → All
Hardware: Unspecified → Desktop
See Also: → 1921959
You need to log in before you can comment on or make changes to this bug.