Remember sort order style for each folder...

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

TsunamiZ

Remember sort order style for each folder...

Post by TsunamiZ »

Is it possible to remember sort order style for each folder [like save folder settings]? So each folder can automatically remember its sort style. Thanks.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Hard, but…

Post by Clo »

—> TsunamiZ

:) Hello !

• Indeed, sounds interesting, although it seems hard to get at first sight…

• Maybe using a new separate special INI file could help ?
- Anyway, it should need some additional stuff, humm… I will think to this deeply, and will draw something, perhaps … Image

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
TsunamiZ

Post by TsunamiZ »

Curious, does XnView read/use the standard "desktop.ini" folder settings file?
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Which one ?

Post by Clo »

:? Hum... Hard to localize which one in XP, but formerly under Win 98 SE, I always saw these (hidden) files almost … empty !
- So, I guess that it's much better that a programme doesn't use the Windows' caboodle, as far as possible, this avoids a lot of annoyances and bad surprises… ;)
Just for the fun, the <desktop.ini> files I found out in my XP HD only :

e:\Documents and Settings\CLAUDE\Local Settings\desktop.ini
e:\Documents and Settings\LocalService\Local Settings\desktop.ini
e:\Documents and Settings\NetworkService\Local Settings\desktop.ini
e:\Documents and Settings\CLAUDE\Recent\Desktop.ini
e:\RECYCLER\S-1-5-21-1390067357-308236825-682003330-1003\desktop.ini
e:\Documents and Settings\All Users\Menu Démarrer\Programmes\Jeux\desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\Docs_PDF_Henri sur Celeron-xp\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\a2 sur Celeron-xp\Desktop.ini
e:\Documents and Settings\All Users\Menu Démarrer\Programmes\OpenOffice.org 2.0\Desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temp\Historique\History.IE5\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temp\Temporary Internet Files\Content.IE5\3HG2TZ0X\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temp\Temporary Internet Files\Content.IE5\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temp\Temporary Internet Files\Content.IE5\PVY4DSYA\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temp\Temporary Internet Files\Content.IE5\W1SLK767\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temp\Temporary Internet Files\Content.IE5\YWP86HX9\desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\site-multima sur 166 (Claude33)\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\a-3 sur 166 (Claude33)\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\cd-romz sur 166 (Claude33)\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\f4 sur 166 (Claude33)\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\help-worksho sur 166 (Claude33)\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\paintbrush16 sur 166 (Claude33)\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\rambooster sur 166 (Claude33)\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\system sur 166 (Claude33)\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\x sur 166 (Claude33)\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\zip sur 166 (Claude33)\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\zip-archives sur 166 (Claude33)\Desktop.ini
e:\Documents and Settings\CLAUDE\Voisinage réseau\data sur Celeron-xp\Desktop.ini
e:\Documents and Settings\All Users\Application Data\desktop.ini
e:\Documents and Settings\All Users\Documents\desktop.ini
e:\Documents and Settings\All Users\Menu Démarrer\Programmes\desktop.ini
e:\Documents and Settings\CLAUDE\Application Data\desktop.ini
e:\Documents and Settings\CLAUDE\Menu Démarrer\desktop.ini
e:\Documents and Settings\Default User\Application Data\desktop.ini
e:\Documents and Settings\Default User\Local Settings\desktop.ini
e:\Documents and Settings\Default User\Menu Démarrer\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Application Data\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Local Settings\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Menu Démarrer\desktop.ini
e:\Documents and Settings\CLAUDE\Application Data\Microsoft\Internet Explorer\Quick Launch\desktop.ini
e:\Documents and Settings\CLAUDE\Menu Démarrer\Programmes\desktop.ini
e:\Documents and Settings\CLAUDE\Favoris\Desktop.ini
e:\Documents and Settings\CLAUDE\Mes documents\desktop.ini
e:\Documents and Settings\CLAUDE\Mes documents\Ma musique\Desktop.ini
e:\Documents and Settings\CLAUDE\Mes documents\Mes images\Desktop.ini
e:\Documents and Settings\CLAUDE\Menu Démarrer\Programmes\Accessoires\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Historique\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temporary Internet Files\desktop.ini
e:\Documents and Settings\LocalService\Local Settings\Temporary Internet Files\Content.IE5\0PM7GDEN\desktop.ini
e:\Documents and Settings\LocalService\Local Settings\Temporary Internet Files\Content.IE5\8TQNCLU3\desktop.ini
e:\Documents and Settings\LocalService\Local Settings\Temporary Internet Files\Content.IE5\GD2Z0PQ3\desktop.ini
e:\Documents and Settings\LocalService\Local Settings\Temporary Internet Files\Content.IE5\OXUB4DYB\desktop.ini
e:\Documents and Settings\All Users\Menu Démarrer\desktop.ini
e:\Documents and Settings\All Users\Menu Démarrer\Programmes\Accessoires\Outils système\desktop.ini
e:\Documents and Settings\All Users\Menu Démarrer\Programmes\Démarrage\desktop.ini
e:\Documents and Settings\All Users\Menu Démarrer\Programmes\Outils d'administration\desktop.ini
e:\Documents and Settings\CLAUDE\Menu Démarrer\Programmes\Accessoires\Accessibilité\desktop.ini
e:\Documents and Settings\CLAUDE\Menu Démarrer\Programmes\Accessoires\Divertissement\desktop.ini
e:\Documents and Settings\CLAUDE\Menu Démarrer\Programmes\Démarrage\desktop.ini
e:\Documents and Settings\Default User\Menu Démarrer\Programmes\Accessoires\Accessibilité\desktop.ini
e:\Documents and Settings\Default User\Menu Démarrer\Programmes\Accessoires\desktop.ini
e:\Documents and Settings\Default User\Menu Démarrer\Programmes\Accessoires\Divertissement\desktop.ini
e:\Documents and Settings\Default User\Menu Démarrer\Programmes\Démarrage\desktop.ini
e:\Documents and Settings\Default User\Menu Démarrer\Programmes\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Menu Démarrer\Programmes\Accessoires\Accessibilité\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Menu Démarrer\Programmes\Accessoires\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Menu Démarrer\Programmes\Accessoires\Divertissement\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Menu Démarrer\Programmes\Démarrage\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Menu Démarrer\Programmes\desktop.ini
e:\WINDOWS\Fonts\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Historique\History.IE5\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temporary Internet Files\Content.IE5\71E57MT3\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temporary Internet Files\Content.IE5\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temporary Internet Files\Content.IE5\RED58AYJ\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temporary Internet Files\Content.IE5\TNK4UAKL\desktop.ini
e:\Documents and Settings\CLAUDE\Local Settings\Temporary Internet Files\Content.IE5\V8T42Z0S\desktop.ini
e:\Documents and Settings\Default User\Local Settings\Historique\desktop.ini
e:\Documents and Settings\Default User\Local Settings\Historique\History.IE5\desktop.ini
e:\Documents and Settings\Default User\Local Settings\Temporary Internet Files\Content.IE5\71E57MT3\desktop.ini
e:\Documents and Settings\Default User\Local Settings\Temporary Internet Files\Content.IE5\desktop.ini
e:\Documents and Settings\Default User\Local Settings\Temporary Internet Files\Content.IE5\RED58AYJ\desktop.ini
e:\Documents and Settings\Default User\Local Settings\Temporary Internet Files\Content.IE5\TNK4UAKL\desktop.ini
e:\Documents and Settings\Default User\Local Settings\Temporary Internet Files\Content.IE5\V8T42Z0S\desktop.ini
e:\Documents and Settings\Default User\Local Settings\Temporary Internet Files\desktop.ini
e:\Documents and Settings\LocalService\Local Settings\Historique\desktop.ini
e:\Documents and Settings\LocalService\Local Settings\Historique\History.IE5\desktop.ini
e:\Documents and Settings\LocalService\Local Settings\Temporary Internet Files\Content.IE5\desktop.ini
e:\Documents and Settings\LocalService\Local Settings\Temporary Internet Files\desktop.ini
e:\Documents and Settings\NetworkService\Local Settings\Historique\desktop.ini
e:\Documents and Settings\NetworkService\Local Settings\Historique\History.IE5\desktop.ini
e:\Documents and Settings\NetworkService\Local Settings\Temporary Internet Files\Content.IE5\71E57MT3\desktop.ini
e:\Documents and Settings\NetworkService\Local Settings\Temporary Internet Files\Content.IE5\desktop.ini
e:\Documents and Settings\NetworkService\Local Settings\Temporary Internet Files\Content.IE5\RED58AYJ\desktop.ini
e:\Documents and Settings\NetworkService\Local Settings\Temporary Internet Files\Content.IE5\TNK4UAKL\desktop.ini
e:\Documents and Settings\NetworkService\Local Settings\Temporary Internet Files\Content.IE5\V8T42Z0S\desktop.ini
e:\Documents and Settings\NetworkService\Local Settings\Temporary Internet Files\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Local Settings\Historique\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Local Settings\Historique\History.IE5\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Local Settings\Temporary Internet Files\Content.IE5\71E57MT3\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Local Settings\Temporary Internet Files\Content.IE5\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Local Settings\Temporary Internet Files\Content.IE5\RED58AYJ\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Local Settings\Temporary Internet Files\Content.IE5\TNK4UAKL\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Local Settings\Temporary Internet Files\Content.IE5\V8T42Z0S\desktop.ini
e:\WINDOWS\system32\config\systemprofile\Local Settings\Temporary Internet Files\desktop.ini
e:\Documents and Settings\CLAUDE\SendTo\desktop.ini
e:\Documents and Settings\Default User\SendTo\desktop.ini
e:\WINDOWS\Downloaded Program Files\desktop.ini
e:\WINDOWS\Offline Web Pages\desktop.ini
e:\WINDOWS\system32\config\systemprofile\SendTo\desktop.ini
e:\Documents and Settings\All Users\Documents\Ma musique\Desktop.ini
e:\Documents and Settings\All Users\Documents\Ma musique\Échantillons de musique\desktop.ini
e:\Documents and Settings\All Users\Documents\Mes images\Desktop.ini
e:\Documents and Settings\All Users\Documents\Mes images\Échantillons d'images\desktop.ini
e:\Documents and Settings\All Users\Menu Démarrer\Programmes\Accessoires\desktop.ini
e:\Documents and Settings\All Users\Menu Démarrer\Programmes\Accessoires\Communications\desktop.ini
e:\Documents and Settings\All Users\Menu Démarrer\Programmes\Accessoires\Accessibilité\desktop.ini
e:\Documents and Settings\All Users\Menu Démarrer\Programmes\Accessoires\Divertissement\desktop.ini
e:\WINDOWS\Tasks\desktop.ini


