Re: about gtk/_gtk_kegtkkeyhash.c:y_hash_lookup() and fuzzy matches



On Wed, 2006-08-16 at 02:14 +0200, didier . wrote:
> Hi,
> 
> What are they used for?
> 
> It's an issue when you have multiple keyboard definitions.
> 
> For example with gedit if you have an english and a french keyboard
> (ie two xkb groups) CRTL+Q doesn't work  because the logic catches the
> a <--> q mapping first an returns the CTRL+A binding.

There is extensive discussion of this on a bugzilla bug; I don't know
the number off hand. You should be able to find it pretty easily.

Very short answer:

 - This behavior is desired and very useful for a long list of languages
   where *ALL USERS* have two keymaps, one for Latin and one the
   language's scripts. This includes: Cyrillic, Greek, Arabic, Hebrew.

   It just isn't acceptable to have to switch to the other keyboard
   layout to use the menus, or to use editing hotkeys.

 - Yes, it causes some problems for the small group of people who
   manually configure their keyboard to have two Latin layouts. If
   someone wants to  create a fix for that *without breaking the
   behavior where needed* that would be a great contribution.

   I don't quite know how that fix would work; maybe you could try
   to guess the script of each keyboard layout from the keys in it.

                                         - Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]