Closed
Bug 314792
Opened 20 years ago
Closed 20 years ago
[BeOS] Horizontal wheel scrolling support
Categories
(Core Graveyard :: Widget: BeOS, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sergei_d, Assigned: sergei_d)
References
Details
(Keywords: fixed1.8.1)
Attachments
(2 files, 1 obsolete file)
|
8.13 KB,
patch
|
Details | Diff | Splinter Review | |
|
8.83 KB,
patch
|
mtschrep
:
approval1.8.1+
|
Details | Diff | Splinter Review |
Currently we don't support horizontal wheels.
It seems there is time to add such support.
Also we can rewrite wheel event processing according to ideas from
https://bugzilla.mozilla.org/show_bug.cgi?id=314687
and reduce code size in CallMethod() by moving part of wheel code to OnWheel() method.
Only thing i'm wondering about, why such methods as OnPaint() are declared as virtual, while there is no prototypes in parent classes for that, and methods are for local use only. So I'm in doubts if coming OnWheel() should be also virtual.
| Assignee | ||
Comment 1•20 years ago
|
||
additional issue of current wheel-scrolling implementations is unused system default for step. It hardcodes 3 as step-value. If i remember correctly old discussions, it was set that way for same reason we use various tricks for mouse move. It means - in order to avoid too tight sequence of native messages.
At current time i don't see real need for that.
Only thing i don't know, if Firefox allows to set wheel-parameters in Preferences, as SeaMokey does.
FF users may be accustomized to use current big step and may be confused, if there is no visible method to set the step (Not all do like digging in about:config). If this is the case, maybe there will be need to change defaults in all.js for FF-BeOS
Comment 2•20 years ago
|
||
Firefox has no mouse-related settings in the Preferences panel, so fyysik's suggestion in comment #1 should be considered.
| Assignee | ||
Comment 3•20 years ago
|
||
review request.
Adding X-wheel support. Using same technique to reduce native event number as used for drawing events - local delta storage in nsViewBeOS + f*Dispatched flag.
Due some bugs in BeOS TwoWheel code (X-delta is sometimes generated when only Y-movement is present), making two events exclusive with Y-wheel priority. I dislike non-balanced "if else", but hope it is temporary.
How to test: get input filter from here:
http://bebits.com/app/3805
install it manually, if you have single-wheel mouse (install-script fails in this case), also install settigs file manually into home/config/settings/*, edit it if needed, restart input server and use ScrollLock key to switch between Y and X scrolling.
Attachment #202551 -
Flags: review?(thesuckiestemail)
Comment on attachment 202551 [details] [diff] [review]
patch diff -up6
r=thesuckiestemail@yahoo.se
Don't have the BeBook here, but as long as GetWheel retvalue = wheel copies the BPoint I think it's ok.
Attachment #202551 -
Flags: review?(thesuckiestemail) → review+
| Assignee | ||
Comment 5•20 years ago
|
||
exactly same as previous, but *.h changes included
Attachment #202551 -
Attachment is obsolete: true
| Assignee | ||
Comment 6•20 years ago
|
||
landed in trunk
Checking in mozilla/widget/src/beos/nsWindow.cpp;
/cvsroot/mozilla/widget/src/beos/nsWindow.cpp,v <-- nsWindow.cpp
new revision: 1.111; previous revision: 1.110
done
Checking in mozilla/widget/src/beos/nsWindow.h;
/cvsroot/mozilla/widget/src/beos/nsWindow.h,v <-- nsWindow.h
new revision: 1.46; previous revision: 1.45
done
Closing
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 8•19 years ago
|
||
Requesting approval for landing in the MOZILLA_1_8_BRANCH.
This is a BeOS-only change and will not affect any other platforms.
Attachment #232095 -
Flags: approval1.8.1?
Comment 9•19 years ago
|
||
Comment on attachment 232095 [details] [diff] [review]
Patch for 1_8 branch
a=schrep for drivers for BeOS only change.
Attachment #232095 -
Flags: approval1.8.1? → approval1.8.1+
| Assignee | ||
Comment 10•19 years ago
|
||
Checking in mozilla/widget/src/beos/nsWindow.cpp;
/cvsroot/mozilla/widget/src/beos/nsWindow.cpp,v <-- nsWindow.cpp
new revision: 1.91.4.20; previous revision: 1.91.4.19
done
Checking in mozilla/widget/src/beos/nsWindow.h;
/cvsroot/mozilla/widget/src/beos/nsWindow.h,v <-- nsWindow.h
new revision: 1.35.4.12; previous revision: 1.35.4.11
done
Keywords: fixed1.8.1
| Assignee | ||
Comment 11•19 years ago
|
||
Ooops! This checkin to MOZILLA_1_8_BRANCH somewhat broke wheel scrolling.
More exactly - wheel scrolling in IFRAME.
Reason - scrollEvent.point should be used in 1.8
while trunk moved to scrollEvent.refPoint.
That mistake was hardly detectable at time - all compiled and kind of worked.
Wondering if I should open special bug for that.
Comment 12•19 years ago
|
||
Bug 359081 opened for regression.
Comment 13•19 years ago
|
||
This would only require a quick fix, right?
Comment 14•19 years ago
|
||
(In reply to comment #13)
> This would only require a quick fix, right?
>
Yes, it's a two-line change in BeOS-only code. See new bug for patch.
Updated•11 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•