Surprising CAPS LOCK behaviour on digit keys on Windows



Hi,

I'm porting a gtk application named GRISBI (personal accounting) on Windows.

All features of the application are working fine except a point : the Caps lock behaviour which is not the standard one on the digit keys. This problem has been reported by a user using French version of Windows on a laptop (so without additional digit keys)

On the french keyboard, you need to press SHIFT to get the digits. The standard Windows behaviour is the same as a old mechanical type writter : when use press caps lock, you get the digits without having to press SHIFT anymore.

But from the GTK 2.2.3 Windows port (and 2.4-3) , pressing CAPS LOCK just do a uppercase function on the characters :
So we get :
no modifier   : &  é  "  '  (  -  è  _  ç  à
SHIFT pressed : 1  2  3  4  5  6  7  8  9  0
CAPS LOCK     : &  É  "  '  (  -  È  _  Ç  À

where we are waiting for :
no modifier   : &  é  "  '  (  -  è  _  ç  à
SHIFT pressed : 1  2  3  4  5  6  7  8  9  0
CAPS LOCK     : 1  2  3  4  5  6  7  8  9  0

I did not have this behaviour with previous gtk 2.2.1 package I used.

My question is the following :
how can I modify this behaviour to recover the standard Windows one, without having to recompile my own package of gtk ?

Thanks in advance for you help.

Francois

PS:
I got
gtk 2.2.1 from http://sourceforge.net/projects/dia-installer/
GTK 2.2.4 from http://www.dropline.net/gtk/download.php
GTK 2.4 from www.gtk.org



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