View Issue Details

IDProjectCategoryView StatusLast Update
0034983LazarusLCLpublic2019-04-26 21:43
ReporterChris Rorden Assigned ToDmitry Boyarintsev  
Status closedResolutionfixed 
PlatformMacBook 2015 Retina 13"OSDarwin 
Product Version2.1 (SVN) 
Summary0034983: Cocoa: OpenGL does not display correctly when compiled on Mojave.
DescriptionI realize that Mojave deprecates OpenGL, but with the current SVN one can build OpenGL applications on MacOS 10.13 that work on BOTH MacOS 10.14 and 10.13. However, if you build the OpenGL project on 10.14 the OpenGL context does not repaint on 10.14 (and you get a blank panel). Surprisingly, the project compiled on 10.14 DOES run on 10.13.

To summarize, for OpenGL projects
 Compiled on 10.13: Runs on either 10.13 or 10.14
 Compiled on 10.14: Runs on 10.13 only!

Seems that "invalidate" does not call a re-paint.
Steps To ReproduceOpen the OpenGL projects that come with Lazarus (/Lazarus/components/opengl/example).
Attempt to run:
and note a blank screen when compiled on MacOS 10.14

Change the line
to read
and recompile - things should work.
TagsNo tags attached.
Fixed in Revision61061
Attached Files


Dmitry Boyarintsev

2019-04-26 15:31

developer   ~0115825

please test and close if ok

Issue History

Date Modified Username Field Change
2019-01-31 19:03 Chris Rorden New Issue
2019-04-26 15:31 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2019-04-26 15:31 Dmitry Boyarintsev Status new => resolved
2019-04-26 15:31 Dmitry Boyarintsev Resolution open => fixed
2019-04-26 15:31 Dmitry Boyarintsev Fixed in Revision => 61061
2019-04-26 15:31 Dmitry Boyarintsev LazTarget => -
2019-04-26 15:31 Dmitry Boyarintsev Widgetset Cocoa => Cocoa
2019-04-26 15:31 Dmitry Boyarintsev Note Added: 0115825
2019-04-26 21:43 Chris Rorden Status resolved => closed