Closed
Bug 497973
Opened 16 years ago
Closed 16 years ago
tab bar overflow animation should use the scroll arrow instead of the all tabs button
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
VERIFIED
FIXED
Firefox 3.7a1
People
(Reporter: dao, Assigned: dao)
References
Details
(Whiteboard: [litmus-3.7])
Attachments
(1 file, 1 obsolete file)
|
26.22 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
The scroll arrow seems like a more direct way to access the background tab, especially since the tab will be scrolled into view as far as possible before the overflow animation is invoked (bug 412666).
There's Mac-specific code for animating the scroll arrow, but it's unused.
Tryserver builds:
https://build.mozilla.org/tryserver-builds/dgottwald@mozilla.com-try-86b09f18496/
Attachment #383008 -
Flags: ui-review?(faaborg)
Comment 1•16 years ago
|
||
Comment on attachment 383008 [details] [diff] [review]
patch
Personally I think I'm in favor of always opening to the right of the tab that spawned the new tab, so we wouldn't actually need the animation. Beltzner writes in his blog post
>When the user explicitly asks for a new tab, it’s impossible to tell if it’s for >a task that’s related to the current activity or for a new task; as such, we >place it at the end of the tabstrip.
If the link was placed on the page the user is looking at, doesn't that implicitly make it related to the current activity? I'm trying to think of an reasonable example where one page could spawn a number of alternate and unrelated activities, but can't think of anything yet.
>The scroll arrow seems like a more direct way to access the background tab
I'm not sure the scroll button is necessarily a faster way to access the tab that loaded off screen. For instance if you have >30 tabs open, the scroll animation to get to the far right will end up taking a lot longer than clicking on the all tabs button and then selecting the bottom entry.
Attachment #383008 -
Flags: ui-review?(faaborg) → ui-review-
Comment 2•16 years ago
|
||
Forgot to link to the post in my last comment http://beltzner.ca/mike/2009/01/11/a-small-change-to-tab-ordering-coming-soon-to-trunk/
| Assignee | ||
Comment 3•16 years ago
|
||
(In reply to comment #1)
> Personally I think I'm in favor of always opening to the right of the tab that
> spawned the new tab, so we wouldn't actually need the animation. Beltzner
> writes in his blog post
That doesn't necessarily block this bug. This change can happen now, and the other change can happen whenever it's ready.
As someone who has always 30 to 50 tabs in one window, I find the scroll buttons much easier to use than the all-tabs button (regardless of browser.allTabs.previews) when I know the position of the tab (which I do in this case; and a triple click will bring directly to the last tab).
Another reason for this change is that if we want to make the tab strip, the new-tab button and all-tabs button customizable toolbar items, the all-tabs button needs to be decoupled from the tab strip.
| Assignee | ||
Comment 4•16 years ago
|
||
(In reply to comment #3)
> As someone who has always 30 to 50 tabs in one window, I find the scroll
> buttons much easier to use than the all-tabs button (regardless of
> browser.allTabs.previews) when I know the position of the tab
Btw, the old all-tabs menu (browser.allTabs.previews = false) actually has its own overflow facility, so if you have many tabs and want to get to the last one, there's a good chance that you'll have to scroll within the popup. -> Fail.
| Assignee | ||
Comment 5•16 years ago
|
||
Comment on attachment 383008 [details] [diff] [review]
patch
requesting a second review based on my previous two comments
Attachment #383008 -
Flags: ui-review- → ui-review?(faaborg)
Comment 6•16 years ago
|
||
>Btw, the old all-tabs menu (browser.allTabs.previews = false) actually has its
>own overflow facility, so if you have many tabs and want to get to the last
>one, there's a good chance that you'll have to scroll within the popup. ->
>Fail.
Yeah, what makes this decision complex is that is a range of tabs where the tab strip is overflowing, but the all tabs drop down is not (because tabs are wider than they the menu items are tall).
Is there a way for us to control the overflow on the all tabs drop down menu so that it would be scrolled to the bottom when accessed right after a notification? (ideally also with a styling similar to a Windows task bar item trying to get the user's attention).
I think overall this would be the fastest way for the user to get to the tab (outside of not placing it at the very end of the tab strip to begin with).
| Assignee | ||
Comment 7•16 years ago
|
||
(In reply to comment #6)
> Is there a way for us to control the overflow on the all tabs drop down menu so
> that it would be scrolled to the bottom when accessed right after a
> notification? (ideally also with a styling similar to a Windows task bar item
> trying to get the user's attention).
"Right after" could be time based or action based, but it seems that we could miss cases and get false positives either way.
I think the legacy popup has issues in a way that makes it not worth messing around with. Rather than trying to guess and auto-scroll, the premise should be that there is no extra level of overflowing in the all-tabs UI.
> (outside of not placing it at the very end of the tab strip to begin with).
... another reason not to overengineer this.
Comment 8•16 years ago
|
||
>... another reason not to overengineer this.
sorry, really just trying to figure out which button is optimal since we are going to be giving the user a clear suggestion of how they should get to their tab (and it seems like logically one of them should actually be better than the other).
Since the fastest way to access the new tab will eventually be through the new all tab interface that you are working on, I guess I would rather not switch the notification now and then just have to switch it back again. I would imagine that users wouldn't be overly confused even if we did do this, but we might as well keep it all consistent and not have the UI bounce back and forth if we can avoid it.
Updated•16 years ago
|
Attachment #383008 -
Flags: ui-review?(faaborg) → ui-review-
| Assignee | ||
Comment 9•16 years ago
|
||
The all tabs interface I worked on is designed to help you find any random tab. It is not optimized for going to the last tab. The fastest way to do that will still be middle-clicking the scroll button or Accel+9.
We would not want to switch back to the old animation, for that reason and for the reason that the all tabs button and the new tab button should eventually be customizable. A user could user could remove it, or he could place it on the toolbar.
| Assignee | ||
Comment 10•16 years ago
|
||
(In reply to comment #9)
> still be middle-clicking the scroll button
sorry, triple-clicking
| Assignee | ||
Comment 11•16 years ago
|
||
(In reply to comment #9)
> The all tabs interface I worked on is designed to help you find any random tab.
> It is not optimized for going to the last tab.
In fact, it's pretty much the worst use case for that UI. You haven't selected that tab before, so you may not recognize the preview, nor the title.
Comment 12•16 years ago
|
||
I was thinking in terms of mouse distance and time for scrolling. If the thumbnail for a new tab always appeared last (it is after all the least most recently used), and it had a sort of notification glow to it (like how windows on the task bar turn orange when they want your attention), then wouldn't that path be more efficient:
1) move mouse to all tabs button
2) visual gaze to locate last item
3) move mouse to last item
since it doesn't have the animated scrolling step #2:
1) move mouse to tab scroll arrow
2) depress tab scroll arrow and wait for tabs strip to scroll all the way (costly if there are a very large number of tabs)
3) move mouse off of tab scroll arrow and a little to the left to select the last tab
Unless of course the plan is for the the all tabs display to have its own overflow capability, in which case I agree that suggesting the user use the tab scroll arrow is the most efficient path.
| Assignee | ||
Comment 13•16 years ago
|
||
Since you mention mouse distance, the last item in the popup isn't necessarily on the lower right, but can just as easily appear on the left. The all tabs button is on the upper right, so the mouse distance randomly varies between moderately long and exceedingly long.
It's also worth mentioning that the window's last tab won't necessarily be the last item in the popup. There was thinking that the all tabs popup should show tabs from all windows, which is still up in the air.
And again, pressing the scroll arrow and waiting isn't the only way to scroll to the end, nor the most efficient one. You could click it repeatedly, use mouse wheel scrolling or hit accel+9. Users with plenty of tabs are more likely to know such shortcuts, fwiw.
| Assignee | ||
Comment 14•16 years ago
|
||
(In reply to comment #13)
> And again, pressing the scroll arrow and waiting isn't the only way to scroll
> to the end, nor the most efficient one. You could click it repeatedly, use
> mouse wheel scrolling or hit accel+9.
Also Ctrl+Tab, assuming it's enabled.
Hinting on the scroll arrow leaves all these options open, as it points to where the tab is, whereas the all-tabs button doesn't point anywhere and focuses on one particular option (an inefficient one, imho).
| Assignee | ||
Comment 15•16 years ago
|
||
Comment on attachment 383008 [details] [diff] [review]
patch
Now that we open background tabs relative, pretty much the only way to get the overflow animation is to open x+2 tabs in the background if x tabs fit on the tab bar. So the scroll button will make the hidden tabs visible one by one, while they aren't easily identifiable in the popup, because they aren't at the end but followed by other tabs.
Attachment #383008 -
Flags: ui-review- → ui-review?(faaborg)
Comment 16•16 years ago
|
||
Comment on attachment 383008 [details] [diff] [review]
patch
This looks good.
I kind of wonder if we would want to scroll the tab strip to show overflow tabs now that the are relative. Although I'm not sure if that would be useful or annoying. Anyway, that would be a follow up bug if we want to consider it.
Attachment #383008 -
Flags: ui-review?(faaborg) → ui-review+
| Assignee | ||
Comment 17•16 years ago
|
||
Attachment #383008 -
Attachment is obsolete: true
Attachment #402541 -
Flags: review?(vladimir)
Comment on attachment 402541 [details] [diff] [review]
updated to trunk
Looks ok to me, but boy do I wish we had a better way to do that animation... having to do string replacement on CSS there is painful!
Attachment #402541 -
Flags: review?(vladimir) → review+
| Assignee | ||
Comment 19•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
Comment 20•16 years ago
|
||
Verified fixed on trunk with builds on all platforms like Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a1pre) Gecko/20091109 Minefield/3.7a1pre ID:20091109034249
I would have to update a litmus test once we start to cover the 1.9.3 branch.
Status: RESOLVED → VERIFIED
Flags: in-litmus?
Updated•16 years ago
|
Whiteboard: [litmus-3.7]
You need to log in
before you can comment on or make changes to this bug.
Description
•