BestImageViewer / geeqie

claiming to be the best image viewer / photo collection browser
http://www.geeqie.org/
GNU General Public License v2.0
453 stars 75 forks source link

Not remembering settings from 'Configure this window...' #966

Open ryliejamesthomas opened 2 years ago

ryliejamesthomas commented 2 years ago

ISSUE TYPE

GEEQIE VERSION

Geeqie 1.7.2 GTK3

OS / DISTRIBUTION

Linux 5.16.1-arch1-1

SUMMARY

Any change I make via Edit > Configure this window... are forgotten when I restart Geeqie.

Particularly I'm interesting in it remembering a different home path. But I've also tried changing layouts, and that gets forgotten too.

This was working fine for me before, but an update seems to have broken things.

Not seeing any errors in the terminal or log window.

Other preferences save fine.

I can't find anything related to a home path in my config file, if that means anything. It's not saved anywhere weird, the usual ~/.config/geeqie

caclark commented 2 years ago

The geeqierc.xml file has two main sections: global and layout Within the layout section is a field named home_path.

You can make a quick check if the problems lies within the config. file by temporarily renaming geeqierc.xml and restarting Geeqie. [edit] This will cause a default config. file settings to be used.

ryliejamesthomas commented 2 years ago

Ah! My config didn't have a layout section. Renaming and generating a new one has fixed my issue.

ryliejamesthomas commented 2 years ago

I don't think this should be closed.

You still have a problem where Geeqie isn't generating elements in the config.

caclark commented 2 years ago

Which elements are not being stored?

ryliejamesthomas commented 2 years ago

I mean, it wasn't able to create the missing layout section and its contents without having to generate a new config file. Seems like a problem to me.

stativ commented 2 years ago

I'm having the same problem. The "Show thumbnails" is also not remembered. This used to work. The settings from "Preferences" are stored correctly though.

ryliejamesthomas commented 10 months ago

For some reason yesterday the geeqierc.xml lost the layout section again and I had to delete and regenerate the config. I'm using version 2.1-1

caclark commented 10 months ago

I cannot replicate this error, which makes things difficult. It looks like that any error in the <layout></layout> section causes the whole thing to be ignored and defaults used. If it happens again copy $HOME/.config/geeqie/geqierc.xml to somewhere else before closing Geeqie. Maybe something in that file will help understanding the problem.

ryliejamesthomas commented 10 months ago

No worries. I'll try and do that next time.