There have been several session management issues fixed in UltraCompare Professional for Windows v15.0.0.1006 and some enhancements have been made, too.
There is now the command
Save Active Session As New in addition to
Save Active Session in menu
Session and in context menu of the
Sessions pane of
Explorer & Sessions view in comparison to UC v14.00.
The commands
Save Active Session and
Save Active Session As New in menu
Session do the same for a new session. Both just add the new session to the list of saved sessions with asking the user to confirm this saving process if there is by chance already a session saved with same name as the new session.
Of course the user can decide to cancel the saving process to first give the new session a different name in the session properties dialog before adding the session to the list of saved sessions.
A new session is always added by both commands to the list of saved sessions even if the session name is not changed by the user. An existing session in list of saved sessions is never overwritten by a new session.
Renaming the session can be done also after saving the new session via
Session Properties in menu
Sessions or by right clicking on the session on
Sessions pane in
Explorer & Sessions view and clicking in context menu on
Rename Session.
For a session loaded before from the list of saved sessions the command
Save Active Session just results in saving all properties of the active session. The command
Save Active Session As New can be used to add a copy of a loaded session to the list of saved sessions after confirming to save this copy with same session name as the already loaded session.
The session name of this copy should be next changed either via the
Session Properties in menu
Sessions or by right clicking on the session on
Sessions pane in
Explorer & Sessions view and clicking in context menu on
Rename Session
For a session loaded from the list of saved sessions all changes made on the properties are written back immediately to saved session silently.
So if a session is loaded and something is changed either via the
Session Properties dialog or the
Legend & Filters view (only for a folder comparison/sync session) or the file/folder fields above the comparison panes, those changes are always saved immediately into file
%APPDATA%\IDMComp\UltraCompare\UCSessions.dat resulting in a permanent update of the loaded session.
The view
Legend & Filters does not contain any option on a text comparison which is stored in a text comparison session. Just the
Legend & Filters view of a folder comparison/sync session contains also session properties which can be changed and are saved immediately after making the change for a session loaded before from the list of saved sessions.
For adding a new session to the list of saved sessions based on an already saved session it is necessary to
- load the session,
- use command Save Active Session As New and confirm adding the session with a name another saved session already has,
- use command Session Properties to change the name of the session and other options including file and folder names.
It is currently in UC v15.0.0.1006 with the updated session management not possible to use a loaded session for various files/folders with no other options changed, or with just a few options changed, without overwriting the saved session automatically on every modification done via the user interface.
Setting the read-only attribute on file
UCSessions.dat in directory
%APPDATA%\IDMComp\UltraCompare\ is no workaround as UC does not load the sessions from the file if read-only attribute is set on this file.
So a saved session cannot be really used with UC v15.0.0.1006 for having a template not automatically updated on a properties change for various file or folder comparisons.