GithubHelp home page GithubHelp logo

Comments (6)

caclark avatar caclark commented on June 14, 2024

Please try:

Open Geeqie and set your preferences for the layout, then go to Edit/Preferences/Windows and click on Use Current Layout For Default.

When you open a new instance do you get your expected behavior?

[Also note the Geeqie man page wrt new instances and the XDG environment variables]

from geeqie.

calestyo avatar calestyo commented on June 14, 2024

Open Geeqie and set your preferences for the layout, then go to Edit/Preferences/Windows and click on Use Current Layout For Default.

Ah thanks, that does indeed work.

I'd guess that for some it may be a bit unexpected, that it does seem to automatically store the settings of the last closed instance and re-use them for the only the next started instance.

But if that's desired behaviour, we can close this issue :-)

from geeqie.

caclark avatar caclark commented on June 14, 2024

I'd guess that for some it may be a bit unexpected, that it does seem to automatically store the settings of the last closed instance and re-use them for the only the next started instance.

I am unsure about this. You can open several Geeqie layout windows, but they will all be running the same instance of the executable (the Layout Window ID will show the ID if that option is enabled).

But if you use the --new-instance option to really open another instance, you will run into the problem that there is only one geeqierc.xml file - and whichever instance is closed last will store its configuration there.

If you want to use multiple instances, you can avoid that problem by using the XDG_* environment variables.

from geeqie.

calestyo avatar calestyo commented on June 14, 2024

I am unsure about this. You can open several Geeqie layout windows, but they will all be running the same instance of the executable (the Layout Window ID will show the ID if that option is enabled).

Ah I hadn't even noticed that they were all running the same process.

So that is, where only the first picked up my "current" settings, which were seemingly somehow stored (but not via the preferences menu), because they were re-used when I closed all windows and started a new geeqie - but not were not re-used when I started a 2nd window.

from geeqie.

caclark avatar caclark commented on June 14, 2024

If you start Geeqie from scratch, the layout settings will be from hard-coded defaults. When you exit, the current layout will be saved (depending on certain Preferences that you may have selected). Next start will use those settings.

Opening an additional new layout window (not a new executable instance), the hard-coded defaults will be used unless you have already set a default layout via Edit/Preferences.

You may also use the command line options:
geeqie --remote --action::NewWindowDefault
geeqie --remote --action::NewWindowFromCurrent

Using an alias will make life easier.

You may also use the above command line actions in a plugin, and place an icon on a status bar.

The relevant menu items, under Windows, can be given keyboard shortcuts.

from geeqie.

calestyo avatar calestyo commented on June 14, 2024

Opening an additional new layout window (not a new executable instance), the hard-coded defaults will be used unless you have already set a default layout via Edit/Preferences.

I guess that's the culprit here... why not also use the "current layout" for that new window? That would IMO be less surprising.

But anyway... there already is a working solution (save it via the menu) so from my PoV we can also just close the issue.
:-)

from geeqie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.