starc icon indicating copy to clipboard operation
starc copied to clipboard

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

Open hyuri opened this issue 2 years ago • 10 comments

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

  • Pop!_OS 22.04
  • Gnome 42.5 (with third-party theme and extensions)
  • X11

Starc

  • v0.5.4
  • Flatpak

hyuri avatar Jul 04 '23 19:07 hyuri

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

dimkanovikov avatar Jul 05 '23 09:07 dimkanovikov

OS

  • Pop!_OS 22.04
  • Gnome 42.5 (with third-party theme and extensions)
  • X11

Starc

  • v0.5.4
  • Flatpak

hyuri avatar Jul 05 '23 13:07 hyuri

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

hyuri avatar Jul 05 '23 13:07 hyuri

Update description to note bug reports that seem related.

hyuri avatar Jul 05 '23 15:07 hyuri

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

joshua-stone avatar Jul 06 '23 12:07 joshua-stone

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?

dimkanovikov avatar Jul 08 '23 09:07 dimkanovikov

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?

joshua-stone avatar Jul 08 '23 13:07 joshua-stone

@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.

hyuri avatar Jul 08 '23 16:07 hyuri

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 [email protected]

dimkanovikov avatar Jul 08 '23 16:07 dimkanovikov

You can share it with me via email [email protected]

Ok. Sent.

hyuri avatar Jul 08 '23 20:07 hyuri