In article <[EMAIL PROTECTED]>, Mark Anderson
<[EMAIL PROTECTED]> wrote:
> Yep. Namely that a device driver really is an application in and of
> itself (it just happens to be an application whose sole purpose is to
> run a particular device), and the whole reason it breaks in Mozilla is
> because these drivers aren't following the guidelines of the system.
> They're hacking around the real system calls they *should* be using and
> doing it their own way. If they used the documented methods for doing
> this (and the whole fiasco on the Mac is that such methods don't exist
> pre-Carbon;
In the Mac context that is a bogus explanation that results from
unwillingness to acknowledge the real problem.
If you want you implement a window that can be scrolled using a mouse
wheel on the Mac, you are supposed to use a native scrollbar. It is the
obvious way of indicating scrollability. The native scrollbar *is the
interface* to use.
Of course, it would be nice to have an additional API for interfacing
with the mouse wheel explicitly. In a 3D game for example, the normal
mouse movement could be mapped to two axes of movement and the wheel
could be mapped to the third axis. However, the lack of such an API is
not the real problem as far as Mozilla is concerned. Failing to use
native widgets is.
Yes, I've read explanations about the rationale for the choice to use
gfx widgets, but failing to use native scrollbars is still *the* problem
here.
Some bugs resulting from not using native scrollbars:
http://bugzilla.mozilla.org/show_bug.cgi?id=7347 Mac mouse wheel *
http://bugzilla.mozilla.org/show_bug.cgi?id=16277 Smart scrolling *
http://bugzilla.mozilla.org/show_bug.cgi?id=26828 Platform L&F *
http://bugzilla.mozilla.org/show_bug.cgi?id=31490 thumb behavior
http://bugzilla.mozilla.org/show_bug.cgi?id=46347 thumb behavior
http://bugzilla.mozilla.org/show_bug.cgi?id=52458 ThinkPad issue
http://bugzilla.mozilla.org/show_bug.cgi?id=56876 visual problem
http://bugzilla.mozilla.org/show_bug.cgi?id=29949 visual problem
http://bugzilla.mozilla.org/show_bug.cgi?id=56892 touch pad
http://bugzilla.mozilla.org/show_bug.cgi?id=61165 a Mac L&F issue
http://bugzilla.mozilla.org/show_bug.cgi?id=49144 Appearance awareness *
http://bugzilla.mozilla.org/show_bug.cgi?id=41577 arrow button behavior
(Bugs marked with an asterisk are among the most-complained-about issues
on the Mac in addition to memory usage and performance.)
--
Henri Sivonen
[EMAIL PROTECTED]
http://www.clinet.fi/~henris/