Closed Bug 811417 Opened 12 years ago Closed 12 years ago

Show tab bar after a single edge swipe on Metro (instead of two swipes)

Categories

(Firefox for Metro Graveyard :: Browser, defect, P1)

All
Windows 8.1
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mbrubeck, Assigned: sfoster)

References

Details

(Keywords: polish, ux-efficiency, Whiteboard: [metro-mvp][LOE:1][metro-it1][completed-elm])

Attachments

(1 file, 1 obsolete file)

Currently, a single edge-swipe (or right-click) gesture in Metro Firefox displays the navigation toolbar and appbar. A second swipe displays the tab bar (and hides the appbar), and a third swipe hides all of the toolbars. Requiring two swipes to access the tab bar makes it less discoverable and less convenient. Instead, let's show all three toolbars (navbar, appbar, and tab bar) with a single edge-swipe (or right-click), and hide all three on the second swipe. Note: On the start page (about:start), the navbar should remain visible at all times. For that page, the edge swipe gesture should just toggle the tab bar and appbar.
Whiteboard: [metro-mvp][LOE:1] → [metro-mvp][LOE:1][metro-it1]
I've added a show() method as a counterpart to the dismiss() ContextUI method, and pulled out the state-related side-effects from the relevant methods. The logic is: * context click and edge ui gesture call toggle * if dismiss returns true then we consider the ContextUI to have been in an open/shown state, otherwise we show it. .dismiss() already has conditional logic to keep the navbar visible in start UI, so I /think/ this gives us the right behavior?
Assignee: nobody → sfoster
Attachment #683603 - Flags: review?(mbrubeck)
Comment on attachment 683603 [details] [diff] [review] Modifiy ContextUI.toggle and related functions to implement simpler all-showing or all-hidden logic Review of attachment 683603 [details] [diff] [review]: ----------------------------------------------------------------- This patch looks good. I expect you'll also need to change this test before we check in the patch: http://hg.mozilla.org/projects/elm/file/287843a276d9/browser/metro/base/tests/browser_context_ui.js ::: browser/metro/base/content/browser-ui.js @@ +925,5 @@ > + return; > + } > + // if we're not showing, show > + if (!this.dismiss()) { > + dump("* ContextUI is hidden, show it\n"); Reminder to self: Remove this debugging code before checking in this patch.
Attachment #683603 - Flags: review?(mbrubeck) → review+
This patch includes test changes to assert the new, simple toggle on/off behavior.
Attachment #684386 - Flags: review?(mbrubeck)
Attachment #683603 - Attachment is obsolete: true
Attachment #684386 - Flags: review?(mbrubeck) → review+
Whiteboard: [metro-mvp][LOE:1][metro-it1] → [metro-mvp][LOE:1][metro-it1][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: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
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: