support for accelerators and bindings independant of current XKBkeyboard language
- From: Vlad Harchev <hvv hippo ru>
- To: gtk-devel-list gnome org
- Subject: support for accelerators and bindings independant of current XKBkeyboard language
- Date: Mon, 14 Aug 2000 22:33:47 +0500 (SAMST)
Hi,
I didn't try gtk-1.3.1 (but seems things didn't change in that respect), but
there is a localization problem for all gtk-based applications, if they are
used in environments that require support for several XKB keyboard languages
(sorry, I don't know how to better name that thing) with respect to
accelerators.
Example: There is an accelerator Ctrl-F for some widget. It works fine if the
current XKB keyboard language is "english". When user switches to some other
keyboard language (say Russian, using Ctrl-Shift), pressing Ctrl-F doesn't
work at all in the way it should be. The reason for that is that gtk uses
keysym (that describes some string or character produced when pressing the
letter in the given XKB keyboard language), rather than keycode (that
identifies the key on keyboard, independant of current XKB language). As for
other widget sets - QT apps use keycode (so accelerators work independant of
the current XKB language), Win32's "widgetset" also uses "keycode", not a
"keysym". Also, in gtk all keybinding for standard widgets (like Ctrl-A for
"move to begining of line in GtkEntry") doesn't work after switching to
non-english XKB language. So, it's a big pain to use gtk-based apps, and this
should be fixed ASAP.
So, are gtk+ developers aware of this problem? (When) Are they going to fix
it?
Best regards,
-Vlad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]