Last Comment Bug 159346 - Scrollbar not working when moving mouse out and in again
: Scrollbar not working when moving mouse out and in again
Status: RESOLVED FIXED
[inbound]
:
Product: Core
Classification: Components
Component: XUL (show other bugs)
: Trunk
: All All
: -- normal with 1 vote (vote)
: mozilla11
Assigned To: Masayuki Nakano [:masayuki] (Mozilla Japan)
:
Mentors:
: 227716 (view as bug list)
Depends on: 1121505 703774
Blocks:
  Show dependency treegraph
 
Reported: 2002-07-25 04:53 PDT by jernej srebrnic
Modified: 2015-01-14 07:40 PST (History)
3 users (show)
masayuki: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Part.1 Scrollbar button should capture mouse events and do scroll only when cursor is on it (5.94 KB, patch)
2011-11-15 17:31 PST, Masayuki Nakano [:masayuki] (Mozilla Japan)
enndeakin: review+
Details | Diff | Review
Part.2 Repeat scroll even if mouse cursor is outside of the pressed scrollbar button on gtk2 and qt (6.76 KB, patch)
2011-11-15 17:31 PST, Masayuki Nakano [:masayuki] (Mozilla Japan)
roc: review+
Details | Diff | Review
Part.3 Add new tests (5.29 KB, patch)
2011-11-15 17:32 PST, Masayuki Nakano [:masayuki] (Mozilla Japan)
enndeakin: review+
Details | Diff | Review

Description jernej srebrnic 2002-07-25 04:53:23 PDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020724
BuildID:    2002072408

when you press the up or down arrow of the scroller bar it starts scrolling.
whit the mouse buton pressed move of the arrow and then reenter. the scroler
shoud scroll agein, but it doesn't

Reproducible: Always
Steps to Reproduce:
1. press the up or down arrow of the scroller bar
2. mouse button pressed move of the arrow
3. reenter whit the mouse button still pressed


Actual Results:  the scroller does not scroll

Expected Results:  should scroll when you reenter

the arrow is repainted in hte raight way. when you reeenter it presed, but with
no effect...
Comment 1 Vidar Haarr (not reading bugmail) 2002-07-25 06:47:44 PDT
Confirmed on WinXP trunk build 2002072408.

-> XP Toolkit/Widgets
Comment 2 Timwi 2003-12-18 09:51:40 PST
*** Bug 227716 has been marked as a duplicate of this bug. ***
Comment 3 Timwi 2008-04-07 09:45:00 PDT
This bug is now over 4 years old and it is still an issue in Firefox 3 beta 5. When will this finally be addressed?
Comment 4 Masayuki Nakano [:masayuki] (Mozilla Japan) 2011-11-15 17:31:08 PST
Created attachment 574753 [details] [diff] [review]
Part.1 Scrollbar button should capture mouse events and do scroll only when cursor is on it
Comment 5 Masayuki Nakano [:masayuki] (Mozilla Japan) 2011-11-15 17:31:48 PST
Created attachment 574754 [details] [diff] [review]
Part.2 Repeat scroll even if mouse cursor is outside of the pressed scrollbar button on gtk2 and qt
Comment 6 Masayuki Nakano [:masayuki] (Mozilla Japan) 2011-11-15 17:32:21 PST
Created attachment 574755 [details] [diff] [review]
Part.3 Add new tests
Comment 7 Masayuki Nakano [:masayuki] (Mozilla Japan) 2011-11-15 17:42:27 PST
Note that the patches cannot emulate Mac's native behavior perfectly. On Mac, all scrollbar buttons of a scrollbar capture mouse events. When you move mouse cursor to the other scrollbar button, it scrolls the other direction. We should separate the bug for Mac later.
Comment 8 Masayuki Nakano [:masayuki] (Mozilla Japan) 2011-11-16 20:06:21 PST
Roc:

Enn has reviewed the patch already. I'd like you to review the widget part.
Comment 9 Masayuki Nakano [:masayuki] (Mozilla Japan) 2011-11-17 00:07:26 PST
Comment on attachment 574754 [details] [diff] [review]
Part.2 Repeat scroll even if mouse cursor is outside of the pressed scrollbar button on gtk2 and qt

Looks like roc also +'ed to the patch accoding to the bug history but I'm not sure it. Roc, did you +'ed for it? Or just changed the reviewer to Enn?
Comment 10 Robert O'Callahan (:roc) (Exited; email my personal email if necessary) 2011-11-17 00:25:28 PST
I r+ed it.
Comment 11 Masayuki Nakano [:masayuki] (Mozilla Japan) 2011-11-17 15:39:44 PST
Okay, thank you. I land them.

Note You need to log in before you can comment on or make changes to this bug.