| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #704
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 2 - Specific to an operating system |
Subsystem: | X11 |
Summary: | Callback function not called under XPhoton/QNX |
Version: | 1.1.6 |
Created By: | cote.jean.ireq |
Assigned To: | mike |
Fix Version: | 1.1.7 (SVN: v4051) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | cote.jean.ireq 05:36 Jan 17, 2005 |
| Under QNX/XPhoton, the menu's callback are not called because a FL_MOVE is called right after a FL_RELEASE inside the menuwindow::handle(int e) method. Works fine under QNX/XFree86!
I've try a patch and it's working. Can find why FL_MOVE event is called after FL_RELEASE.
I've had 5 lines inside the method menuwindow::handle(int e)
... case FL_ENTER: case FL_MOVE: case FL_PUSH: case FL_DRAG: { #if defined(__QNX__) // in QNX an event FL_MOVE is send right after FL_RELEASE if(pp.state == DONE_STATE) // I had this patch for XPhoton/QNX return 1; #endif int mx = Fl::event_x_root(); int my = Fl::event_y_root(); int item=0; int mymenu; ... | |
|
#2 | mike 10:57 Feb 05, 2005 |
| I hesitate to include this fix since it sounds like a serious bug in the X11 on QNX...
| |
|
#3 | mike 13:52 Feb 24, 2005 |
|
OK, after reviewing the change, I decided to include it in 1.1.7 with some minor formatting/documentation corrections. | |
[ Return to Bugs & Features ]
|
| |