Repository navigation
Checked the dark theme in project general and main windows went blank #867
Description
In the project went too Settings > General, checked Dark Theme and when returning to the project window all the interface has gone blank.
I can create a new project which is blank, close the app reopen it and it open correctly the new project. I I reopen the broken one I have the blank gui
Ver: 0.24.0
OS: Osx 15.5 / M2
Conslole logs :
/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/store/scrapbook.js:1 /Users/XXXX/Library/Application Support/eezstudio/scrapbooks/Default.eez-scrapbook
/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/store/scrapbook.js:1 /Users/XXXX/Library/Application Support/eezstudio/scrapbooks/Default.eez-scrapbook
/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/store/open-projects-manager.js:1 loadProject /Users/XXXX/WebDev/eez-projects/test/test.eez-project
/Applications/EEZ Studio.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:188 TypeError: Cannot read properties of undefined (reading 'general')
at Object.isOptional (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/project/project.js:1:29888)
at isPropertyOptional (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/core/object.js:1:6788)
at isOptional (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/store/helper.js:1:11609)
at canCopy (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/store/helper.js:1:11774)
at TreeObjectAdapter.canCopy (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/core/objectAdapter.js:1:5988)
at TreeAdapter.canCopy (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/core/objectAdapter.js:1:13748)
at _b.canCopy (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/ui-components/ListNavigation.js:1:5939)
at get canCopy (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/store/index.js:1:27702)
at _b.render (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/project/ui/Toolbar.js:1:6207)
at Object.Q [as _allowStateChanges] (/Applications/EEZ Studio.app/Contents/Resources/app.asar/node_modules/mobx/dist/mobx.cjs.production.min.js:1:7227)
Li @ /Applications/EEZ Studio.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:188
/Applications/EEZ Studio.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:127 Uncaught TypeError: Cannot read properties of undefined (reading 'general')
at Object.isOptional (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/project/project.js:1:29888)
at isPropertyOptional (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/core/object.js:1:6788)
at isOptional (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/store/helper.js:1:11609)
at canCopy (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/store/helper.js:1:11774)
at TreeObjectAdapter.canCopy (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/core/objectAdapter.js:1:5988)
at TreeAdapter.canCopy (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/core/objectAdapter.js:1:13748)
at _b.canCopy (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/ui-components/ListNavigation.js:1:5939)
at get canCopy (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/store/index.js:1:27702)
at _b.render (/Applications/EEZ Studio.app/Contents/Resources/app.asar/build/project-editor/project/ui/Toolbar.js:1:6207)
at Object.Q [as _allowStateChanges] (/Applications/EEZ Studio.app/Contents/Resources/app.asar/node_modules/mobx/dist/mobx.cjs.production.min.js:1:7227)
Activity
[-]Check the darrk theme in general and main windows went blank[/-][+]Checked the dark theme in project general and main windows went blank[/+]