Closed
Bug 292326
Opened 19 years ago
Closed 19 years ago
Arrowscrollbox doesn't scroll on hover
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: martijn.martijn, Assigned: roc)
References
()
Details
(4 keywords)
Attachments
(1 file)
6.96 KB,
patch
|
jst
:
review+
jst
:
superreview+
jay
:
approval-aviary1.0.5+
asa
:
approval1.8b2+
|
Details | Diff | Splinter Review |
When hovering over the arrows, that gets visible when the content of the arrowscrollbox is too large to fit in the window, the content doesn't get scrolled anymore.
Reporter | ||
Comment 1•19 years ago
|
||
Works with 20050428 build, fails with 20050429 build, so I think this could be a fallout from bug 240276. I've tested this with Firefox trunk builds (not with Mozilla builds), but I think it also happens with Mozilla builds.
Blocks: 240276
Flags: blocking1.8b2?
Comment 2•19 years ago
|
||
could this also cause Chatzilla randomly scrolling up ?
Comment 3•19 years ago
|
||
Chatzilla starts with all output panes anchored to the top now.
Comment 4•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050429 Firefox/1.0+ this badly effects the bookmarks menu the scroll will only happen when you click on the arrow, which means you can just scroll 1 bookmark up/down per click real fun if you have a row of 200 bookmarks, not -> ?1.1
Flags: blocking-aviary1.1?
Summary: Arrowscrollbox doesn't scroll anymore. → Arrowscrollbox doesn't scroll on hover
Assignee | ||
Comment 5•19 years ago
|
||
This is a regression from jst's trusted-events checkin. The mouse-clicks generated by the repeating timer nsAutoRepeatButtonFrame weren't trusted events so the chrome event handlers weren't seeing them. This patch fixes that. To avoid introducing a hole where an untrusted mouse event could start a timer generating trusted mouse clicks, the synthetic clicks inhert the trustedness of the triggering mouse event.
Assignee: jag → roc
Status: NEW → ASSIGNED
Attachment #182373 -
Flags: superreview?(jst)
Attachment #182373 -
Flags: review?(jst)
Assignee | ||
Comment 6•19 years ago
|
||
BTW, I checked that nsAutoRepeatButtonBox is the only method that passes nsnull in aEvent to MouseClicked, although the way I've written the code is safe even if someone else does.
Comment 7•19 years ago
|
||
*** Bug 292628 has been marked as a duplicate of this bug. ***
Comment 8•19 years ago
|
||
can someone do the check-in ?
Comment 9•19 years ago
|
||
I noticed when I make my Firefox window smaller and open a long Arrowscrollbox and use the arrow keys for scrolling down AND resize the firefox window to normal size again (so the arrows will disappear) there is extra empty space on the bottom of the Arrowscrollbox. Reproduce: 1. Add http://www.tweakers.net/feeds/mixed.xml to your bookmark toolbar 2. Make Fx window a lot smaller (like 200x100 or so) until the Arrowscrollbox arrows appear. 3. Click a few times on the 'down arrow' 4. Make Fx full-screen again 5. Extra empty space is displayed below "Open in tabs" If this is not related: I would be happy to file a new bug on this.
Assignee | ||
Comment 10•19 years ago
|
||
Sebastian: it needs review first. Ger: probably not related, please file a new bug.
Comment 11•19 years ago
|
||
(In reply to comment #9) > I noticed when I make my Firefox window smaller and open a long Arrowscrollbox > and use the arrow keys for scrolling down AND resize the firefox window to > normal size again (so the arrows will disappear) there is extra empty space on > the bottom of the Arrowscrollbox. > > Reproduce: > 1. Add http://www.tweakers.net/feeds/mixed.xml to your bookmark toolbar > 2. Make Fx window a lot smaller (like 200x100 or so) until the Arrowscrollbox > arrows appear. > 3. Click a few times on the 'down arrow' > 4. Make Fx full-screen again > 5. Extra empty space is displayed below "Open in tabs" > > If this is not related: I would be happy to file a new bug on this. bug 185054 maybe ? You may want to attach the testcase there, better then what's in that bug
Comment 12•19 years ago
|
||
(In reply to comment #10) > Ger: probably not related, please file a new bug. (In reply to comment #11) > bug 185054 maybe ? > You may want to attach the testcase there, better then what's in that bug Thank you, it surely looks like 185054 indeed. Will post the testcase there.
Comment 13•19 years ago
|
||
Comment on attachment 182373 [details] [diff] [review] fix r+sr=jst, sorry for not catching this in the initial landing :(
Attachment #182373 -
Flags: superreview?(jst)
Attachment #182373 -
Flags: superreview+
Attachment #182373 -
Flags: review?(jst)
Attachment #182373 -
Flags: review+
Assignee | ||
Comment 14•19 years ago
|
||
Comment on attachment 182373 [details] [diff] [review] fix Fixes scrolling menu regression
Attachment #182373 -
Flags: approval1.8b2?
Comment 15•19 years ago
|
||
(In reply to comment #14) > (From update of attachment 182373 [details] [diff] [review] [edit]) > Fixes scrolling menu regression > Autoscroll arrows appear in the right-click context menu that aren't required. Does your patch address this? Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.8b2) Gecko/20050504 Firefox/1.0+ 05:38PDT Beast build
Comment 16•19 years ago
|
||
Comment on attachment 182373 [details] [diff] [review] fix a=asa
Attachment #182373 -
Flags: approval1.8b2? → approval1.8b2+
Assignee | ||
Comment 17•19 years ago
|
||
checked in. Fred: this won't fix that. I don't see that problem myself. Please file a new bug.
Blocks: 289940
Comment 18•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050504 Firefox/1.0+ 18:08 pdt confirming this fixes the scrolling in bookmarks
Comment 19•19 years ago
|
||
(In reply to comment #5) >This patch fixes that. To avoid introducing a hole where an untrusted mouse >event could start a timer generating trusted mouse clicks, the synthetic clicks >inhert the trustedness of the triggering mouse event. Wouldn't it have been easier not to start the timer for an untrusted mouse move?
Comment 20•19 years ago
|
||
I think this bug needs marked as fixed/Resolved. Can someone with the proper permissions do that?
Assignee | ||
Comment 21•19 years ago
|
||
Right, thanks. Neil: it would have been marginally easier, at the cost of disabling this element in remote XUL apps.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Flags: blocking1.8b2?
Verified FIXED using the testcase at http://www.xulplanet.com/tutorials/xultu/examples/ex_menuscroll_1.xul with build 2005-05-16-06 on Windows XP Seamonkey trunk.
Status: RESOLVED → VERIFIED
Updated•19 years ago
|
Flags: blocking1.7.9+
Flags: blocking-aviary1.0.5+
Comment 23•19 years ago
|
||
Comment on attachment 182373 [details] [diff] [review] fix Please check this in on the Aviary branch for 1.0.5. a=jay
Attachment #182373 -
Flags: approval-aviary1.0.5+
Updated•19 years ago
|
Whiteboard: need branch landing
Assignee | ||
Comment 24•19 years ago
|
||
Dan, can you check this in for me? I don't currently have a 1.0.5 tree or watch the tinderboxen
Updated•19 years ago
|
Flags: blocking-aviary1.1? → blocking-aviary1.1+
Comment 25•19 years ago
|
||
Incorporated into the aviary/1.7 port of bug 289940
Comment 26•19 years ago
|
||
Fix checked into mozilla1.7 and aviary1.0.1 branches
Keywords: fixed-aviary1.0.5,
fixed1.7.9
Whiteboard: need branch landing
You need to log in
before you can comment on or make changes to this bug.
Description
•