El 22/08/14 a las #4, Benoît Minisini escribió: > Le 22/08/2014 12:21, Jesus a écrit : >> Well, sorry for the delay. Here it is: >> >> [System] >> Gambas=3.5.90 >> OperatingSystem=Linux >> Kernel=3.13.0-24-generic >> Architecture=x86_64 >> Distribution=Linux Mint 17 Qiana >> Desktop=XFCE >> Theme=QGtk >> Language=es_ES.UTF-8 >> Memory=16032M >> [Libraries] >> Cairo=libcairo.so.0.0.0 >> Cairo=libcairo.so.2.11301.0 >> Curl=libcurl.so.4.3.0 >> DBus=libdbus-1.so.3.7.6 >> GStreamer=libgstreamer-0.10.so.0.30.0 >> GStreamer=libgstreamer-1.0.so.0.204.0 >> GTK+3=libgtk-3.so.0.1000.8 >> GTK+=libgtk-x11-2.0.so.0.2400.23 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.44.0.0 >> Qt4=libQtCore.so.4.8.6 >> SDL=libSDL-1.2.so.0.11.4 >> >> Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO. >> >> I must say that it was firstly tested on an older setup, Mint 14 >> Cinnamon, IIRC, and results were the same. >> >> As I said before, current stable Gambas works as expected (at least in >> my simple test) but recent changes in trunk don't raise events anymore. >> >> I know about GTK being a nightmare upstream, so good luck! >> >> Regards >> > > Can you try the revision #6420? I added a debugging flag, and you will > tell me the result: > > 1) Open your test project. > 2) Open the project property dialog. > 3) Go to the "environment" tab. > 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and > set its value to "1". > 5) Run the project. > 6) Send me the console output. > > Thanks. > Hi Benoît
This is the console output after hitting some keys: GDK_KEY_PRESS: keyval = 49 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 50 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 51 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 52 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 53 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 97 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 98 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 99 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 100 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 101 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65457 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65458 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65459 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65505 state = 00000010 is_modifier = 1 GDK_KEY_PRESS: keyval = 65 state = 00000011 is_modifier = 0 GDK_KEY_PRESS: keyval = 83 state = 00000011 is_modifier = 0 GDK_KEY_PRESS: keyval = 68 state = 00000011 is_modifier = 0 GDK_KEY_PRESS: keyval = 65509 state = 00000010 is_modifier = 1 GDK_KEY_PRESS: keyval = 65 state = 00000012 is_modifier = 0 GDK_KEY_PRESS: keyval = 83 state = 00000012 is_modifier = 0 GDK_KEY_PRESS: keyval = 68 state = 00000012 is_modifier = 0 Hope this helps Regards -- Jesus Guardon ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
