story-apps / starc

Reinventing the screenwriting software.
https://starc.app
GNU General Public License v3.0
236 stars 27 forks source link

[Bug] Show/Hide state of panels not being remembered #136

Open hyuri opened 1 year ago

hyuri commented 1 year ago

Every time I open a project, the left panel shows up.

The show/hide state of panels should be remembered, saved in the project file itself, so that when you open a project, it goes back to exactly how you left off.

Another option is to save the show/hide state of panels in the app installation configuration. But the downside is: when you move your project to another installation, that info is not retained.

Seems related to #114 and #128

OS

Starc

dimkanovikov commented 1 year ago

This should work out of the box. What environment and app installation do you use?

hyuri commented 1 year ago

OS

Starc

hyuri commented 1 year ago

Updated title and description to reflect it's a bug.

hyuri commented 1 year ago

Update description to note bug reports that seem related.

joshua-stone commented 1 year ago

Where is the file storing the panel state located on the filesystem?

dimkanovikov commented 1 year ago

Where is the file storing the panel state located on the filesystem?

In the standard .config folder. I checked this with the pop_os, and everything works fine in the clean installation.

@hyuri can you please a bit more info about your theme and extensions?

joshua-stone commented 1 year ago

Where is the file storing the panel state located on the filesystem?

In the standard .config folder.

Which files should be present in that folder? I see these:

$ find ~/.var/app/dev.storyapps.starc/config
/var/home/jstone/.var/app/dev.storyapps.starc/config
/var/home/jstone/.var/app/dev.storyapps.starc/config/user-dirs.dirs
/var/home/jstone/.var/app/dev.storyapps.starc/config/Story Apps
/var/home/jstone/.var/app/dev.storyapps.starc/config/Story Apps/Story Architect.conf
/var/home/jstone/.var/app/dev.storyapps.starc/config/QtProject.conf

I'm also not sure which properties to look for with regards to window state.

I checked this with the pop_os, and everything works fine in the clean installation.

@hyuri can you please a bit more info about your theme and extensions?

Was the clean installation you tried using flatpak?

hyuri commented 1 year ago

@hyuri can you please a bit more info about your theme and extensions?

Is there a way I can share this in private with both of you? I'd rather not make this info public, to avoid a potential future attacker who may be looking for a way to target my system and may find this thread.

dimkanovikov commented 1 year ago

Which files should be present in that folder? I see these:

.../Story Apps/Story Architect.conf is the main one, where all the app preferences stored.

Was the clean installation you tried using flatpak?

Exactly.

Is there a way I can share this in private with both of you?

You can share it with me via email support@starc.app

hyuri commented 1 year ago

You can share it with me via email support@starc.app

Ok. Sent.