- I begin to cogitate about this, don't worry !

:mrgreen: KR
Claude
Clo
Last edited by Clo on Sat Feb 25, 2006 3:58 am, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice
ckit
XnThusiast
Posts: 2446
Joined: Tue Feb 17, 2004 1:11 am
Contact:

Post by ckit »

Are you sure, that's all of them? :)

LMAO!
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

How to save these sorting orders ?

Post by Clo »

:) Hello !

• First, I think still that a special INI is required to simplify the thingy… It could be built like :

[Section #1]

DirPath= Path of the directory
SortOrder = Flag

Image0 : General current default (= non-specified)
Image1 : Name
Image2 : Name (numeric)
Image3 : Extension
Image4 : Date
Image5 : EXIF Date
Image6 : File Type
Image7 : File Size
Image8 : Description
Image9 : Embedded comments
; Inverse orders :
Image–1 : Name (inverse)
Image–2 : Name (numeric inverse)
Image–3 : Extension (inverse)
Image–4 : Date (inverse)
Image–5 : EXIF Date (inverse)
Image–6 : File Type (inverse)
Image–7 : File Size (inverse)
Image–8 : Description (inverse)
Image–9 : Embedded comments (inverse)

;
; Whether anything doesn't match, the “0” default might be applied…

[Section #2]

… and so on for all visited directories…

• Just a start ! Enough for that night :P

:mrgreen: Kind regards,
Claude
Clo
Last edited by Clo on Sat Feb 25, 2006 3:57 am, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Not at all !

Post by Clo »

—> ckit

:D Hi !

• Not sure at all ! And there are only the E:\… HD ones, I've another HD with another WinDung…

• Only those that Total Commander found out !

- Hence, I guess that a standalone system could be better, rather than such a mess ! :P

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
TsunamiZ

Post by TsunamiZ »

But since, desktop.ini is used by other file mangers, perhaps it wouldn't hurt to stick to the standard.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

The rest…

Post by Clo »

:D Finally, forging ahead, the rest of the needed stuff is shown below :

——————— Image——Image

• A supplemental menu-entry in the browser from the “Sort by…” button with (if possible) a 3-state tick-box.
- It's shown semi-ticked (grey tick¦lighter greyed background) so using the “Automatic” feature on the small dialogue beside.
- Quite unticked (no tick¦white) should mean that the general sorting order set above in the menu is applied.
- Fully ticked (black tick¦white) should mean that a new order is forced, hence the dialogue'ld appear again at the next change.

• Either the “YES” or the “NO” button might close the box…

• If one should need to display the dialogue again for any reason in the meantime, while the “Automatic” feature is set, it could be possible to create an extra INI entry in <xnview.ini> like :

[SectionXxx…]

SortOrderDialogue = Flag

Image0 : Not displayed (means that “Automatic” is active still)
Image1 : The dialogue shall be displayed again when XnView'll be restarted after a manual change here.

• Well, now really ended ! ;)
TsunamiZ wrote:But since, desktop.ini is used by other file mangers, perhaps it wouldn't hurt to stick to the standard.
- IMHO :
1. XnView is not a file manager,
2. Anything as "Standard" sucks for me ! :twisted:

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
TsunamiZ

Post by TsunamiZ »

remember sort order style for each folder anytime soon?
JohnLakkas
Posts: 3
Joined: Thu Jun 08, 2006 6:24 am
Location: Patras

Post by JohnLakkas »

If you finally decide to enable such feature to remember some options in each folder, please make it optional! Because every single program puts some save files and after a while folders get a bunch of them (especially the thumb files)!
User avatar
xnview
Author of XnView
Posts: 34069
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

JohnLakkas wrote:If you finally decide to enable such feature to remember some options in each folder, please make it optional! Because every single program puts some save files and after a while folders get a bunch of them (especially the thumb files)!
I couldn't add it for next release...
Pierre.
boogiepop
Posts: 7
Joined: Fri Jan 15, 2010 5:00 pm

Re: Remember sort order style for each folder...

Post by boogiepop »

I'm gonna go ahead and bump this 4 years old thread to ask whatever happened to this feature?
User avatar
helmut
Posts: 8219
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Remember sort order style for each folder...

Post by helmut »

boogiepop wrote:I'm gonna go ahead and bump this 4 years old thread to ask whatever happened to this feature?
+1

Not sure whether desktop.ini should be used or not. Perhaps the ideal way would be an option to choose whether using desktop.ini or an xnview-desktop.ini.

(I also think this would be a nice feature and support this. A more sophistic way would be a full light table for arbitrary moving images around, there are some topics here in the forum.)
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Remember sort order style for each folder...

Post by JohnFredC »

In MP (not regular XnView, unfortunately), the .xnviewsort file is an ideal container for this (and other) information about how XnView should display and behave in the folder.

( IMO Pierre's decision to use a private XnView MP settings file stored in each folder (currently called .xnviewsort) is a breakthrough for XnView functionality. Potentially very, very useful! )
John
Post Reply