Closed Bug 785489 Opened 12 years ago Closed 11 years ago

Work - Metro Firefox tab bar should be scrollable with the mouse

Categories

(Firefox for Metro Graveyard :: General, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bbondy, Assigned: mbrubeck)

References

Details

(Whiteboard: feature=work [metro-preview][completed-elm])

Attachments

(3 files)

Currently there is no way to get to your tabs other than keyboard shortcuts.  
Previews are only visible for the first 5 tabs. 

Maybe there should be a little left arrow and right arrow indicator to scroll through the tabs.  If so where should they be positioned? Together on the right hand side or like on Desktop with the left button on the left side of the window and the right button on the right side of the window?

CC'ing yuan for feedback.
Assignee: nobody → mbrubeck
You can already scroll the tab bar to see more tabs, but only in touch mode (or with metro.debug.treatmouseastouch).  We need to add a way to scroll it with the mouse.  Mouse wheel support would be good too.
Summary: Metro Firefox tab bar should support more tabs than can be shown → Metro Firefox tab bar should be scrollable with the mouse
Yuan, should we display scroll arrows next to the tab bar when a mouse is in use?  If so, can we get some arrow graphics to use?
Keywords: uiwanted
Based on the conversation we had, we will use arrow icons when mouse is in use. 
CCing Stephen to get graphics.
The arrow icon should have 4 states: 
Normal(no ring)
Disable(no ring. Used when there is no more tab to scroll)
Hover-over, Press-down (de-emphasized ring should be used, the same with the existing icons in app bar)
Attached image Arrow icons [temp]
Temporary icons to support implementation. 
Needs Stephen to review and produce final version.
Depends on: 794985
Attached patch patchSplinter Review
This patch adds basic functionality: The arrow buttons appear when the mouse is in use and disappear when touch input is in use (this depends on bug 794985), and they can be used to scroll the tab bar.

This uses the temporary artwork from Yuan's attachment. We probably want to adjust the layout a bit once we get the final graphics.
Attachment #665581 - Flags: review?(fryn)
Comment on attachment 665581 [details] [diff] [review]
patch

This works for me. Fryn might have additional comments but approving for now so we can get it into tonight's build.

I think a transition would be better for hide/display rather than popping these in, they tends to jar the tab bar. Maybe file a follow up on that.
Attachment #665581 - Flags: review?(fryn) → review+
Also, image file is missing from the posted patch.
https://hg.mozilla.org/projects/elm/rev/7d241895cfd9

Let's file follow-ups to tweak the design further.
Status: NEW → ASSIGNED
Keywords: uiwanted
Whiteboard: metro-preview → [metro-preview][completed-elm]
Comment on attachment 665581 [details] [diff] [review]
patch

Review of attachment 665581 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/metro/base/content/browser.xul
@@ +121,5 @@
>  
>    <keyset id="mainKeyset">
>      <!-- basic navigation -->
>      <key id="key_back" keycode="VK_LEFT" command="cmd_back" modifiers="control"/>
> +    <key id="key_back" keycode="VK_LEFT" command="cmd_back" modifiers="control"/>

Was this intentional?
(In reply to Frank Yan (:fryn) from comment #10)
> Was this intentional?

No. Removed in a followup: https://hg.mozilla.org/projects/elm/rev/7671b1b145ac
Blocks: 797027
Product: Firefox → Firefox for Metro
Summary: Metro Firefox tab bar should be scrollable with the mouse → Work - Metro Firefox tab bar should be scrollable with the mouse
Whiteboard: [metro-preview][completed-elm] → feature=work [metro-preview][completed-elm]
Resolving bugs in the Firefox for Metro product that are fixed on the elm branch.  Sorry for the bugspam.  Search your email for "bugspam-elm" if you want to find and delete all of these messages at once.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 831931
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: