FLTK logo

STR #704

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

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:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 cote.jean.ireq
05:36 Jan 17, 2005
Fl_Menu.cxx
25k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#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 ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.