#####################
### Session Manager v7.00 ###
#####################
Hi everyone,
Here comes a HUGE maintenance release, with a few enhancements, and lots of changes mainly under the hood.
Most notable (full list and more details available below in changelog) :
+++
Mouse modifiers (MM) when clicking on a session name
++
Append tabs: Now imports only non-duplicate tabs, only in visible pane(s), at the end, and with tab name colored
+*
Temporary session: Now a single renamed action "Copy to Temporary Session" which behaves like a backup (no loading)
***
Cleaner interface (hopefully), with old "Options" menu now split and reorganized into "Actions" and "Options"
+! Case discrepancies fixed, when loading externally (e.g. Project instead of project), plus quickloading support
+++ New "Options >
Maintenance Check..." that checks, optimizes and fixes several potential problems
i.e. integrity and completeness of SessionManager.ini, XYplorer tweaks, orphan tabsets...
Note: Also performed automatically on Session Manager update
+*!
For better performance/experience, 6 XYplorer tweaks are now checked on Maintenance/Update
(see full changelog)
+ "Layout Tools": Added "Toggle Dark Mode" for quick access
+ "Actions > Change Icon of Sessions...": Updated list with 6 new internal icons to choose from
***
Various optimizations, mainly to make things cleaner, but also marginally faster (gain of ~15ms here vs 6.90, YMMV)
!!!
Lots of fixes and safeguards: mainly against improbable events (incl. tampering with panes folder or SessionManage.ini)
*
Note: SessionManager.ini now always in UTF-16LE (converted on update if necessary)
Have a nice day!
Flux
———————————————————————————
• DOWNLOADS: (previous versions available in Changelog)
› Script:
› Script in UTF-16 LE: (Special version for foreign languages who encounter "invalid character" issues)
› Languages:
Don’t forget to come back here to check when language files are updated.
Installation: Just copy the (extracted) language file (eg. SessionManager.it) in the same folder as the script itself (SessionManager.xys).
Note: All the following files work with Session Manager latest version (untranslated strings will just be displayed in English).
—
Čeština by Hogaty –
v6.50+
—
Dansk by Regmos –
v6.50+
—
Italiano by Flora_RMC –
v6.90+
—
Deutsche by Dean36 –
v6.60+
—
Português (Brasil) by SkyFrontier –
v5.2+
—
Français by pseudoz –
v4.b1+
—
中文 by Haodea –
v6.80+
———————————————————————————
• REQUIREMENTS:
—
XYplorer >= 19.90.0112 (Recommended: XYplorer version >= 22.90.0107)
• INSTALLATION » for first-time users:
— Please refer to
first post
• UPDATE » for all users:
— Overwrite your existing "SessionManager.xys" file with latest version
— Note: On first run, an XYplorer and Session Manager maintenance check is done which may display a confirmation message, you can safely press OK.
(Or run it later via "Options > Maintenance Check...")
• UPDATE » for non-english users:
— Also download one of the language files and extract it into the same folder as SessionManager.xys (language detection is automatic)
———————————————————————————
• CHANGELOG – v7.00:
+++ Mouse modifiers (MM) when clicking on a session name: Now a full feature with three possibilities
While holding a MM, click on a session name to append its tabs (default MM: Shift)
While holding a MM, click on a session name to only load its content, ignoring layout (default MM: Ctrl)
While holding a MM, click on a session name to only load its layout, ignoring content (default MM: Ctrl+Shift)
Note: Default layout is loaded if session has no layout
+ Mouse modifiers on session name: Ability to quickly reset current content only or current layout only
Just hold the MM for content only or layout only, and click on the name of the current session (displayed in bold)
Reminder: Clicking on the current session name without holding MM fully resets it (layout included if it has one)
++ Editable mouse modifiers on session name
Access via Session Manager menu: Actions > Edit Mouse Modifiers (Used When Clicking on a Session Name)...
+ Cheat sheet: Mouse modifiers on session name are now also listed (as they’re currently set)
———————————————————————————
+ Append tabs: Only import and append to visible pane(s), ie. only active pane in single pane mode
+ Append tabs: For each (visible) pane, only import tabs that are not duplicates of existing tabs
+ Append tabs: Tabs are always appended last, regardless of XY setting "Open new tab" (much less confusing)
+ Append tabs: Now also possible to append (non-duplicate) tabs of same/current session (via menu or Shift+Click)
* Append tabs: Menu entry now always available and renamed "Append Tabs of a Session..." (since same session can be appended)
+ Append tabs: To differentiate the appended tabs, their name is now colored
There’s a tweak to edit this color in SessionManager.ini: Settings | TabsAppendTxtColor
I chose the current color (~Azure: 1F7AEB) as a compromise that works in both Light and Dark modes,
but results will depend on your custom tab colors and/or if you never switch modes (also try ~Sienna: D17238)
———————————————————————————
+* Temporary session now supports all functions of regular sessions, incl. autosave and rename
+* Temporary session now has a single simpler menu entry: "Copy to Temporary Session" (greyed out if session is active)
Reset and Update (when active) are done with the first two generic entries like any other session
"Copy to Temporary Session" now behaves like a backup, without leaving the current session (or tabsets) to load it
Useful to create a backup of your current environment (and opt. rename it) without breaking your workflow
———————————————————————————
+++ Maintenance / Optimization: New "Options > Maintenance Check..." that checks and fixes several potential problems
i.e. integrity and completeness of SessionManager.ini, XYplorer tweaks, orphan tabsets...
+ Maintenance: Also performed automatically on Session Manager update
+++ 6 important XYplorer settings and tweaks are now checked for better performance and experience
TabsetsNoPaneActivation, SaveMRULists, SavedMRULists, AutoSaveTabsets, TabsetsCanRevertAcrossSessions, ScriptRetainPVs
+ TabsetsNoPaneActivation: Ideal = ON (XY default = ON)
With this OFF, flickering occurs when changing sessions or tabsets
Only necessary if updating from _very_ old versions of XYplorer (probably obsolete)
+ SaveMRULists and SavedMRULists: Ideal = ON (XY default = ON)
With this OFF, XYplorer always restarts with blank tabsets
Corresponds to XYplorer settings: Tools > Configuration > General | Startup & Exit > Save Settings |
| Include most-recently-used lists on save / Apply to > Tabs
+ AutoSaveTabsets: Ideal = OFF (XY default = OFF)
With this ON, sessions are forcibly (but only partially) updated each time they’re changed
Corresponds to XYplorer setting: Tools > Configuration > Tabs and Panes | Tabs > Auto-save tabsets on switch
+ TabsetsCanRevertAcrossSessions: Ideal = ON (XY default = ON for XYplorer < v19.80.0131 --but OFF since for new users!)
With this OFF, the active session is forcibly (but only partially) updated each time XYplorer is closed / settings saved
+ ScriptRetainPVs: Ideal = ON (XY default = OFF)
With this OFF, Session Manager takes much longer to open after a restart of XYplorer
Corresponds to XYplorer setting: Tools > Configuration > General | Refresh, Icons, History > Scripting | Remember permanent variables
———————————————————————————
*** "Options": Menu now split into "Actions" and "Options", with some entries reordered and/or slightly renamed
* "Rename Session..." moved from main menu to new Actions menu (as "Rename Current Session...")
* "Delete Sessions..." moved from main menu to new Actions menu
* "Layout Tools": Reorganized all entries in a single menu (with separators)
+ "Layout Tools": Added "Toggle Dark Mode" for quick access
! Some menu or submenus entries were not greyed out when they should (e.g. only 1 session available)
! Menu entry: "About Current [...]" would display "Session" instead of "Tabsets" in rare mix-up cases
———————————————————————————
* "Options > Layouts: Autosave Window Position and Size [...]" now always available, even with no use of layout sessions
* "Layout Tools > Reset Layout to Default" restores window position and size according to related option
* Dark/Light mode: When switching between two layouts with Dark and Light mode, mode is toggled earlier (smoother effect)
* Layout Alternate: not defined by default anymore (less confusing) => Must be saved once before use or layout switching
* [DISABLED] Layouts with thumbnails: Flickering removed (was caused by an XYplorer change in v22.60.0214)
Only appeared in layout sessions with thumbnails, and "Options > Layouts and Standard: Enable Autosave of Extras Settings"
--> On Maintenance/Update, extra flag added in SessionManager.ini to layouts with thumbsconf settings
Note: Seems fixed in XYplorer v23.4x+, so fix via Session Manager disabled
! "Options > Layouts: Autosave Catalog Association with Layouts": Default XYplorer catalog now correctly reloaded if needed
~ XYplorer v23.30.0000 "Preview Pane to the Left" is automatically supported, but some layouts/sessions might need to be updated
———————————————————————————
+* Ability to prevent Session Manager toolbar button from being updated (even in case of invalid sessions)
— No custom icons must be used (if necessary: "Actions > Change Icon of Sessions... > Select This to Remove Icons From All Sessions...")
— Button must not display session name ("Options > Button: Display Generic Icon (Instead of Session Name) [...] > ON)
! Session not highlighted in main menu when loaded externally with a name in wrong case (e.g. Project instead of project)
+! Quickload: Correct session is now detected/loaded if name is typed (partially or fully) in wrong case
* Quick sessions now always remain listed last after separator, unless manually reordered to a higher position (or renamed)
+ "Actions > Change Icon of Sessions...": Updated list with 6 new internal icons to choose from
* Name displayed in titlebar or button now cleaned-up (removed extra spaces and enclosing "–—." if any)
! Session Name in Titlebar: Updates faster when not using valid sessions (but tabset(s))
!+ Session Name in Titlebar: Set to ON (on Maintenance/Update) if OFF but effectively ON (after SessionManager.ini edition/deletion)
!+ Session Name in Titlebar: Extra safeguard to prevent adding it several times (if SessionManager.ini edition/deletion)
! "Options > Button: Display Generic Icon [...]" would not correctly update button the first time it was toggled
! "Menu: Enable Confirmation Dialog for Reset and Update" not always working in rare cases (external calls with autosave...)
! If Confirmation ON and AutoUpdate ON and dialog (to update) is canceled on session change, new session loading not canceled anymore
! External call to Session Manager now stops (with warning) if Session Manager button exists but not on the toolbar (or if no button)
! External call to Session Manager now stops if trying to manually load a session with an empty name
* Menu code optimized, for a slight speed gain (less access to words, multilingual support being one of the speed bottlenecks)
* SessionManager.ini now always in UTF-16LE (converted on update if necessary)
! A few other fixes (mainly safeguards against improbable events)
* Reordered (and renamed) some internal labels --with no external use--, and variables
• CHANGELOG – all versions:
Don’t hesitate to browse the exhaustive changelog (with download links to previous versions) here:
• Session Manager Changelog •
———————————————————————————
• TRANSLATORS:
— New contributions are more than welcome!
— please head to the
dedicated post on the ML forum for the changelog and latest english language file