| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #831
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 2 - Specific to an operating system |
Subsystem: | OpenGL |
Summary: | move OpenGL window outside the screen and back - fltk stuck! |
Version: | 1.1.6 |
Created By: | xovo |
Assigned To: | matt |
Fix Version: | 1.1-current (SVN: v4456) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | xovo 13:14 Apr 23, 2005 |
| When moving an OpenGL window outside the screen and then back again lets fltk get stuck. Debugging shows that the draw() method gets called repeatedly, but no other callback. Please see the attached code - for shortness there's no actual draw function implementation, but that doesn't make a difference.
greetings, Thomas
| |
|
#2 | mike 15:07 Apr 23, 2005 |
|
OS, compiler, and graphics card please!
| |
|
#3 | matt 16:09 Apr 23, 2005 |
|
| |
|
#4 | matt 16:13 Apr 23, 2005 |
|
OP: Win XP SP2, MSVC .NET 2003, ATI 7000 VE
I checked on my XP SP2 w/ VC6 and ATI Radeon X300 Series and can't duplicate the bug.
Does this happen with any of the test programs? If so, please send me the binary (fltk@matthiasm.com). If this only happens in your own program, please try to slim the source code down until I can easily compile it and send me that.
Thanks!
| |
|
#5 | matt 16:13 Apr 23, 2005 |
|
OP: Win XP SP2, MSVC .NET 2003, ATI 7000 VE
I checked on my XP SP2 w/ VC6 and ATI Radeon X300 Series and can't duplicate the bug.
Does this happen with any of the test programs? If so, please send me the binary (fltk@matthiasm.com). If this only happens in your own program, please try to slim the source code down until I can easily compile it and send me that.
Thanks!
| |
|
#6 | matt 16:29 Apr 23, 2005 |
|
I spoke too soon.
I did find the attached source code (doh) and ran it. Nice effect: my whole screen starts flickering and windows jump all over the place like firework. This does not happen if I remove the clear_border() call. | |
|
#7 | xovo 11:36 May 05, 2005 |
| removing clear_border() doesn't help for me.
T | |
|
#8 | mike 07:09 May 12, 2005 |
| Please try the attached patch and let me know if this resolves your problems. | |
|
#9 | matt 02:48 Jul 25, 2005 |
| The problem seems to be an idefinite repeat of the WM_PAINT message. The driver sends an internale WM_PAINT (one that does not contain an update region). FLTK then creates a union with the still existin 'i->region' of the OpenGL window, causing yet another WM_PAINT message.
The fix is to not run through the WM_PAINT handler at all if there is no update region (as suggested by Microsoft). This change is definetly debatable, since it does modify some internal FLTK behavior. I will commit it anyways for now, but we should pay very close attention to redraw problems by those who use the svn releases. | |
|
#10 | matt 02:52 Jul 25, 2005 |
| Fixed in Subversion repository. | |
[ Return to Bugs & Features ]
|
| |