Save a specific layout

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

mrwul
Posts: 343
Joined: Tue May 25, 2010 7:01 pm

Save a specific layout

Post by mrwul »

Maybe this is a very easy thing, but I haven't found the solution sofar.

- show all files recursive (rmb on a subfolder in the folder tree)
plus
- filter on images

That layout, I'd like to have that saved as a 'userdefined' layout (or button)
adding a name to it.

Is that possible?

Thanks!
=
User avatar
xnview
Author of XnView
Posts: 44916
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Save a specific layout

Post by xnview »

no sorry
Pierre.
mrwul
Posts: 343
Joined: Tue May 25, 2010 7:01 pm

Re: Save a specific layout

Post by mrwul »

Bad luck.
Personally, I donot think it is a 'strange question', meaning, I can imagine switching between default and userdefined layout.
Is this something for a future release?
Or simply too complicated?

=
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Save a specific layout

Post by m.Th. »

...Or simply too complicated?
Hummm....

First of all, I think that we're speaking here about saved FILTERS not Layouts.

Saved layout = a saved arrangement (position+visibility+docking state) of windows/panes and GUI widget states. It is a thing which deals with the GUI.

Saved filter = a saved (composite) filtering condition upon data. It is a thing which deals with the data.

Saved filters can be an interesting thing, if implemented correctly.

Basically a multi-layered (composite) filtering engine consists of multiple pieces of text which describe different conditions - something like 'RATING = 5', 'COLOR = 3', 'FOLDERNAME LIKE "C:\Foo\%"' etc. All these conditions are ANDed between them and put in a WHERE clause of a DB query. Hence saving such a 'filter' means basically saving/loading this text: "WHERE RATING =5 AND COLOR = 3 AND FOLDERNAME LIKE "C:\Foo\%"' which is trivial.

Now the only thing left is to have a global filtering engine which will include also the 'Show All Folders (recursive)' in it, together with other things.

As an aside, it seems that the interest for 'Show All Folders (recursive)' is pretty high these days. :) Also, I spoke offline with other guys which are interested on having it enhanced.

(Note: the above condition - FOLDERNAME LIKE "C:\Foo\%" - isn't quite ok for 'Show All Folders (Recursive)' because the base folder can contain the '%' character. It must be used an escape character for this. More details upon request.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
mrwul
Posts: 343
Joined: Tue May 25, 2010 7:01 pm

Re: Save a specific layout

Post by mrwul »

Thanks!

I understand your points (filters/layouts).

It should then indeed be 'filters' (not layout).

Anyway, in that case, the idea would be to be able to save a view based on specific filters.

Maybe some time in future this will be possible.

=
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Save a specific layout

Post by JohnFredC »

Perhaps the concept of a "View" or "Workspace" or "Project" would be useful to implement in MP.

Options + Database + Layouts + Themes + Filters + Sorting + Open Images, etc.

XnView can be used for so many different things, but getting from one configuration (full interface useful for managing image files, perhaps) to another (minimalist interface for kiosk-like slideshow presentation, for instance) involves several steps, some of which are not easily "undone".

With XnView Classic the user may employ multiple INIs for this purpose and launch a copy of XnView "into" an INI. (Is there an MP command line option for selecting the INI?)

Some years ago I started a thread about a similar issue but the subject languished.
John
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Save a specific layout

Post by m.Th. »

Perhaps the concept of a "View" or "Workspace" or "Project" would be useful to implement in MP.
Yes, but IMHO we should take one step at a time. :)
Is there an MP command line option for selecting the INI?
Yes. Read the release notes for 0.68

Or more directly see here: http://newsgroup.xnview.com/viewtopic.php?f=60&t=29392
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
mrwul
Posts: 343
Joined: Tue May 25, 2010 7:01 pm

Re: Save a specific layout

Post by mrwul »

Crossing my fingers and hoping it will be implemented one day.

Keep up the good work!

=