[Mono-osx] X11 locale support

listasdavid at codicesoftware.com listasdavid at codicesoftware.com
Wed Sep 17 10:08:49 EDT 2008


Hi, 

I'm getting a curious crash on MWF under X11 on mac (I don't know the level
of support it currently has on leopard)

The point is that with a Spanish keyboard, pressing the tilde key crashes
with the app with this exception: 

Unhandled Exception: System.ArgumentException: Culture ID 1034 (0x040A) is
not a supported culture.
Parameter name: culture
  at System.Globalization.CultureInfo..ctor (Int32 culture, Boolean
useUserOverride, Boolean read_only) [0x00000] 
  at System.Globalization.CultureInfo..ctor (Int32 culture, Boolean
useUserOverride) [0x00000] 
  at System.Globalization.CultureInfo..ctor (Int32 culture) [0x00000] 
  at System.Windows.Forms.X11Keyboard.ToUnicode (Int32 vkey, Int32 scan,
System.String& buffer) [0x00000] 
  at System.Windows.Forms.X11Keyboard.TranslateMessage
(System.Windows.Forms.MSG& msg) [0x00000] 
  at System.Windows.Forms.XplatUIX11.TranslateMessage
(System.Windows.Forms.MSG& msg) [0x00000] 
  at System.Windows.Forms.XplatUI.TranslateMessage
(System.Windows.Forms.MSG& msg) [0x00000] 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
mainForm) [0x00000] 
  at basicform.Form1.Main () [0x00000] 


What I find weird curious here is that that's the only key that happens to
crash. Any clues?

Cheers, 

David



More information about the Mono-osx mailing list