This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Remember folder view settings

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
wanderer
Power Member
Power Member


Joined: 28 Mar 2003
Posts: 1224
Location: Sol

PostPosted: Fri Jun 30, 2017 4:44 am    Post subject: Remember folder view settings Reply with quote

It would be nice for TC to remember folder view settings (on demand). Things like sort order, brief/full/thumbnail, etc. It would be nice to have a new menu option ("save current folder view", much like the "save settings" that currently exists) which would store the current folder's view settings and when the user enters that folder, TC applied those settings otherwise use the defaults. There should also be a way to "forget current view settings", which would delete them and restore the default view for the defined folder.
_________________

- - - Wanderer - - -


»»»»»»»»»»»»»»»»»

Latest TC / Win7x64 SP1 / WinXPx32 SP3
Back to top
View user's profile Send private message
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 9381
Location: Germany

PostPosted: Fri Jun 30, 2017 5:10 am    Post subject: Reply with quote

I don't think this is really a good idea to store really folder-specific view settings. They may lead to a ton of different views. I really prefer the current way of having view modes which can be loaded on demand.

Would you suggest is theoretically already possible but requires quite some manual configuration.

So applying the current view to a new or existing view mode would be nice. In addition adding the current folder to a new or existing auto view mode switch rule would come in handy.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wanderer
Power Member
Power Member


Joined: 28 Mar 2003
Posts: 1224
Location: Sol

PostPosted: Fri Jun 30, 2017 5:19 am    Post subject: Reply with quote

Lefteous wrote:
I don't think this is really a good idea to store really folder-specific view settings. They may lead to a ton of different views.


Well, this would actually lead to a ton of different folder-view combinations. If i understand correctly, what you're proposing is to define specific view-modes and associate each folder with a specific view-mode.

Not bad. That would make things more organized.
_________________

- - - Wanderer - - -


»»»»»»»»»»»»»»»»»

Latest TC / Win7x64 SP1 / WinXPx32 SP3
Back to top
View user's profile Send private message
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 9381
Location: Germany

PostPosted: Fri Jun 30, 2017 6:04 am    Post subject: Reply with quote

2wanderer
Quote:
Well, this would actually lead to a ton of different folder-view combinations.

The question is if these views are really so folder-specific or there are just a bunch of views which are being loaded for some well-defined folders.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wanderer
Power Member
Power Member


Joined: 28 Mar 2003
Posts: 1224
Location: Sol

PostPosted: Fri Jun 30, 2017 6:18 am    Post subject: Reply with quote

Lefteous wrote:
2wanderer
Quote:
Well, this would actually lead to a ton of different folder-view combinations.

The question is if these views are really so folder-specific or there are just a bunch of views which are being loaded for some well-defined folders.


My guess is that it depends on the user. How organized he is.

In any case, having a set of defined views and associate folders with them, seems to be a more organized way. That way you can alter a view and the changes automatically apply to all associated folders.

Me likes. I hope Christian likes too and adds it to his 10-years-long todo list. Smile
_________________

- - - Wanderer - - -


»»»»»»»»»»»»»»»»»

Latest TC / Win7x64 SP1 / WinXPx32 SP3
Back to top
View user's profile Send private message
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 9381
Location: Germany

PostPosted: Fri Jun 30, 2017 8:43 am    Post subject: Reply with quote

Quote:
In any case, having a set of defined views and associate folders with them, seems to be a more organized way. That way you can alter a view and the changes automatically apply to all associated folders.

Well but this is already there...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wanderer
Power Member
Power Member


Joined: 28 Mar 2003
Posts: 1224
Location: Sol

PostPosted: Fri Jun 30, 2017 12:16 pm    Post subject: Reply with quote

Lefteous wrote:
Well but this is already there...


OK, granted i'm not following TC as i used to in the past, but... Did i miss such a thing? Can you pls point me to a direction?
_________________

- - - Wanderer - - -


»»»»»»»»»»»»»»»»»

Latest TC / Win7x64 SP1 / WinXPx32 SP3
Back to top
View user's profile Send private message
tuska
Power Member
Power Member


