Closed
Bug 421486
Opened 17 years ago
Closed 17 years ago
automatic unwanted scrolling for no reason, due to scroll arrow/bar interaction
Categories
(Core :: General, defect, P2)
Core
General
Tracking
()
RESOLVED
FIXED
People
(Reporter: stevee, Assigned: smaug)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
2.38 KB,
patch
|
sicking
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008030700 Minefield/3.0b5pre ID:2008030700
minotaur 11 from the mz forum made these STR:
1. New profile, start firefox.
2. Visit a long page, eg: https://bugzilla.mozilla.org/show_bug.cgi?id=391598
3. You are at the top of the page. Left click and hold the down arrow scroll button.
4. Whilst keeping the left mouse button pressed, move the mouse up into the scrollbar area.
5. Whilst keeping the left mouse button pressed, move the mouse into the browser window.
6. Release the left mouse button.
Expected:
- Scrolling of page stops
Actual:
- Scrolling down continues, even if you use your mouse-wheel or the PgUp button. The only way to stop the scrolling is to left-click in the scrollbar area, but not on the scrollbar itself.
Reporter | ||
Comment 1•17 years ago
|
||
This is also a regression as a Fx 2.0.0.13pre build does not show this behaviour. I'll request blocking so it can be mark wanted ;)
Flags: blocking1.9?
Keywords: regression
Comment 2•17 years ago
|
||
It is actually slightly worse than described. Not only does the autoscrolling continue even after switching tabs, once it gets down to the bottom of the page you can not scroll backup using the mousewheel without the page autoscolling to the bottom again. The only way to stop being permanently stuck at the bottom of the page is to click in the scrollbar.
At work now but will try to find a regression range later today.
Reporter | ||
Comment 3•17 years ago
|
||
Works: 20080226_0310_firefox-3.0b4pre.en-US.win32
Broken: 20080226_0557_firefox-3.0b4pre.en-US.win32
Checkins to module PhoenixTinderbox between 2008-02-26 03:10 and 2008-02-26 05:57 :
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=PhoenixTinderbox&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2008-02-26+03%3A10&maxdate=2008-02-26+05%3A57&cvsroot=%2Fcvsroot
Due to bug 389931 or bug 411054. I'll guess the former since that's caused so many regressions and this doesn't seem like a DOM bug.
Blocks: 389931
Reporter | ||
Comment 4•17 years ago
|
||
Note: Step 5 is not required.
Comment 6•17 years ago
|
||
+'ing with P2. This is just bad.
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Comment 7•17 years ago
|
||
Backing out bug 389931 locally: bug still occurs
Backing out bug 411054 locally: bug does not occur
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → Olli.Pettay
Assignee | ||
Comment 8•17 years ago
|
||
Mats, are you familiar enough with event handling code?
The patch backs out the (functional) change bug 411054 made to doPreHandleEvent.
FindFirstNonNativeAnonymousAncestor may return object which is still inside
native anonymous subtree (in case of nested native anonymous objects),
nsIContent::FindFirstNonNativeAnonymous returns an object which truly is
outside native anonymous.
Attachment #308636 -
Flags: superreview?(mats.palmgren)
Attachment #308636 -
Flags: review?(mats.palmgren)
Comment 9•17 years ago
|
||
Comment on attachment 308636 [details] [diff] [review]
proposed patch
(In reply to comment #8)
> Mats, are you familiar enough with event handling code?
Not to the degree that I can review this patch. Ask Boris or Jonas?
Attachment #308636 -
Flags: superreview?(mats.palmgren)
Attachment #308636 -
Flags: review?(mats.palmgren)
Assignee | ||
Comment 10•17 years ago
|
||
Comment on attachment 308636 [details] [diff] [review]
proposed patch
OK.
Jonas, this is backing out the change I made to doPreHandleEvent.
Just using different name for the function.
Attachment #308636 -
Flags: superreview?(jonas)
Attachment #308636 -
Flags: review?(jonas)
So this will make us target non-anonymous nodes even if they are descendants of anonymous nodes. That would seem to make sense. We will still retarget once we go outside of the anonymous ancestor, right?
Attachment #308636 -
Flags: superreview?(jonas)
Attachment #308636 -
Flags: superreview+
Attachment #308636 -
Flags: review?(jonas)
Attachment #308636 -
Flags: review+
Assignee | ||
Comment 12•17 years ago
|
||
Well, I wouldn't call this retargeting, but stopping propagation in case
mouseover/out happens somewhere in native anonymous subtree.
This backout prevents stopping progation too early in native anonymous subtree.
Assignee | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•