segfaults in test suite
I observed segfaults in the following tests, yet it remains unclear at this point what causes it:
- test_setting_dialog
- test_bec_dock
It is reproducible (on linux, haven't tested mac) with pytest -v --count=100 --random-order ./tests/unit_tests/test_setting_dialog.py
Moreover, apply_theme leads to segfaults in bec_figure tests and related tests. Disabling the methods prevents segfaults. According to @guijar_m, this could be related to the app.setStyleSheet method.