Joined: 21 May 2007
Posts: 827

PostPosted: Fri Jun 30, 2017 3:00 pm    Post subject: Overview: View Mode | Auto Switch Mode | Custom columns Reply with quote

wanderer wrote:
Can you pls point me to a direction?

Perhaps this can give you an impression or at least a small entrance assistance:
https://ghisler.ch/board/viewtopic.php?p=329833#329833 -> up from quotation 2)

and the following:
Code:
VIEW MODE                      Configuration - Options... - View Mode
---------------------------------------------------------------------------------------------------------------------------------
Name ........................: Title (self-selected name); [Option: See -> Auto Switch Mode - field: "Set this mode:"]
Columns view ................: according to list (default) OR saved "Custom columns view" in the drop-down box can be integrated(!)
Sort order: .................: Descending: Yes / No (hooked = Yes)
Additional sort orders: .....: 1 Name, 2 Ext, 3 Size, 4 Date ---  Ascending / Descending (press the plus-sign)
Tab color and icon ..........: Self-explanatory or simply press F1 for help
Background color ............: Self-explanatory or simply press F1 for help
Background color2 ...........: Self-explanatory or simply press F1 for help
Priority ....................: Explanations: Press F1 for help
Auto-run commands ..........): press F1 for help; press the "+" plus-sign, e.g. em_commands,
............................): Windows splittings [20/80,30/70,40/60,50/50,60/40,70/30,80/20]:
............................): cm_100percent|cm_50percent, cm_100Percent 70|cm_50Percent, cm_100percent -20|cm_100Percent,
............................): Width of the active window (70%): cm_100percent 70
............................): Width of the left window   (20%): cm_100percent -20
............................): The separator line is located BEFORE the vertical buttonbar, a double-click on it = 50:50 view.
Commands (Selection) .......): cm_SrcViewModeList (= Show - Custom View Modes), cm_SrcViewModeList NameOfYourViewMode,
............................): cm_SrcViewMode0 (default View Mode), cm_SrcViewMode1 to 9 (8501-8509); 8510-8749 ***) EDIT2
Command browser ............): cm_CommandBrowser => Search for: cm_SrcViewMode
%COMMANDER_PATH%\wincmd.ini .: sections [ViewModes], [left], [right]
View Mode <Default> ........): You should define here what you want to get as a view when this view mode has finished,
............................): especially in the case of a combination with an Auto Switch Mode.


Code:
AUTO SWITCH MODE               Configuration - Options... - Auto Switch Mode
---------------------------------------------------------------------------------------------------------------------------------
Automatically switch view mode on directory change: Yes / No => Turns the automatic view mode change on/off. (according to Help-F1)
RULES .......................: Rule Summary - is composed of all the lower level-rules and includes the View Mode of
.............................: the field: "Set this mode:". IMPORTANT: Only the same View Mode can be set for several
.............................: lower level-rules, otherwise the last saved View Mode is applied to the rule!
Lower level rule 1-Rule .....: Field content, eg +: Must match or S: Search result, etc.
lower level-rule 1-Directory : Field content or leave it empty
lower level-rule 1-File Types: Field content or leave it empty
Combination with AND / OR ...: click on "More sub-rules" then on "&"(left) to get ... & AND (all match) ... | OR (any match) 
Lower level rule 2-Rule .....: If available - Field content, eg +: Must match or S: Search result, etc.
lower level-rule 2-Directory : Field content or leave it empty
lower level-rule 2-File Types: Field content or leave it empty
Combination with AND / OR ...: click on "More sub-rules" then on "&"(left) to get ... & AND (all match) ... | OR (any match) 
Lower level rule 3-Rule .....: If available - Field content, eg +: Must match or S: Search result, etc.
etc.
Set this mode ...............: Choose this field content by drop-down box: This VIEW MODE is applied to RULES (Rule Summary)!
Rules - Overlaps ...........): TC goes through the list of rules from top to bottom, and applies the first one that applies.
Rules - Overlaps ...........): Use arrow up   (Moves the vertical position one line up) or
Rules - Overlaps ...........): use arrow down (moves the vertical position one line down)
Rules - Overlaps ...........): to change the order in the list of rules [=> Prioritization change!].
Commands (Selection) ........: cm_ConfigViewModeSwitch, cm_ToggleAutoViewModeSwitch (Turn automatic view mode switching on/off)
Command browser ............): cm_CommandBrowser => Search for: auto
%COMMANDER_PATH%\wincmd.ini .: section [ViewModeSwitch]

