Skip to content

[NSOpenGLContext update] must be called from the main thread if the context has a view #10

Description

@jacobwilliams

This seems to be a similar issue as #5.

I don't have a simple reproducer for this yet, but here is the crash message:

Application Specific Information:
-[NSOpenGLContext update] must be called from the main thread if the context has a view.

I see this sometimes on the Mac (but not all the time) when I have my application open and the Mac goes to sleep (or maybe just the screen… whatever macs do when the screen goes dark). But sometimes when it comes back the program has crashed with this error. If i can get it to happen with the qt example program here i can send a more detailed bug report.

Using macOS 15.7.4, Qt6/pyside6 6.9.3, Python 3.13.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions