Classic confinement for Organize My Files

Hi @evan

When program starts it loads user Desktop directory by default. This is the folder under “Default Folder”

To get current user Desktop directory we are using Electron’s app.getPath(desktop)

https://electronjs.org/docs/api/app#appgetpathname

The Desktop folder is not loaded correctly, which leads to broken UI. For me the problem looked like container isolation issue. That’s why I thought that classic confinement needed to overcome this.

Under “Folders” section the user adding folders manually via clicking on add-folder icon on top-left corner. Electron’s dialog.showOpenDialog used there.

https://electronjs.org/docs/api/dialog#methods

Since dialog.showOpenDialog works correctly, but app.getPath(desktop) doesn’t its quite likely to be an Electron issue. I will do additional testing and update the issue with outcome.