| [ Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]
STR #2859
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: | X11 |
Summary: | wait_for_expose sometimes gets incorrectly wedged |
Version: | 1.3-current |
Created By: | ossman |
Assigned To: | manolo |
Fix Version: | 1.3-current (SVN: v9699) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | ossman 07:59 Jul 04, 2012 |
| You can get a window into the state where it will no longer render any updates, because wait_for_expose is incorrectly set to true.
This happens in Fl_Window::resize() in Fl_x.cxx. The code there assumes that the current width/height is what X11 sees, and enlarging must therefore result in an eventual Expose event.
This is incorrect.
What happens is that the program requests a resize from e.g. 200x200 to 100x100. The window manager refuses, which it indicates by sending a resize back with the original 200x200 size. There will be no Expose events in this case, as the window never actually changed size.
The easy fix is to remove the code that sets wait_for_expose in resize(). It is based on flawed assumptions, so it is currently wrong. | |
|
#2 | manolo 08:43 Oct 16, 2012 |
| Fixed in Subversion repository.
Thanks for the fix. | |
[ Return to Bugs & Features ]
|
| |