You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(release): bump to 1.9.4 and eliminate all auto-defaults for Compare Left/Right path fields
On bare GUI launches the path editors now always start empty (with
placeholders), regardless of any prior recent session, /tmp/ dev
folder, test fixture, or last-compare data. The "Restore last session"
setting and Sessions page still allow explicit re-open of previous
single- or multi-tab workspaces (the only way the fields get populated
after a bare start). This removes the root cause of the "defaults to
fake folder names" UX complaint.
The bare-launch path through open_last_session still cleans internal
fixtures out of the recent list for display, but no longer constructs
a launch context to pre-apply to the Compare page.
Version, changelogs, metainfo, and docs updated; restore_multi_tab_context
kept (with allow(dead_code)) for snapshot tests and future explicit use.
Copy file name to clipboardExpand all lines: packaging/com.visorcraft.LinSync.metainfo.xml
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,11 @@
70
70
</screenshot>
71
71
</screenshots>
72
72
<releases>
73
+
<releaseversion="1.9.4"date="2026-06-03">
74
+
<description>
75
+
<p>Remove *all* automatic defaults for the Compare page's Left and Right path fields on bare GUI launch. The editors now always start blank (showing the friendly placeholders), no matter what "last session", dev /tmp/ folder, test fixture, or prior compare exists in the recent-sessions store. The "Restore last session" feature and Sessions page continue to work for explicit re-opening of previous work (single or multi-tab), which is the only way paths get populated after a bare start. This directly addresses the complaint that defaulting the inputs to any "fake folder names" (tests/fixtures, /tmp/bigfolder, etc.) was a horrible user experience. Only an explicit two-path launch (e.g. from the shell), drag-and-drop, browse, typing, or a deliberate reopen action will ever put values into the path editors.</p>
76
+
</description>
77
+
</release>
73
78
<releaseversion="1.9.3"date="2026-06-03">
74
79
<description>
75
80
<p>Fix horrible first-launch UX on the Compare page: the Left and Right path fields no longer default to internal test fixture directories such as <code>.../tests/fixtures/folders/left</code> (and the text pair). These fixtures are used by the smoke scripts, unit tests, and manual dev runs; previously they were eligible for "recent sessions" recording (because they are valid comparable data) and would be auto-restored on every bare GUI launch when the "Restore last session" setting was on. Now paths under <code>tests/fixtures/</code> are excluded from recording (in tab_has_persistable_paths) and filtered out of the recent list on restore and on the Sessions page. Updated the tests that directly exercised recording of fixture launches to use clean temp files instead. The root cause was lack of a guard for repo-internal test data in the persist-recent path.</p>
Copy file name to clipboardExpand all lines: packaging/rpm/linsync.spec
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
# -bb linsync.spec
14
14
15
15
Name: linsync
16
-
Version: 1.9.3
16
+
Version: 1.9.4
17
17
Release: 1%{?dist}
18
18
Summary: Linux-native visual file and folder comparison
19
19
@@ -122,6 +122,10 @@ if [ $1 -eq 0 ]; then
122
122
fi
123
123
124
124
%changelog
125
+
* Wed Jun 03 2026VisorCraft LLC<licensing@visorcraft.com> - 1.9.4-1
126
+
- Stop auto-defaulting *any* previous paths (from recent sessions, last launch, /tmp/ dev fixtures like bigfolder, or anything else) into the Compare page's Left and Right input fields on bare GUI startup. The "Restore last session" setting and recent-sessions store are still present for explicit resume via the Sessions sidebar and re-open; they no longer mutate the primary path editors or pre-load a diff view on launch. This eliminates the ridiculous "defaults to fake folder names" experience entirely. Bare launches (the common case) now always start with blank editors showing the nice placeholders ("Left file or folder", "Right file or folder"), ready for the user to choose fresh paths. Only explicit CLI `linsync left right`, drag-and-drop, browse, or explicit reopen from Sessions/projects will populate the fields.
127
+
- The root cause was the combination of open_last_session=true (default) + using the most-recent SessionFile to synthesize a launch context that drove the QML path properties.
128
+
125
129
* Wed Jun 03 2026VisorCraft LLC<licensing@visorcraft.com> - 1.9.3-1
126
130
- UX fix for Compare page defaults: paths under the source tree's tests/fixtures/ (used by gui-smoke.sh, release-smoke, unit tests, and manual dev launches like `cargo run -p linsync -- <fixture>`) are now excluded from recent-paths and recent-sessions recording, and are filtered out on load/restore/reopen. This prevents bare GUI launches (no args, with open_last_session=true) from pre-filling the Left/Right editors with ugly internal absolute paths such as .../tests/fixtures/folders/left on every startup. The Sessions page list and reopen-by-index also hide them. (The root cause was that fixture folders are valid comparable data, so the old "persistable" guard let dev usage pollute the user's XDG state dir.)
127
131
- Updated the affected unit tests (that asserted recording of fixture launches) to use clean temp files from test_file_root() instead.
0 commit comments