Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Re: [Bug 19568] {} on a german keyboard [swt-carbon]

From: "Andre Weinand" <weinand@xxxxxxx>
> IMHO all your mappings (A->B) seem backwards:

That's because when I say 'map' I have been mapping from Mac keycode
modifier to SWT bit, whereas when you say 'map' you have been mapping from
SWT bit to Mac modifier. We seem pretty good at misunderstanding each other.
;-}

> I'm proposing to map the SWT 'Control' modifier to the Mac 'Command'
> modifier and the SWT 'Alt' modifier to the Mac 'Control' modifier.
> And this mapping is only performed for menu shortcuts.

That's new information. What happens outside menu shortcuts?

> So if a shortcut in a property file is specified as Alt-A, the code
> in MenuItem.setAccelerator would replace this with Control-A.

Which would mean that when a Mac user held down the control key and pressed
A, the action would be invoked?

That's the behavior I said would be surprising. The way I read the HI
guidelines (and the way the rest of MacOSX software seems to be written) Mac
shortcuts should involve the command key.

> Yes, I said that in my original posting.
> (BTW: I'm using Macs since 1984... :-)

Yeah, I hope I didn't come off condescending. I'm really just trying to
communicate some concerns.

And let me take time out for a moment to thank you again for all the great
work you've done getting Eclipse to the Mac!

> >The option key should be used as a shortcut modifier when the command
> >modifier is also present, and as a shift-out for extended characters when
it
> >is not used with command.
>
> This seems to be a good idea. However, this precludes all combinations of
> extended characters with the Alt-modifier.

Complete miscommunication here. My fault I guess. How can it be that using
the option key "as a shift-out for extended characters when it is not used
with command" precludes combinations of extended characters with the
Alt-modifier? It was intended precisely to enable such combinations.

> Thanks a lot for your help!

I've obviously not been much help to this point. ;-}

Bob



Back to the top