Closed Bug 977845 Opened 11 years ago Closed 6 years ago

Australis: flickering of bookmark in bookmarks toolbar when exiting customize mode

Categories

(Firefox :: Toolbars and Customization, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: soeren.hentzschel, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [Australis:P4])

Attachments

(1 file)

Attached video bookmarks.mov
Hi! I attached a short .mov-file (8 seconds). Please look at the end of the bookmarks toolbar after closing the customization tab. Do you see the additional bookmark for a very short moment?
Blocks: 873060
Whiteboard: [Australis:P?]
I don't think this is fixable without rearchitecturing how the bookmarks toolbar overflow works. It relies on overflow events, and to get those, it needs to just display everything. Marco, is that impression correct?
Flags: needinfo?(mak77)
Summary: Australis: flickering of bookmark in bookmarks toolbar during customization mode transition → Australis: flickering of bookmark in bookmarks toolbar when exiting customize mode
yes, and honestly I don't see how we may rearchitecture overflow without using overflow events... What we may do here is add an overflow buffer that collects overflow/underflow events and delays them for a while to avoid flickering, by killing overflow/underflow that happen in a short timeframe.
Flags: needinfo?(mak77)
though, in this case we show elements and then we hide them, so that wouldn't work. we could hide buttons so that they take up the space for overflow to happen, and then unhide them later
(In reply to Marco Bonardo [:mak] from comment #3) > though, in this case we show elements and then we hide them, so that > wouldn't work. we could hide buttons so that they take up the space for > overflow to happen, and then unhide them later Fair point, we could get the 'unitialized' state have visibility: hidden on all the items instead of nothing, and presumably the overflow event would still happen?
it's worth a try...
Whiteboard: [Australis:P?] → [Australis:P4]
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: