Tab reflow / bookmarks toolbar could be a little smoother when resizing

NEW
Unassigned

Status

()

defect
13 years ago
12 years ago

People

(Reporter: marcia, Unassigned)

Tracking

2.0 Branch
PowerPC
macOS
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Seen testing Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20060918 Firefox/2.0.

STR:

1. Open a bunch of tabs and begin vigorously resizing the window.
2. Receive the attached screenshot

I showed this to seth, I think the behavior could be improved somewhat for the end user.  Could we reflow on the fly so that we don't see gaps as show in the screenshot?
You can't see all the tabs I have open, but there are more than 60-70 tabs open at this point when I am trying to resize the window.
thanks for the screen shot and the bug, marcia.

in the screen shot, I see that the bookmarks overflow chevron has also not updated on resize.

perhaps we need an additional handler (for the tab case, in scrollbox.xml) for the "resize" DOMEvent, upon which we would call ensureElementIsVisible(), similar to what we do in the "underflow" handler?

http://lxr.mozilla.org/mozilla1.8/source/toolkit/content/widgets/scrollbox.xml#166

Asaf, what do you think?
Er? AFAIR we do have a resize handler in tabbrowser.xml, and the issue here is "fixed" once you stop resizing the window, right?

In that case, the reason you see this is because the resize event isn't "live", i.e. its only dispatched once you stop resizing the window. I don't know of a any JS way to fix this...
> Er? AFAIR we do have a resize handler in tabbrowser.xml

yes, we do.  (See http://lxr.mozilla.org/mozilla1.8/source/toolkit/content/widgets/tabbrowser.xml#2685)

> and the issue here is "fixed" once you stop resizing the window, right?

yes, the issues is "fixed" once you stop.

> In that case, the reason you see this is because the resize event isn't"live",
> i.e. its only dispatched once you stop resizing the window. I don't know of a
> any JS way to fix this...

I don't know how to do this, either. 

note, the personal toolbar has the same issue (as evident in marcia's screen shot), so I've updated the summary.
Summary: Tab reflow could be a little smoother → Tab reflow / bookmarks toolbar could be a little smoother when resizing
You need to log in before you can comment on or make changes to this bug.