Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: bnilsson on August 25, 2007, 03:20:01 pm

Title: Keyboard problem with Mac/GTK
Post by: bnilsson on August 25, 2007, 03:20:01 pm
In the GTK version of CB for Mac installed by MacPorts, I have a problem accessing the alt-key characters, such as the hard brackets "[]", tilde "~", at "@", etc.
In a regular X11 window it works fine, but not in the CB editor.
I have not yet found any setting that controls this.
I am using CB rev 4407.

Any suggestion?
Title: Re: Keyboard problem with Mac/GTK
Post by: afb on August 26, 2007, 09:19:35 am
Could this be a general problem with wxGTK on the Mac OS X platform, perhaps... If you try the samples from wxGTK (should be available in the "work" folder from the x11/wxgtk port directory), do they have the same problem ?
Title: Re: Keyboard problem with Mac/GTK
Post by: bnilsson on August 26, 2007, 10:51:08 am
Quote
Could this be a general problem with wxGTK on the Mac OS X platform, perhaps... If you try the samples from wxGTK (should be available in the "work" folder from the x11/wxgtk port directory), do they have the same problem ?
It seems so. I tried the sample "docview", and it did not allow "[" by pressing alt-(.

Title: Re: Keyboard problem with Mac/GTK
Post by: afb on August 26, 2007, 08:36:39 pm
Probably needs to be fixed/patched upstream then (in wxWidgets), then it could be upgraded/applied locally in the "wxgtk" MacPort.
Title: Re: Keyboard problem with Mac/GTK
Post by: bnilsson on August 26, 2007, 11:02:34 pm
I have filed a bug report on this to the wxwidgets site.
Title: Re: Keyboard problem with Mac/GTK
Post by: bnilsson on August 27, 2007, 08:59:59 pm
...and they swiftly handed me over to the gtk people, so I filed a bug report there too.