FLTK logo

STR #52

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 #52

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:4 - High, e.g. key functionality not working
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:FLUID's callback editor (Fl_Text_Editor Bug)
Version:1.1.4rc1
Created By:ciudadsatan.hotmail
Assigned To:mike
Fix Version:1.1.4
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 mike
13:16 May 27, 2003
str52.patch
2k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 ciudadsatan.hotmail
12:28 May 27, 2003
In fluid's widget editor, when editing callbacks, the "revert", "cancel" and "ok" buttons aren't working correctly.

Changes are never saved, unless Enter, Delete or Backspace are pressed. When one of these keys is pressed, all changes are applied immediately, not even "revert" or "cancel" can undo them, even if more changes are entered after that keypress.

BTW, only callback changes can be reverted or canceled, all other changes are applied immediately, and can't be undone.

Tested only in mingw/win98 and redhat.
 
 
#2 mike
12:36 May 27, 2003
Confirmed the problem on a Linux machine, looking into it.  As for the cancel/revert stuff not working, this is a long-standing issue that likely won't be resolved until 2.0 (feel free to file a separate STR against 2.0 for that...)  
 
#3 mike
13:18 May 27, 2003
OK, this appears to have been a bug in the Fl_Text_Editor widget; the compose character handling was not setting changed() nor was it calling the callback for FL_WHEN_CHANGED...

I've attached a patch that fixes the problem to this STR; please let me know if you still experience problems.
 
 
#4 ciudadsatan.hotmail
17:36 May 27, 2003
Well, at least the patch made me happy: no changes are lost now. The only issue remaining is that "revert" and "cancel" are now completely useless.
 
 
#5 mike
04:17 May 31, 2003
Hmm, yeah.  I'll see if implementing the cancel/revert stuff is feasible for the 1.1.4 timeframe, or if we'll just drop those buttons for now...  
 
#6 mike
21:30 Jun 14, 2003
Hiding the cancel and revert buttons for now...  
     

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'.