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]

Doesn't sound like this is going in the right direction. ;-}
 
Macintosh uses the Command key for shortcuts. Mac Command == Windows Ctrl. Documentation of shortcuts or "keyboard equivalents":
 
 
On an Apple keyboard, Option is also labeled Alt, which is confusing. The option key without the command key, as the documentation notes, is used to get "foreign" characters out of an Apple keyboard. It's another kind of shift. It is also used historically to change the definitions of menu items, but you don't see that much in new software.
 
Macintosh/Aqua doesn't have a 1-1 equivalent of the Windows Alt key for menu accessibility. That's why you don't see any underlining in the menu items. Macintosh accessibility obeys the arrow keys and a user-definable set of keys, modified by Ctrl. This is a system mode and I doubt if the application even sees these keystrokes. Documentation is here:
 
 
Hope this helps.
 
Bob
----- Original Message -----
Sent: Tuesday, July 09, 2002 8:33 AM
Subject: [platform-swt-dev] Re: [Bug 19568] {} on a german keyboard [swt-carbon]


Continuing the discussion on the mailing list for the wider audience...

I'm still confused here. The Mac "Command" key is what we should be marking as equivalent to the "ALT". Is this key also what is used to enter the special key codes? I thought it was the "option" key in this case.


McQ.




Ulrich Köster <uli@xxxxxxx>

07/09/2002 05:34 AM

       
        To:        "Andre Weinand" <Andre_Weinand@xxxxxxx>
        cc:        "Knut Radloff" <knut_radloff@xxxxxxx>, Mike_Wilson@xxxxxxx
        Subject:        Re: [Bug 19568] {} on a german keyboard [swt-carbon]


Hi Andre,

You wrote in a previous mail:
Proposed fix:
I will remove the ALT modifier from a key event, whenever it was used to
get a
special character. However, since there are many special characters not
many
Alt-modifiers will come through.
If this results in problems I will try to use the 'Fn' modifier as 'Alt'.



Just to mention: There is no Fn key on my cube keyboard :-).
To be more mac-like I would suggest to use apple+s for save(which works
currently and thats what a normal mac user would expect) i.e. map the
apple key to swt-alt-modifier-in-event and map alt+s (which is the
character ') to no swt-modifier. Mac users use the apple key for
shortcuts windows users use the alt key. I don`t know if this hurts
something else.

Just my two cents.

Best regards

Ulrich

Am Dienstag den, 9. Juli 2002, um 10:52, schrieb Andre Weinand:

>
> Hi Ulrich,
> as far as I know is there no Windows specific StyledText.java, so
> everything that Knut has fixed is already in the MacOS X version (I
> hope).
>
> IMO  the ALT + key problem is not a "bug" but just a consequence of the
> fact that the Mac's option key is labelled 'Alt'.
> If I want to enter a '{' on a German keyboard I have to use Option-'('
> and
> I don't want to have Eclipse interpret this as Alt-'(', i.e. a shortcut
> for
> some function.
> So in order to get this to work we cannot change StyledText or any
> high-level mechanims but we have to introduce a mechanism that allows
> for
> either using
> the Option-key in the normal Mac-way (to enter special characters) or to
> use it as the 'Alt' key.
>
> --andre
>
>
>
> |---------+---------------------------->
> |         |           Ulrich Köster    |
> |         |           <uli@xxxxxxx>    |
> |         |                            |
> |         |           07/09/2002 09:41 |
> |         |           AM               |
> |         |                            |
> |---------+---------------------------->
>> -----------------------------------------------------------------------------------------------------------------------|
>   |                                                                    
>                                                   |
>   |       To:      
> Andre_Weinand@xxxxxxx                                                    
>                              |
>   |       cc:      
> knut_radloff@xxxxxxx                                                    
>                              |
>   |       Subject:  Re: [Bug 19568] {} on a german keyboard
> [swt-carbon]                                                  |
>> -----------------------------------------------------------------------------------------------------------------------|
>
>
>
>
> Hi Andre,
>
> may you should talk to knut_radloff@xxxxxxx. He has fixed a alt + key
> bug on windows in StyledText.java.
>
> Just trying to help you.
>
> Best regards
>
> Ulrich
>
>
>
>
>
>




Back to the top