Open Bug 1412266 Opened 7 years ago Updated 2 years ago

cannot drag item pinned to overflow into part of valid toolbar space

Categories

(Firefox :: Toolbars and Customization, defect, P3)

defect

Tracking

()

Tracking Status
firefox56 --- unaffected
firefox57 --- wontfix
firefox58 --- affected

People

(Reporter: dietrich, Unassigned)

References

Details

58.0a1 (2017-10-26) (64-bit) Mac OS X


See the movie: https://gfycat.com/gifs/detail/UnfitPreciousFlyinglemur


If instead I first drop it in one of the spaces where it allows me to, I can *then* move it to the far left position.

The bug is that I cannot move it from the overflow menu directly to the far left position.
This is happening because when the drag starts we measure the size of the item and that size is used to calculate where the drop position is. Since items in the overflow menu are much wider, the size used doesn't appear to fit in many places within the navigation toolbar. This is why dragging works with the item after it has been placed in the navigation toolbar.
Priority: -- → P3
This is related to, but not quite the same as, bug 1393512 (which is about wide items being hard to drag in general).

I thought that on dragover we tried to temporarily insert in the new container to try and measure the size an item will have in the new container, which should avoid the scenario in comment #1. I don't know why it's not working off-hand.
See Also: → 1393512
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.