Closed
Bug 377404
Opened 18 years ago
Closed 16 years ago
Should check the scrolling direction in nsMouseWheelTransaction
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
(Keywords: polish)
Attachments
(2 files, 3 obsolete files)
3.50 KB,
text/html
|
Details | |
10.59 KB,
patch
|
damons
:
approval1.9-
|
Details | Diff | Splinter Review |
I was confused by the current mouse wheel transaction.
A page has large scrollable view which has only vertical scrollbar. And the page has both scrollbars on a body. I moved the cursor into the child scrollable view and scrolled the view to vertical for reading the content. And then, I wanted to scroll the horizontal direction on the body. For doing it, I used the tilt wheel. But the horizontal scroll events were eaten by the child scrollable view. So, there were not any changes in the view. Therefore, I was confused some seconds (although I have implemented it).
I think that if the current target cannot be scrolled to a direction, but the event came to ESM, the user want to scroll another view. The current transaction should be finished in such case.
Assignee | ||
Comment 1•18 years ago
|
||
The transaction manager should keep and check the scrolling direction. And if the mis-direction scrolling events are fired immediately before/after other direction scrolling event, the events may be mis-inputted, then, we should ignore these events.
Attachment #261474 -
Flags: review?(mats.palmgren)
Assignee | ||
Comment 2•18 years ago
|
||
And I thought whether I should change the transaction manager keeping only one direction. But I believe that it is a wrong approach. Because I have looked the mouse with stick instead of wheel. Which can scroll to 8 directions.
Assignee | ||
Comment 3•18 years ago
|
||
Sorry, the patch is not latest.
Attachment #261474 -
Attachment is obsolete: true
Attachment #261475 -
Flags: review?(mats.palmgren)
Attachment #261474 -
Flags: review?(mats.palmgren)
Assignee | ||
Comment 4•18 years ago
|
||
Oops, sorry for the spam...
Attachment #261475 -
Attachment is obsolete: true
Attachment #261476 -
Flags: review?(mats.palmgren)
Attachment #261475 -
Flags: review?(mats.palmgren)
Assignee | ||
Comment 5•17 years ago
|
||
Mats:
would you review this?
Assignee | ||
Comment 6•17 years ago
|
||
Updating for latest trunk.
Mats:
Would you review this? I'm still waiting...
Attachment #261476 -
Attachment is obsolete: true
Attachment #275442 -
Flags: review?(mats.palmgren)
Attachment #261476 -
Flags: review?(mats.palmgren)
Assignee | ||
Comment 7•17 years ago
|
||
Comment on attachment 275442 [details] [diff] [review]
Patch rv1.0.2
Roc, would you review this?
Attachment #275442 -
Flags: superreview?(roc)
Attachment #275442 -
Flags: review?(roc)
Attachment #275442 -
Flags: review?(mats.palmgren)
Attachment #275442 -
Flags: approval1.9?
Do we really need the misdirection timer? Are there many devices where it's easy to scroll in the wrong direction?
Assignee | ||
Comment 9•17 years ago
|
||
(In reply to comment #8)
> Do we really need the misdirection timer? Are there many devices where it's
> easy to scroll in the wrong direction?
I'm using MS Wireless Laser Mouse 8000. When I use horizontal scroll with it, the wheel is moved to vertical at leaving my finger from the wheel...
Assignee | ||
Comment 10•17 years ago
|
||
(In reply to comment #9)
> (In reply to comment #8)
> > Do we really need the misdirection timer? Are there many devices where it's
> > easy to scroll in the wrong direction?
>
> I'm using MS Wireless Laser Mouse 8000. When I use horizontal scroll with it,
> the wheel is moved to vertical at leaving my finger from the wheel...
er, I often experience it.
I wonder this is something we should fix for 1.9, though. Can you nominate it for 1.9 blocking status and we'll see what happens?
Assignee | ||
Comment 12•17 years ago
|
||
roc:
I think that the misdirection timer is really quirk for the "bug" of some device. Here is an alternative: We cache two targets; one is for vertical and other one is for horizontal. It can remove the problems and the misdirection timer. *However*, is it intuitive?
Flags: blocking1.9?
That sounds OK.
Not a blocker, might still want to take the patch after beta though.
Flags: blocking1.9? → blocking1.9-
Comment 15•17 years ago
|
||
Comment on attachment 275442 [details] [diff] [review]
Patch rv1.0.2
-'ing the approval request. Please re-request approval once reviews are completed.
Attachment #275442 -
Flags: approval1.9? → approval1.9-
Masayuki, are you going to update this patch?
Attachment #275442 -
Flags: superreview?(roc)
Attachment #275442 -
Flags: review?(roc)
Assignee | ||
Comment 17•16 years ago
|
||
fixed by bug 442774.
The failing to scroll events are not update the current transaction. Therefore, if you fire the wrong direction events continuously, the target frame will be switched by timeout.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•