[Adium-devl] Old keyboard layouts and new APIs

Chris Forsythe chris at growl.info
Tue Apr 28 03:10:41 UTC 2009


It maybe worth contacting RA to see if they ran into this and if so,  
how they addressed it

On Apr 27, 2009, at 9:00 PM, David Smith <catfish.man at gmail.com> wrote:

>    As part of the preparation for 64 bit Adium, I applied Rogue  
> Amoeba's patch to convert PTKey* over to using the modern TIS* API  
> rather than the deprecated (gone in 64 bit) KL* API. Unfortunately,  
> it seems that TIS* doesn't support old-style kchr keyboard layouts.  
> As such, you can crash Adium by doing the following:
>
> 1) Install a pre-leopard keyboard layout
> 2) Activate it
> 3) Open general preferences in Adium 1.4
>
>    I'm a bit uncertain on what to do. I guess we could #ifdef in the  
> old code, but that's sort of horrible. I'd prefer to just fail  
> gracefully somehow. Still looking into how to go from  
> "TISGetInputSourceProperty() returned NULL" to something that makes  
> sense in the UI.
>
>        David
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com




More information about the devel mailing list