DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2493
Version: 2.0-feature


When multiple keyboard layouts are configured via setxkbmap, then mouse
control get's jammed after the first click ... button is not released
properly and gets pressed when you move your mouse over it's area without
holding any mouse button (but You have to be switched to the 2nd or 3rd
layout ... simply not the 1st one in the internal xkbmap list -> it's
usually internally chosen as the current one [if applicable]).

Sorry ... the description is maybe little bit confusing ... but it's
probably impossible to explain that without examples ...

Here's the reproduction scenario.

1.)
Create a simple application with one window and two buttons (fill the
callbacks with two different printf outputs, do not quit on click).

2.)
Switch off any kde/gnome/... keyboard layout switchers like kxkb, etc.
in order to avoid conflicts with our scenario.

3.)
execute the following command (you can alter the layouts to Your
favorite):
  setxkbmap us,cz,de -model pc105 -option grp:alt_shift_toggle -variant
,qwerty,nodeadkeys

4.) start Your application, try both buttons (they should work without
problems)

5.) switch to the second layout with Alt+Shift (and test if it is really
active - notepad/shell/etc.)

6.) test both buttons again (the first one should stay jammed)

7.) exit the testing application

8.) switch to the third layout with Alt+Shift (and test if the switch was
successful)

9.) start the testing application and test the buttons again ... (result =
still not working)

10.) exit the application

11.) switch to the 1st layout again - Alt+Shift

12.) start the testing application and test the buttons again ... (result
= working).

------------------------------

OS : Linux (Mandriva/ConnOS)
FLTK ver : 2.0.0
Compiler : gcc (4.4.3/4.4.4)


Link: http://www.fltk.org/str.php?L2493
Version: 2.0-feature

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to