Code:
CUSTOMS COLUMNS VIEW           Configuration - Options... - Custom columns
---------------------------------------------------------------------------------------------------------------------------------
Commands (Selection) .......): cm_SrcCustomViewMenu (=Show - Custom Columns Mode; Right-click on column headers),
............................): cm_SrcCustomView1 to 9 (271-279); 280-299 ***), [Option: cm_SrcViewMode0 (default View Mode)]
Command browser ............): cm_CommandBrowser => Search for: cm_SrcCustomView

HTH?
-------------
EDIT
Code:
EDIT1: Selection of commands added

EDIT2: ***) Added: It is to be noted that with the following commands, if they are to be used with a button, namely
cm_SrcViewMode1 to 9 (8501-8509); 8510-8749 ...... up from here: cm_SrcViewMode10   ) these must be recorded in the 
cm_SrcCustomView1 to 9 (271 to 279); 280 to 299 .. up from here: cm_SrcCustomView10 ) file TOTALCMD.INC ... ITSELF!
TC only knows the commands, which are in the TOTALCMD.INC!

Examples:
[________View modes_________]=0      [________Custom column views_________]=0
cm_SrcViewMode9=8509;                   cm_SrcCustomView9=279;
cm_SrcCustomView10=8510;                cm_SrcCustomView10=280;
cm_SrcCustomView11=8511;                cm_SrcCustomView11=281;
cm_SrcCustomView12=8512;                cm_SrcCustomView12=282;
cm_SrcCustomView13=8513;                cm_SrcCustomView13=283;
cm_SrcCustomView14=8514;                cm_SrcCustomView14=284;
cm_SrcCustomView15=8515;                cm_SrcCustomView15=285;
...                                     ...
cm_SrcCustomView249=8749;               cm_SrcCustomView29=299;

Limitation:                  
- View modes ........: The number of buttons is limited to 249.
- Custom column views: The number of buttons is limited to  29.

EDIT3: Added - Rules - Overlaps in Auto Switch mode
EDIT4: Added - Field "Priority" in VIEW MODE, Rules - Overlaps: Description of arrows, Limitation, Note; partial formatting
EDIT5: Added - View mode - Auto-run commands - additional commands regarding windows splittings (partially with description).
EDIT6: Added - Rules - Overlaps - Term "Prioritization change", as well as a title for the post

Code:
Important NOTE:                                 
A "Custom Colums view" or a "View Mode" will be preserved until it is changed to another view
a) manually, e.g. with a self-defined button - examples are listed above ...
b) automatically, in the case of a view mode, if a combination with an "Auto Switch Mode"-rule exists
b) and "Automatically switch view mode on directory change:" is hooked


Last edited by tuska on Wed Jul 05, 2017 5:52 am; edited 6 times in total
Back to top
View user's profile Send private message
wanderer
Power Member
Power Member


Joined: 28 Mar 2003
Posts: 1224
Location: Sol

PostPosted: Sat Jul 01, 2017 2:44 am    Post subject: Reply with quote

Wow. Nice one...

Thanks, to both of you for opening my eyes.
_________________

- - - Wanderer - - -


»»»»»»»»»»»»»»»»»

Latest TC / Win7x64 SP1 / WinXPx32 SP3
Back to top
View user's profile Send private message
tuska
Power Member
Power Member


Joined: 21 May 2007
Posts: 827

PostPosted: Sat Jul 01, 2017 9:32 am    Post subject: Selection of commands added Reply with quote

Important additions were made, please see above the editing notes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group