Closed
Bug 942600
Opened 12 years ago
Closed 11 years ago
Australis: dropping new bookmarks on the Bookmarks Toolbar Items when in the navbar triggers overflow
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
VERIFIED
FIXED
Firefox 30
People
(Reporter: contact, Assigned: mconley)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [Australis:P2])
Attachments
(2 files)
|
504.95 KB,
video/ogg
|
Details | |
|
2.04 KB,
patch
|
mak
:
review+
Gavin
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Australis is fantastic, but I encountered a bug.
I always customise the interface in the first place by moving the Bookmarks Toolbar Items in the main toolbar, right close to the Location Bar where the Search Box, removed, was sitting. It allows to gain some space and is quite a comfortable place to live for a Bookmarks Toolbar.
There's a folder in the Toolbar, and I add bookmarks in it by drag&dropping either the tab or the favicon of the appreciated webpage right into it.
However, with the current Nightly (number 28), the Bookmarks Toolbar Items have a tendency to fold on itself when doing so, becoming a not really useful sub-menu with a link to the Places window, and not really welcoming to incoming dropped bookmarks.
See attached video for an illustration.
Comment 1•12 years ago
|
||
We should figure out how to make the navbar more robust wrt these kinds of changes. Not really sure how to just yet; there's an overflow listener on the navbar's customization target, and I'm not sure why overflow events happen in this case - clearly, the address field can contract more and the addition of a single item shouldn't actually trigger overflow.
Blocks: australis-merge, australis-cust
Whiteboard: [Australis:P2]
Comment 2•12 years ago
|
||
See also bug 895936 (which I recently couldn't reproduce, so closed already, but is likely a similar kind of issue) and bug 940027 and so on.
Summary: Australis: Bookmarks Toolbar Items disappearing when drag&dropping if they're in a custom position → Australis: dropping new bookmarks on the Bookmarks Toolbar Items when in the navbar triggers overflow
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•12 years ago
|
OS: Linux → All
Hardware: x86 → All
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [Australis:P2] → [Australis:P2][investigate-fix-on-aurora]
| Assignee | ||
Comment 3•11 years ago
|
||
I had a small window of time to debug this - and it looks like it has to do with setting -moz-margin-start on the drop indicator. If we just translate the indicator and un-collapse it, the problem seems to go away...
Comment 4•11 years ago
|
||
(In reply to Mike Conley (:mconley) from comment #3)
> I had a small window of time to debug this - and it looks like it has to do
> with setting -moz-margin-start on the drop indicator. If we just translate
> the indicator and un-collapse it, the problem seems to go away...
This is super-useful. We should do this. I poked at this and could never figure it out. Mike, want to work this out into a patch? :-)
| Assignee | ||
Comment 5•11 years ago
|
||
I'll tentatively take this and see what I can pump out this weekend.
Assignee: nobody → mconley
| Assignee | ||
Comment 6•11 years ago
|
||
Wasn't able to get anything out for this last weekend, but I'm still looking at this in between customize mode transition smoothness bugs.
| Assignee | ||
Comment 7•11 years ago
|
||
Finally got some time between perf try pushes to work on this.
I think we're hitting layout funk what with the tricky hide-y show-y behaviour of the drop indicator. That funk is interacting poorly with our overflow toolbar. That's about as precise as I can get.
Anyhow, this patch seems to solve the problem. I just kinda splatted this one out, but I'll give it a thorough once-over tomorrow and then ask for review.
| Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8382686 [details] [diff] [review]
Patch v1
Any thoughts on this, Marco? Or is this more in Mano's domain?
Attachment #8382686 -
Flags: review?(mak77)
Comment 9•11 years ago
|
||
Comment on attachment 8382686 [details] [diff] [review]
Patch v1
Review of attachment 8382686 [details] [diff] [review]:
-----------------------------------------------------------------
this has a similar root cause as bug 970013, something enlarges or uncollapses and that causes an overflow that sucks up stuff into the overflow panel... surely figuring a solution to the main issue here would be better than having to workaround it everywhere, also cause we will never be able to workaround each single add-on.
Though in this case I like the fix, so no reason to not take it. I tested it on Windows, please ensure it works as expected on Mac and Linux.
Attachment #8382686 -
Flags: review?(mak77) → review+
| Assignee | ||
Comment 10•11 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #9)
> Comment on attachment 8382686 [details] [diff] [review]
> Patch v1
>
> Review of attachment 8382686 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> this has a similar root cause as bug 970013, something enlarges or
> uncollapses and that causes an overflow that sucks up stuff into the
> overflow panel... surely figuring a solution to the main issue here would be
> better than having to workaround it everywhere, also cause we will never be
> able to workaround each single add-on.
True. :/
>
> Though in this case I like the fix, so no reason to not take it. I tested
> it on Windows, please ensure it works as expected on Mac and Linux.
Tested on OS X and Linux, and it fixes it across the board.
Thanks Marco!
| Assignee | ||
Comment 11•11 years ago
|
||
Whiteboard: [Australis:P2][investigate-fix-on-aurora] → [Australis:P2][fixed-in-fx-team]
Comment 12•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P2][fixed-in-fx-team] → [Australis:P2]
Target Milestone: --- → Firefox 30
| Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 8382686 [details] [diff] [review]
Patch v1
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
Australis and the overflowing toolbar.
User impact if declined:
Users who have moved the Bookmarks Toolbar Items into their nav-bar will have that item disappear into the overflow panel when attempting to drag a bookmark into the item.
Testing completed (on m-c, etc.):
Lots of local testing, and several days baking on m-c.
Risk to taking this patch (and alternatives if risky):
Low - this patch _does_ introduce bug 979456, but there's a patch in there that will be requested for uplift as well that fixes the problem.
String or IDL/UUID changes made by this patch:
None.
Attachment #8382686 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #8382686 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
| Assignee | ||
Comment 14•11 years ago
|
||
status-firefox29:
--- → fixed
Updated•11 years ago
|
status-firefox30:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•