Closed
Bug 989769
Opened 12 years ago
Closed 12 years ago
[OSX] Vertical scrolling is blocked
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
People
(Reporter: mehmetxsahin, Assigned: spohl)
Details
(Whiteboard: [qa!] )
Attachments
(2 files)
|
958 bytes,
text/html
|
Details | |
|
1.75 KB,
patch
|
smichaud
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140327140727
Steps to reproduce:
OSX 10.8.5
Firefox 28 + Trunk 31
1.) Enable 'two finger horizontal swipe' in OSX system preferences
2.) Open a long page with a vertical scrollbar
3.) Scroll horizontally to the right (although there is no horizontal scrollbar)
4.) And then immediately scroll vertically
Actual results:
I can't scroll vertically. It is blocked for a second. When I repead the vertical scrolling gesture, then scrolling works.
Expected results:
Vertically scrolling should work immediately.
If you need more information, please let me know.
Comment 1•12 years ago
|
||
Confirmed in OSX 10.8.5 on Firefox 28 and in Nightly.
There are a few other Mac two-finger scrolling bugs that may be related issues; they're scattered around in different bugzilla components and it will take a little work to sort through them.
Status: UNCONFIRMED → NEW
status-firefox29:
--- → affected
status-firefox31:
--- → affected
Component: Untriaged → XUL
Ever confirmed: true
Product: Firefox → Core
Updated•12 years ago
|
status-firefox28:
--- → affected
status-firefox30:
--- → affected
Updated•12 years ago
|
Component: XUL → Panning and Zooming
Comment 2•12 years ago
|
||
Not an APZC bug since APZC isn't enabled on Mac OS X. Olli, do you know what the right component for this is?
Flags: needinfo?(bugs)
Comment 3•12 years ago
|
||
Sounds like wheel transaction handling.
We don't immediately start to scroll something else when mouse is over it - if there is ongoing
wheel transaction.
Sounds like we could use a tweak somewhere.
I can't reproduce on linux.
Component: Panning and Zooming → Event Handling
Flags: needinfo?(bugs)
Comment 4•12 years ago
|
||
Do you reproduce with this? This testcase scrolls the contents without wheel event transaction. I.e., if you can reproduce this bug with this testcase, this bug must be cocoa widget's.
Flags: needinfo?(mehmet.sahin)
(In reply to Masayuki Nakano (:masayuki) (Mozilla Japan) from comment #4)
> Created attachment 8401103 [details]
> testcase
>
> Do you reproduce with this? This testcase scrolls the contents without wheel
> event transaction. I.e., if you can reproduce this bug with this testcase,
> this bug must be cocoa widget's.
@Masayuki Nakano: Thanks for testcase example. Unfortunately I can reproduce the bug with the testcase :-(
This seems to be only a problem, when the swipe-feature is enabled in the OS Trackpad preferences.
Flags: needinfo?(mehmet.sahin)
Comment 6•12 years ago
|
||
Dear Core::Cocoa:Widget, maybe you will be the final home for this lonely bug. :)
Component: Event Handling → Widget: Cocoa
Comment 7•12 years ago
|
||
We are seeing quite a few reports of this issue in Input and on the SUMO forums. Substantial increase after the 29 launch. I've got emails out to all the users that provided us contact information. No one on my team can repro this in house. If I do get some users willing to work 1 on 1, who should I put them in touch with?
CC'ing Sylvestre just so it is on his radar.
| Assignee | ||
Comment 8•12 years ago
|
||
Just tried to reproduce this again and I can finally reproduce the problem! Just to be clear: I'm able to reproduce the originally reported issue here, i.e. vertical scrolling starts working again after ~1 second. Matt, is that what's being reported in Input and on SUMO?
Flags: needinfo?(mgrimes)
Comment 9•12 years ago
|
||
The reports we are seeing are vague which is why we are reaching out to users individually. Here's what know:
1. Seems to be OSX 10.9 only
2. At some point (steps vary) two finger scrolling stops working
3. Some reports indicate mouse scrolling stops working as well
4. Most users report that restarting Firefox is the ONLY way to restore functionality
5. Scroll bars seem to work throughout the process
I'm hoping to hear back from some of the users today.
Flags: needinfo?(mgrimes)
| Assignee | ||
Comment 10•12 years ago
|
||
Thanks, Matt! I think sending people to this bug here would be a good place to start gathering info.
Please note that if scrolling stops working completely, it may bug 927702, which is currently believed to be an Apple bug (since Safari is also affected). If someone is able to reproduce consistently, we might be able to find a commit on our side that makes this bug occur more frequently. If so, let's discuss in bug 927702.
Updated•12 years ago
|
tracking-firefox29:
--- → +
tracking-firefox30:
--- → +
tracking-firefox31:
--- → +
tracking-firefox32:
--- → +
Comment 11•12 years ago
|
||
Hey Stephen. I think you are right that this is probably 927702 related. Reports are definitely that scrolling stops working completely. We'll direct any additional data there. Thanks.
| Assignee | ||
Comment 12•12 years ago
|
||
This essentially reverts this section of nsChildView.mm to the way it was before adding code for the vertical page bounce. I suspect that once we enable vertical page bounces we will need to revisit this. We may have to be more granular and only do what this code was trying to do when we're dealing with vertical overscrolls and leave the logic for horizontal swipes the way it is. There is quite a bit of work left to do for horizontal swipe animations. I suspect that we will add page bounce only after we have horizontal swipe animations, so it seems like a long way out. I think we should just revert this until we get to it.
Assignee: nobody → spohl.mozilla.bugs
Status: NEW → ASSIGNED
Attachment #8418942 -
Flags: review?(smichaud)
| Assignee | ||
Comment 13•12 years ago
|
||
Forgot to mention that page bounce was added in bug 673875, and the changeset was http://hg.mozilla.org/mozilla-central/rev/b784c6dafa7d
Comment 14•12 years ago
|
||
Comment on attachment 8418942 [details] [diff] [review]
Patch
Sounds like this is worth a try.
Confusion with bug 927702, though, will make it difficult to tell whether or not this patch has done any good. (Bug 927702 is definitely at least partly an Apple bug.)
Attachment #8418942 -
Flags: review?(smichaud) → review+
| Assignee | ||
Comment 15•12 years ago
|
||
| Assignee | ||
Comment 16•12 years ago
|
||
(In reply to Steven Michaud from comment #14)
> Confusion with bug 927702, though, will make it difficult to tell whether or
> not this patch has done any good. (Bug 927702 is definitely at least partly
> an Apple bug.)
I agree that this should not be taken as an attempt at fixing bug 927702, i.e. the permanent inability of scrolling or swiping. It will definitely do good though by fixing the bug that was originally reported here, i.e. the ~1 second delay before vertical scrolls start working again (see description).
Comment 17•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
status-firefox32:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Updated•12 years ago
|
Whiteboard: [qa+]
| Reporter | ||
Comment 18•12 years ago
|
||
Hi Stephen Pohl [:spohl],
I am the reporter of this issue. Thanks for looking into it!
But unfortunately your patch only fixed the bug partially:
Now, the ~1 second delay scrolling issue is fixed, but inertia scrolling doesn't work, when you do a vertical swipe after the horizontal swipe.
Steps to reproduce:
1.) Scroll horizontally to the right (although there is no horizontal scrollbar)
2.) And then immediately do a swipe down and lift your fingers for inertia scrolling.
Actual result: Scrolling stopps immediately, after you lift your fingers from the trackpad.
Expected result: The page should scroll further, although I lift my fingers from the Trackpad.
Should I open a new report for this issue?
Tested with 32.0a1 (2014-05-09) on OSX 10.8.5.
Thanks in advance!
| Assignee | ||
Comment 19•12 years ago
|
||
Hi Mehmet, yes, please open a separate bug for this. Please also mention whether or not inertia scrolling remains broken for you, or if it starts working again (and after how long). These two issues might not be directly related. Your info will help us figure that out. Thanks!
| Reporter | ||
Comment 20•12 years ago
|
||
(In reply to Stephen Pohl [:spohl] from comment #19)
> Hi Mehmet, yes, please open a separate bug for this. Please also mention
> whether or not inertia scrolling remains broken for you, or if it starts
> working again (and after how long). These two issues might not be directly
> related. Your info will help us figure that out. Thanks!
Sorry, I didn't mention it: Inertia scrolling works immediately again, when I do the next (second) swipe down.
I Filed Bug 1008204.
Many thanks!
Comment 21•12 years ago
|
||
Even though this is only a partial fix, let's get more users on it - please nominate for uplift so we can get it landed in this Thursday's Beta.
Flags: needinfo?(spohl.mozilla.bugs)
| Assignee | ||
Comment 22•12 years ago
|
||
Comment on attachment 8418942 [details] [diff] [review]
Patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 673875
User impact if declined: After a horizontal swipe, vertical scrolling is blocked for ~1 second.
Testing completed (on m-c, etc.): Has been on m-c for a few days.
Risk to taking this patch (and alternatives if risky): Very small. This patch is essentially reverting a section of code to the state that we used to ship before bug 673875 landed. Bug 673875 remains turned off, so there is no immediate impact on that feature either.
String or IDL/UUID changes made by this patch: none
Attachment #8418942 -
Flags: approval-mozilla-beta?
Attachment #8418942 -
Flags: approval-mozilla-aurora?
Flags: needinfo?(spohl.mozilla.bugs)
Updated•12 years ago
|
Attachment #8418942 -
Flags: approval-mozilla-beta?
Attachment #8418942 -
Flags: approval-mozilla-beta+
Attachment #8418942 -
Flags: approval-mozilla-aurora?
Attachment #8418942 -
Flags: approval-mozilla-aurora+
Comment 23•12 years ago
|
||
Comment 24•12 years ago
|
||
Comment 25•12 years ago
|
||
Mehmet Sahin, I don't have a trackpad available at the moment and it seems that my magic mouse (which is also gesture-enabled) didn't replicate this issue in the first place. Could you please verify this fix on your trackpad with the latest Beta, Aurora and Nightly builds?
Flags: needinfo?(mehmet.sahin)
| Reporter | ||
Comment 26•12 years ago
|
||
Verified as fixed in FF Beta 6, FF Aurora 31.0a2 (2014-05-23) and FF Nightly 32.0a1 (2014-05-23).
(Note: There is a further issue (Bug 1008204), which I realized after this one was fixed.)
Flags: needinfo?(mehmet.sahin)
Comment 27•12 years ago
|
||
Thanks, Mehmet Sahin!
Marking as verified based on comment 26.
Status: RESOLVED → VERIFIED
Whiteboard: [qa+] → [qa!]
You need to log in
before you can comment on or make changes to this bug.
Description
•