Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12.12, 6.3.2
-
None
Description
I am having an issue on macOS with QOpenGLWidget and VSync, that does not occur with the native NSOpenGLView. NSNotifications sent from another process using NSDistributedNotificationCenter are not consistently processed unless user input is occurring (mouse or keyboard).
I have attached some minimal test projects I put together that demonstrate the issue. I'm not sure whether there is something I'm doing wrong, or if there is a bug in Qt's macOS OpenGL handling somewhere, or if there's a bug in the macOS OpenGL implementation that for whatever reason isn't being hit with the native widget. The Qt project was created with Qt 5 but the issue is the same on Qt 6 given the necessary minor tweaks to get it to build.
I know this is a long shot as it's probably a very rare interaction, but I'd greatly appreciate any ideas for what I might be able to do differently, or some help getting this resolved.
I previously posted about this issue on the forum, but haven't gotten any responses so I decided to make a bug report. Here's a link to the forum post: https://forum.qt.io/topic/138877/qopenglwidget-vsync-causing-issue-with-nsdistributednotificationcenter