|
|
I agree that standard mac apps all process ctrl-click as right-click.
But, looking into Mac OS X event processing, I see that there's no support at the system
level for that: the system reports a left-click with the ctrl modifier when the user ctrl-clicks.
Also, system preferences don't allow to change this behavior (although, I vaguely seem
to remember that it used to be possible with OS 9).
Therefore, it's at the application level that ctrl-click should be processed as right-click.
That's why my preference would be for just noting in the Mac OS-specific part of the documentation
that Apple HI guidelines recommend that apps process ctrl-click as equivalent to right-click
when a contextual menu exists.
> Unless I'm missing something, it seems FLTK does not support the Ctrl-Click == right click
> with one button mice on the Mac.
>
> Not seeing anything about this in the docs for "operating system issues" for the mac,
> and in my tests with a one button mouse, ctrl+click doesn't seem to trigger right click
> menus that work ok with a three button mouse.
>
> Should we support this, perhaps with a command line option or Fl::option() or some such?
>
> With such an option, I could see e.g. Fl::event_button() returning FL_RIGHT_MOUSE
> if it's really FL_LEFT_MOUSE but the CTRL key is down, so existing apps that don't
> otherwise care about Ctrl-click could "work" unmodified on macs like other mac apps.
>
> Seems like our position has historically been 'use a three button mouse', and apple
> seems to make new mice + trackpads with ways to do right clicking, so it's not so pressing..
> but that seems kinda limiting for users who might still have a one button mouse, or want
> to leave their mouse/trackpad in "single-click" mode.
>
> Opinions?
> (Not everyone is a "power user")
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[ Direct Link to Message ] | |
|
| |