| [ Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]
STR #3138
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: | MacOS |
Summary: | Side effects of GL window redraw after moving on OS X |
Version: | 1.3.2 |
Created By: | cviotti |
Assigned To: | manolo |
Fix Version: | 1.3.3 |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | cviotti 05:38 Oct 03, 2014 |
| On Mac OS X a window containing OpenGL sub windows redraws every time it is moved. This has the unpleasant side effect of having the window "blink" every time. This behavior can be seen, for example, in the 'fullscrenn' and 'fractal' example codes provided by FLTK (and it seems to happen for both single- and double-buffered windows).
I have tried commenting out the block
if ([nsw containsGLsubwindow] ) { [nsw display];// redraw window after moving if it contains OpenGL subwindows }
inside -windowDidMove (Fl_cocoa.mm), and it seems to 'just work' fine.
Is there any potential danger in doing so? Could this feature be corrected in the future?
Best,
Claudio | |
|
#2 | manolo 10:01 Oct 04, 2014 |
| This has already been changed in the svn repository. Now, this behaviour only occurs with Mac OS X 10.6 and below, because it seems necessary there. The code mentionned above has become if ([nsw containsGLsubwindow] && fl_mac_os_version < 100700) { [nsw display];// with OS < 10.7, redraw window after moving if it contains OpenGL subwindows }
Can the OP confirm whether this fix is satisfactory? | |
|
#3 | cviotti 04:38 Oct 22, 2014 |
| The fix in the svn repository works fine --Claudio | |
|
#4 | manolo 05:19 Oct 22, 2014 |
| Fixed in Subversion repository. | |
[ Return to Bugs & Features ]
|
| |