STR #1356

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 ]

STR #1356

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:4 - High, e.g. key functionality not working
Scope:2 - Specific to an operating system
Subsystem:Core Library
Summary:Fl_Menu related crash
Created By:kontakt.andreas-schoemann
Assigned To:matt
Fix Version:1.1-current (SVN: v5259)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files

Trouble Report Comments:

Name/Time/Date Text top right image
#1 kontakt.andreas-schoemann
23:00 Jul 16, 2006
Open demo.exe. Choose Fl_Menu. Click 'menubutton'. Now leave the widget, i.e. move the mouse outside the widget area (the popup menu is still visible). When now pressing the down arrow key FLTK crashes.

OS: Windows
FLTK: v.1.1.x_r5252
Compiler: gcc
#2 torsten.giebl
03:53 Jul 17, 2006
This happens on my system, too.  
#3 wilson.afn
05:21 Jul 17, 2006
The bad news is that this also occurs in Linux rev 5221.  The good new is that it occurs in Linux rev 5221, and thus there may be some hope of fixing it.  
#4 wilson.afn
06:11 Jul 17, 2006
An evil little bug.  When the segfault occurs (FLTK 1.1 rev 5257, FC5, GCC4.1.1) in Fl_Menu's static routine, "forward()", there is some sort of event grab occuring.  Subsequent events, including commands to GDB, are diverted into an event black hole, and the X server is effectively locked up.  Ctl-Alt-Backspace, startx, cd <fltk>/test and you're ready for  the next iteration.

Perhaps someone wiser can just look at the code and quickly diagnose the problem.  I hope it's not yet another manifestation of the menu fix/refix/rerefix/... I stirred up six months or so ago!
#5 matt
13:35 Jul 17, 2006
Fixed in Subversion repository.

Please verify with other applications. Please also test the right mouse button with popup menus.
bottom left image   bottom right image

Return to Bugs & Features ]


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