Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Nuke freezes when creating a modal window. #18

Closed
sisoe24 opened this issue Feb 18, 2022 · 1 comment · Fixed by #19
Closed

[BUG] Nuke freezes when creating a modal window. #18

sisoe24 opened this issue Feb 18, 2022 · 1 comment · Fixed by #19
Assignees
Labels
bug Something isn't working

Comments

@sisoe24
Copy link
Owner

sisoe24 commented Feb 18, 2022

When sending code that creates a modal window, Nuke freezes completely.

To Reproduce

  1. Send this code to NukeServerSocket
user = nuke.Panel('my panel')
user.addEnumerationPulldown('chooser', 'one two three')
user.show()

NukeServerSocket: 0.4.0
PySide2: 5.12.2
PySide2.QtCore: 5.12.2
Machine: macOS 10.15
Branch: 0.4.0
Python: 3.7.7

@sisoe24 sisoe24 added the bug Something isn't working label Feb 18, 2022
@sisoe24 sisoe24 self-assigned this Feb 18, 2022
@sisoe24 sisoe24 mentioned this issue Feb 18, 2022
@sisoe24
Copy link
Owner Author

sisoe24 commented Feb 18, 2022

This is a Nuke problem since the freeze can be replicated inside the script editor when calling the nuke.executeInMainThread function.

def foo():
    user = nuke.Panel('my panel')
    user.addEnumerationPulldown('chooser', 'one two three')
    user.show()

nuke.executeInMainThread(foo)

With NukeServerSocket 0.4.1, switching the Code Execution Engine in the settings tab to Script Editor will not create any freeze.

@sisoe24 sisoe24 closed this as completed Feb 18, 2022
@sisoe24 sisoe24 pinned this issue Feb 18, 2022
@sisoe24 sisoe24 unpinned this issue Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant