Closed
Bug 879565
Opened 11 years ago
Closed 11 years ago
Change - Scroll bars should act like in other metro apps when using mouse
Categories
(Firefox for Metro Graveyard :: Input, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 25
People
(Reporter: rsilveira, Assigned: jimm)
References
Details
(Whiteboard: [shovel-ready] feature=change u=metro_firefox_user c=content_features p=2)
Attachments
(1 file, 5 obsolete files)
15.04 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
On other metro apps, the scroll bars are hidden until you move the mouse. Then they are visible for a second or so after the mouse is idle.
Bug 636564 can be helpful.
Assignee | ||
Updated•11 years ago
|
Blocks: metrov1triage
Reporter | ||
Updated•11 years ago
|
Whiteboard: [shovel-ready]
Comment 1•11 years ago
|
||
For consideration as a Defect or Change Story.
Assignee | ||
Comment 2•11 years ago
|
||
Pushed a backout of the scrollbars patch to try, doesn't look like it's causing a lot of our failures. Unblocking.
https://tbpl.mozilla.org/?tree=Try&rev=dcc32bf72f3f&showall=1
No longer blocks: 880298
Comment 3•11 years ago
|
||
Hi Asa, would you like this Change Story added to V1?
Flags: needinfo?(asa)
Summary: Scroll bars should act like in other metro apps when using mouse → Change - Scroll bars should act like in other metro apps when using mouse
Updated•11 years ago
|
Whiteboard: [shovel-ready] → [shovel-ready] feature=change u=metro_firefox_user c=content_features p=0
Assignee | ||
Updated•11 years ago
|
Priority: -- → P1
Assignee | ||
Comment 5•11 years ago
|
||
Looks like this will require some gfx work in widget theme code.
Whiteboard: [shovel-ready] feature=change u=metro_firefox_user c=content_features p=0 → [shovel-ready] feature=change u=metro_firefox_user c=content_features p=5
Assignee | ||
Comment 6•11 years ago
|
||
Assignee: nobody → jmathies
Assignee | ||
Comment 7•11 years ago
|
||
Issues to sort out with this patch applied:
1) when panning with touch, we display both the front end scroll indicators (a small gray line) and the native scrollbars. IE will use scroll indicators when users interact with touch, and flip to native scroll bars when users interact with mouse. Technically I think this might be separate bug, I need to test without my wip applied.
2) scrollbar fade out values are too fast for Win8.
Other than these two issues, things look pretty good.
Assignee | ||
Updated•11 years ago
|
Whiteboard: [shovel-ready] feature=change u=metro_firefox_user c=content_features p=5 → [shovel-ready] feature=change u=metro_firefox_user c=content_features p=1
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #768970 -
Attachment is obsolete: true
Assignee | ||
Comment 9•11 years ago
|
||
I think I'm going to ditch the ifdefing here and expose the "mousemove pops the scrollbars" feature to all platforms.
Assignee | ||
Comment 10•11 years ago
|
||
Attachment #769098 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Blocks: metrov1it10
Whiteboard: [shovel-ready] feature=change u=metro_firefox_user c=content_features p=1 → [shovel-ready] feature=change u=metro_firefox_user c=content_features p=2
Assignee | ||
Comment 11•11 years ago
|
||
try push in the works:
https://tbpl.mozilla.org/?tree=Try&rev=1b2f4b89f521
Assignee | ||
Comment 12•11 years ago
|
||
I switched to using a pref for the mousemove displays scrollbars options. This seems to be working pretty well in metro land, and passed try as well.
Attachment #769112 -
Attachment is obsolete: true
Attachment #769235 -
Flags: review?(mstange)
Updated•11 years ago
|
Comment 13•11 years ago
|
||
Comment on attachment 769235 [details] [diff] [review]
metro support v.3
I think nsLookAndFeel metrics would be better suited for this than a pref. Can you convert kScrollbarFadeBeginDelay + kScrollbarFadeDuration to metrics too, so that we don't need ifdefs for them?
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #13)
> Comment on attachment 769235 [details] [diff] [review]
> metro support v.3
>
> I think nsLookAndFeel metrics would be better suited for this than a pref.
> Can you convert kScrollbarFadeBeginDelay + kScrollbarFadeDuration to metrics
> too, so that we don't need ifdefs for them?
Sure, sounds good.
Assignee | ||
Comment 15•11 years ago
|
||
Updated per suggestions.
Attachment #769235 -
Attachment is obsolete: true
Attachment #769235 -
Flags: review?(mstange)
Attachment #769407 -
Flags: review?(mstange)
Assignee | ||
Comment 16•11 years ago
|
||
Attachment #769407 -
Attachment is obsolete: true
Attachment #769407 -
Flags: review?(mstange)
Attachment #769423 -
Flags: review?(mstange)
Comment 17•11 years ago
|
||
Comment on attachment 769423 [details] [diff] [review]
metro support v.4
The interaction between mListeningForMouseMove and mListeningForEvents is a little confusing to me. Maybe it would be clearer to split the Start/StopListeningForEvents methods into Start/StopListeningForScrollAreaEvents and Start/StopListeningForScrollbarEvents and then move the sDisplayOnMouseMove checks outside to the callers of the old Start/StopListeningForEvents methods.
Also, I'm not sure whether it's really worth caching the lookandfeel values.
But r=me either way.
Attachment #769423 -
Flags: review?(mstange) → review+
Assignee | ||
Comment 18•11 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #17)
> Comment on attachment 769423 [details] [diff] [review]
> metro support v.4
>
> The interaction between mListeningForMouseMove and mListeningForEvents is a
> little confusing to me. Maybe it would be clearer to split the
> Start/StopListeningForEvents methods into
> Start/StopListeningForScrollAreaEvents and
> Start/StopListeningForScrollbarEvents and then move the sDisplayOnMouseMove
> checks outside to the callers of the old Start/StopListeningForEvents
> methods.
> Also, I'm not sure whether it's really worth caching the lookandfeel values.
>
> But r=me either way.
Went ahead and updated to this. The caching was left over from a previous patch, in the end it wasn't necessary so I removed it too.
Assignee | ||
Comment 19•11 years ago
|
||
Comment 20•11 years ago
|
||
Backed out for warnings-as-errors bustage.
https://hg.mozilla.org/integration/mozilla-inbound/rev/ecd826792000
https://tbpl.mozilla.org/php/getParsedLog.php?id=24793048&tree=Mozilla-Inbound
Assignee | ||
Comment 21•11 years ago
|
||
error: field 'mDisplayOnMouseMove' will be initialized after field 'mHScrollbarHovered' [-Werror,-Wreorder]
bah.
Assignee | ||
Comment 22•11 years ago
|
||
Comment 23•11 years ago
|
||
Substantially better in the post-backout https://hg.mozilla.org/integration/mozilla-inbound/rev/77bd60758c53 version, that got down to just two instances of "ASSERTION: fade begin timer shouldn't be running: '!mFadeBeginTimer'" in https://tbpl.mozilla.org/php/getParsedLog.php?id=24815809&tree=Mozilla-Inbound&full=1#error0
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/77f2e8fc86ee
Assignee | ||
Comment 24•11 years ago
|
||
(In reply to Phil Ringnalda (:philor) from comment #23)
> Substantially better in the post-backout
> https://hg.mozilla.org/integration/mozilla-inbound/rev/77bd60758c53 version,
> that got down to just two instances of "ASSERTION: fade begin timer
> shouldn't be running: '!mFadeBeginTimer'" in
> https://tbpl.mozilla.org/php/getParsedLog.php?id=24815809&tree=Mozilla-
> Inbound&full=1#error0
>
> Backed out in
> https://hg.mozilla.org/integration/mozilla-inbound/rev/77f2e8fc86ee
https://hg.mozilla.org/integration/mozilla-inbound/rev/541db83c8f38
Comment 25•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Comment 26•11 years ago
|
||
Mozilla/5.0 (Windows NT 6.2; rv:25.0) Gecko/20130715 Firefox/25.0
I verified that the scrollbars do hide until you move the mouse and they dismiss shortly after the mouse is idle.
Still, some issues were discovered:
1. After the scroll bars hide, there is some blank space remaining on the screen instead of them - logged bug #894350
2. The style of the scrollbars when moving the mouse is the same as when scrolling with the mousewheel. For other metro apps (e.g. Store), the look of the scrollbars is different when using the mouse scroll, the bar is thinner - logged bug 894361
I'm marking this bug as Verified since the initial issue is resolved and the follow up issues are tracked in separate bugs.
Status: RESOLVED → VERIFIED
Comment 27•11 years ago
|
||
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
Build ID: 20130816030205
Built from http://hg.mozilla.org/mozilla-central/rev/1ed5a88cd4d0
WFM
Tested on windows 8 using latest nightly for iteration-12. Followed steps provided in comment0 and comment26 got expected result.
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•