Re: [fltk.bugs] [HIGH] STR #2527: right shift key generates left shift key event in keyboard demo

2011-03-28 Thread Ben Stott

[STR Closed w/Resolution]

Link: http://www.fltk.org/str.php?L2527
Version: 2.0-current
Fix Version: 2.0-current (r8535)





Link: http://www.fltk.org/str.php?L2527
Version: 2.0-current
Fix Version: 2.0-current (r8535)

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [HIGH] STR #2527: right shift key generates left shift key event in keyboard demo

2011-03-26 Thread Ben Stott

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

[STR Active]

Link: http://www.fltk.org/str.php?L2527
Version: 2.0-current
Fix Version: 2.0-current (r8535)


Fixed in Subversion repository.

Albrecht, a similar fix may be able to be applied to 1.3. I can probably
provide a patch if needed, otherwise I'll leave that up to you and I'll
close this sometime on Monday.


Link: http://www.fltk.org/str.php?L2527
Version: 2.0-current
Fix Version: 2.0-current (r8535)

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [HIGH] STR #2527: right shift key generates left shift key event in keyboard demo

2011-02-07 Thread Ben Stott

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

[STR Active]

Link: http://www.fltk.org/str.php?L2527
Version: 2.0-current


So this is definitely a WIN32 specific bug, but it's not due to the fact
that there aren't separate callbacks for the shift functions.
It seems like WIN32 doesn't set lParam(121), like it does for all other
modifing keys to let the 'user' know that it's a right key vs a left key.
If you're capable with the Windows API, do you have any suggestions here?


Link: http://www.fltk.org/str.php?L2527
Version: 2.0-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [HIGH] STR #2527: right shift key generates left shift key event in keyboard demo

2011-01-17 Thread Jim Michaels

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

[STR New]

Link: http://www.fltk.org/str.php?L2527
Version: 2.0-current


I could be wrong, but I think it may be caused by all the shifts being
handled by a common callback.

I was looking at the following lines of code:

void shift_cb(Fl_Button*, void*) {}

  } else if (b-callback() == (Fl_Callback*)shift_cb) {

this might be remedied by using separate callbacks?  but I am just
learning FLTK as of today.  Not new to windows programming.


Link: http://www.fltk.org/str.php?L2527
Version: 2.0-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs