Swordfish FM: project history and recovery guide
Last updated: 24 November 2026, through the 0.0.4 beta 2 release
(sections 3.128-3.142).
Latest prerelease: swordfish-0.0.4-beta2.
Latest stable release: swordfish-0.0.3.
Previous stable release: swordfish-0.0.2.
Purpose: preserve enough history, decisions, architecture and operational
knowledge to resume development if the chat, development machine or temporary
test artifacts are lost. Read this before starting another stage.
This is a reconstructed history, not a verbatim transcript. It uses repository
commits, release notes, saved conversation checkpoints and user test reports.
The earliest recoverable Swordfish commits here date to 2 October 2026.
Some experiments happened between commits, so their exact dates are not asserted.
Historical implementation details below do not override the current code.
1. Start here if the conversation is lost
- Read this file, README.md, RELEASE-NOTES.txt,
and portable/README.md. For the agreed extension
direction, read the extension discussion.
- Inspect the current branch, commit and both staged and unstaged changes.
Do not reset or clean the worktree to make it look like a fresh checkout.
- The current published stable baseline is 0.0.3:
- Repository: https://github.com/hasmak-44/Swordfish-FM
- Development/default branch used for this work:
portable-layout
- Release tag:
swordfish-0.0.3 (the application commit is the tagged one)
- Stable release
- The previous stable release,
swordfish-0.0.2 (application commit
30a9a315476a9cf358560b5beba27f6c00a3fac7), remains published.
- The newer 0.0.4 beta 2 prerelease
is not the latest stable release; it is recorded in section 3.142.
Beta 1 (section 3.128) remains published.
- Treat published releases as locked. Do not move their tags, replace their
assets, or present local test builds as a new stable release.
- The Network discovery section is intentionally hidden, not accidentally
missing. Mounted shares and Connect to Server remain available.
- The native remote loader is a major verified improvement. Do not remove
swordfish-network just because discovery is hidden: its --list mode
provides the fast mounted-share loader.
- User-confirmed fixes include the portable search warning, child-window
icons, missing-archivemount guidance and the icon-startup fix (section 3.40).
Distinguish those confirmations from later changes and the user’s new
reports and the fixes released in beta 2 in sections 3.129-3.142.
- Before claiming a feature is implemented, distinguish code, automated
validation, portable validation and the user’s real-machine confirmation.
- For the latest state, read sections 3.118-3.142. Older beta and RC notes are
historical context, not the current local development status.
This guide was originally added after the frozen RC4 application commit and is
not part of the already-published RC4 source archive. It has since been updated.
2. Project identity and working principles
Swordfish FM is a fork of Roland Baudin’s Xfe/X11 file manager, with X Win
Commander ancestry. It is a native C++ application using FOX 1.6 and X11,
not a web application. Preserve upstream copyright, attribution and GPLv2
heritage; COPYING is the license reference.
The project aims for a fast, capable, customizable file manager that works
across desktop environments. The user prefers function over decoration,
careful diagnosis and incremental changes, with real testing between stages.
Important established direction:
- Two independently usable file panes plus a shared sidebar/tree, not a
literal four-pane Q-Dir clone.
- Each pane has its own tabs, navigation and footer/status area.
- Separate address bars by default; an optional common address bar follows
the active pane.
- Keep portable operation working throughout development.
- Prefer small repo-native C++ changes over framework rewrites.
- Do not replace working behavior based only on visual resemblance to another
file manager.
- External desktop applications are the desired direction for content handling.
Complete removal of the legacy companion applications has not happened.
- Long-term Wayland/cross-platform ambitions were discussed, but no such port
has been delivered and Rust is not a requirement.
- Preserve the approved Open With design and user settings.
- The user has often requested discussion before a new test build. Confirm
scope when requirements or release choices are ambiguous.
- Build-retention preferences changed with disk pressure: first retain
comparison builds, later keep only the latest local bundle when necessary.
Do not apply either instruction as blanket permission to delete artifacts.
3. Chronological history
3.1 Initial rebranding and recovery: 2-6 October
Early commits rebranded Xfe to Swordfish FM, changed application/config/help
names and desktop entries, added the logo/banner and credits, and introduced
the 0.0.1 version. Later icon/install experiments included a 0.0.2-labeled
attempt. That label is historical; it is not the current release progression.
The user reported breakage affecting both Xfe and Swordfish after earlier
changes. Development returned to a known working 0.0.1 baseline, associated
with the recovery branch swordfish-0.0.1-fixed. The portable work then moved
to portable-layout, which became the working/default branch.
Key surviving commits:
| Commit |
Milestone |
bd3ed32 |
Initial Xfe-to-Swordfish rebrand |
9a61c7f |
Version set to 0.0.1 |
aa8792b |
Restored fixed Swordfish 0.0.1 baseline |
3110b77 |
Added isolated portable Linux bundle |
The reset/recovery predates the detailed retained chat checkpoints. Do not
invent a complete account of the failed experiments.
3.2 Portable distribution, small-screen UI and downloads
The portable package became a relocatable AppDir-style folder launched through
AppRun, with sidecar user data rather than a system-wide installation.
Early portability/UI work included:
- Scrollable Preferences and About text for small screens.
- Better dialog sizing while preserving full message-box text.
- Cleanup of user-visible Xfe branding without removing upstream credits.
- Correct
swordfish launches for new windows/root windows.
- A GitHub Actions portable build workflow.
- Fixing output permissions by creating the host bind-mount directory before
a non-root container writes into it.
The user wanted a normal browser download, not an installer requiring GitHub
CLI, Python/Tk or additional download tools. A CLI installer and a Python
download helper were tried, then superseded by browser instructions.
GitHub Pages was configured to publish a single portable ZIP rather than
uploading the entire AppDir tree as Pages content. The user confirmed the
download worked. Later numbered releases became the durable distribution
reference. A mutable Pages URL must not be assumed to identify a particular RC.
Representative commits: 103bede, ef468e6, 6cf61fe, db5f290, 8a5196a.
3.3 Branding icons and Deepin portability
The user selected two branding masters:
- Dark-blue folder for launcher/general application branding.
- Blue circle for running-window, dock/panel/tray-style identification.
Masters are in icons/branding/masters/. Raster
sizes from 16 through 1024 pixels and scalable hicolor entries were generated.
The scalable assets embed raster artwork; they are not newly drawn vectors.
FOX big/mini icons alone did not consistently identify running windows.
Investigation included WM_CLASS, WM_HINTS and _NET_WM_ICON. Publishing
the circular _NET_WM_ICON helped resolve the dynamic task/window-button
icon issue. The user confirmed the circle in the relevant MX panel modes.
Do not rename internal FOX identity merely to change an icon; that can affect
settings and window matching.
Deepin testing exposed:
- Unquoted launcher exports failed when the extracted path contained spaces.
- Directly running a bundled binary bypassed its environment setup and could
fail on missing OpenGL libraries.
The launcher was quoted correctly. Generic GLVND dispatch libraries
libOpenGL.so.0 and libGLdispatch.so.0 were bundled, while host graphics
drivers remained external. Portable path-with-spaces checks passed.
Key commits: c7d72a0, 18f5748, 715f57a.
3.4 Root launches, application routing and persistent logs
Portable root launches initially authenticated but did not show a window.
The command was bypassing AppRun, and PolicyKit removed X display
authorization. Routing through AppRun and forwarding the needed X11
display/authorization variables fixed the tested pkexec path. That did not
prove every sudo or administrator path on every desktop.
Legacy executable names and companion-app defaults also caused failures.
Swordfish program names and Xfe compatibility aliases were added.
Application-opening behavior went through several experiments:
- Global system applications versus internal applications.
- A later three-way system/internal/custom preference.
- Investigation of apparently missing text associations.
- A registry fix to load bundled defaults before user overrides.
- Eventual movement toward system defaults plus explicit Swordfish-local
overrides rather than global mode rewriting.
These stages are history, not instructions to reintroduce obsolete modes.
Persistent categorized logging replaced unreliable ad-hoc diagnostics.
Categories are application, UI, file operations, settings and errors.
The intended detail level is semantic actions, paths and outcomes, not raw
keystrokes, passwords or pointer movement. Logging is explicitly instrumented;
it is not automatic coverage of every action.
3.5 System icon themes, language and color-theme sharing
System icon support maps freedesktop theme names to Swordfish’s internal icon
names using icons/system-icon-map.txt.
SVG icons are converted using bundled rsvg-convert, cached once per selected
theme, and displayed through the existing FOX image path.
An initially blank conversion dialog was replaced with a message, progress
bar and estimated time remaining. Coverage varied by theme; early tests found
strong coverage for Papirus and several other themes, not universal completeness.
The Language setting was added with a system-default choice and available
translations named in their own languages. A restart bug retained the previous
LANGUAGE value after choosing System default. Remembering/restoring the
original environment fixed that sequence.
Custom color themes became importable/exportable as *.swordfish-theme,
containing a name, tip and 12 color values. Imports validate fields and handle
name clashes. Upstream copyright/help attributions were retained.
Commit 4778969 records the icon/language/theme-sharing milestone.
3.6 Archive folders, FUSE refresh and context commands
The user supplied working archive-folder scripts using host archivemount.
Some apparent copy/move delays were actually stale file lists: FUSE mounts
did not change parent directory modification times as the scanner expected.
Changes included:
- Temporary boosted refresh after scripts/mount operations.
- More frequent FUSE rescans.
- Selecting/revealing newly created entries.
- Archive-folder icons and type labels.
- Built-in Open as Folder / Close Archive Folder context actions.
- Host command lookup/environment handling for
archivemount and unmounting.
- Refusing to mount over a nonempty folder and using read-only mode when needed.
- Moving panes/tree out of an archive before unmount/save.
The user confirmed the archive-folder workflow. Commit 359eb4d records
this stage. Archive editing remains dependent on host support and archive
format capabilities; do not promise every format is writable.
A child-signal bug in the mount-command wrapper was discovered and fixed much
later in Test5; see section 4.
3.7 Independent panes, expandable Details folders and bookmarks
Q-Dir screenshots informed discussion, but the user explicitly chose two panes
plus a tree. Each pane was treated as an independent asset.
Implemented:
- Expandable folders in Details view, indentation and hierarchical sorting.
- Right/Left keyboard expansion, directory symlinks and nested operation paths.
- Expansion memory across refresh and revisiting a directory.
- Correct containing-folder targets for drops on nested file rows.
- Cleanup of a definite drag/drop busy-cursor leak.
- Per-pane Back/history/Forward/Up, Home/Root/Desktop and address controls.
- Breadcrumb/editable-path toggle, Ctrl+L, Enter and Escape behavior.
- Per-pane scrolling tab bars, close/reorder controls and visible
+.
- Blank tab-bar space actions and active-pane routing of global commands.
- Independent saved/restored left/right tabs, with migration of older shared tabs.
- Address -> tabs -> file list -> footer ordering.
- Optional common address bar, mutually exclusive with separate pane bars.
- Pencil placement to the left of the address, grouping separators and clearer
pane/address borders and splitters.
- Left/Top and Right/Bottom menu terminology.
- Theme-derived bar shading.
- Bookmark management and named tab groups.
- Preserving pane/tab/active-state across preference restarts.
Early arrow logic probed every child for emptiness. That was later recognized
as a serious remote-performance problem and replaced with lazy detection.
3.8 Open With, file chooser and manual remote navigation
Open With first gained installed desktop applications alongside recent custom
commands. Shared desktop-entry handling covers localized names, command
placeholders, host XDG paths and filtering of unsuitable entries.
The browse dialog gained Recent, Places and Devices, including common
directories, bookmarks, recent host desktop locations and mounted storage.
Manual remote navigation/Connect to Server work is distinct from discovery.
SMB URI/share-picker workflows were developed using host GIO/GVFS. Already
mounted shares were visible under Devices even while server discovery failed.
Do not equate “Network discovery does not work” with “SMB browsing is absent.”
The approved later Open With design uses a searchable grouped application
list, icons, custom command, keyboard filtering and an unchecked-by-default
option to remember a Swordfish-local extension association.
3.9 RC1, executable regressions and RC2
RC1 was published at b041ce1, then superseded after executable/application
and terminal regressions. Numerous executable-fixN bundles were intermediate
tests, not separate stable releases.
Important lessons and fixes:
- Executable programs must not be treated as ordinary text documents.
- Scripts must respect their shebang/interpreter rather than forcing Bash
scripts through
sh.
- No automatic chmod or automatic elevation after permission errors.
- Runnable JAR handling was tested with a standalone installer.
- A tinyMediaManager JAR failed outside Swordfish too; its supplied Bash launcher
was required. This was not proof of a generic JAR-launching defect.
- Wine/MSI and managed Mono handling were considered in the shared classifier.
- Host applications need host libraries/XDG settings, while bundled tools must
remain available where appropriate.
- Old-glibc containers must never link copied host object files.
- Terminal actions need the actual current directory and terminal-specific
command argument syntax, not just a generic
-e.
- Desktop-default terminal selection and explicit local overrides were added.
- Application errors and missing saved apps must remain visible.
- Settings Cancel must not commit pending choices.
- MIME discovery must not interpret absent bundled MIME metadata as proof
that no desktop application is configured.
RC2 was committed as 40d7a37 and published after explicit user approval of
the tested intermediate implementation. The earlier roadmap contained later
agreements that were not all included in RC2. RC1 binary publication was
withdrawn during that process; its historical source tag remained.
Commit 3889182 published RC3 with expanded-folder sorting corrections,
editable-address/tab preservation, Open With improvements and initial sidebar,
preview and discovery work.
Dragging from GTK archive managers initially failed because they used
XdndDirectSave0, not ordinary URI drops. Direct Save support was added to
file-list and tree targets, with destination/name validation. The user
confirmed File Roller and Engrampa drag-out worked.
Preferences had taken 45-60 seconds on the user’s machine. Repeated per-MIME
subprocess queries were replaced with direct host XDG defaults parsing and
installed-app lookup. Focused local timing became milliseconds, which is not
the same as a full real-machine benchmark.
Slate Blue became the fresh-install fallback, preserving saved colors.
RC3’s initial sidebar interpretation was wrong: the user wanted one ordinary
hierarchical Places tree, not stacked independently scrolling sections.
The corrected design retained Places and Tree tabs, used hidden existing
models for persistence/device polling, and added nested folder expansion,
shared scrollbars and remembered root collapse state.
Previews were corrected to use the actual selected pathname and became a
dismissible bottom overlay on either sidebar tab, with scrolling clearance.
Bounded text and regular-file/selection guards were included.
The final view agreement superseded big/small-icon and fourth-view proposals:
- Details, Icons, Thumbnails are three distinct per-tab views.
- Zoom is shared across both panes and all tabs, with bounded steps/reset.
- Zoom does not scale UI fonts or the sidebar tree.
- Icons use compact row-major cells without decorative unselected tiles.
- Thumbnails use equal cells, subtle shading and thin borders, proportional
image fitting, folders first and ellipsized names/full-name tooltips.
- Files without usable previews are omitted from Thumbnails, not shown as
placeholder tiles. Other views still show ordinary files.
3.11 Preview engines and host GIO isolation
The user approved images, SVG, PDF and video stills despite the larger bundle.
A separate asynchronous swordfish-preview process now generates bounded PNGs:
| Content |
Engine |
| Raster images |
GdkPixbuf |
| WebP |
libwebp |
| SVG |
librsvg |
| First PDF page |
Poppler GLib/Cairo |
| Video still |
ffmpegthumbnailer/FFmpeg |
FOX remains the GUI and displays generated PNGs; it is not the source decoder.
The queue/cache supports priority, invalidation and resource/time limits.
These limits are reliability controls, not an OS security sandbox.
Loading modern host GVFS modules into bundled older GIO caused ABI problems.
The portable GUI uses an isolated module directory; host commands restore
the host environment; the preview worker uses local VFS.
Discovery also gained a dedicated host-GIO helper. On an unmounted SMB browsing
root it attempts anonymous browsing-root activation and one retry, not mounting
user shares or collecting passwords. Lifecycle tests passed, but the user still
could not discover their network. Full discovery was not established.
The critical user report was a long freeze opening an already mounted SMB share,
sometimes apparently affecting the desktop/taskbar/dock. Details expansion
was suspected.
- Share Freeze Test1: removed eager child-directory opening merely to draw
expansion arrows. Released/flushed pointer grabs before slow navigation and
expansion. This improved behavior but did not solve loading speed.
- Large Folder Test2: reused metadata, avoided repeated stat calls and
started busy feedback earlier. Local latency simulation improved, but the
user’s 793-folder directory still took about 19.3 seconds.
- Expansion Diagnostics Test3: instrumented actual metadata/access timings,
cached user/group names within listings, and covered more triangle cursor
paths. Real logs showed roughly 20 seconds with about 9.7 seconds in lstat
and 9.6 seconds in access, then about 10 seconds on later metadata-only scans.
- Further user measurements were 31.84 seconds for expansion and 30.61 seconds
for double-click, with busy feedback ending too early. Caja took 2.32 seconds
for the comparison procedure.
- The user supplied Caja source. Its async GIO enumeration, batches of 100,
returned metadata, cancellation and queued UI updates informed the design.
Swordfish did not import GTK/Caja architecture wholesale.
- Native Remote Test4: added a host-GIO asynchronous helper, shared snapshots,
progressive batches, cancellation and main-thread FOX updates across Details,
Places and Tree. The user’s first 31.14-second report was corrected: they
had accidentally launched the old build. The actual new build appeared to
load in under three seconds, then passed expansion and other-location tests.
- User logs subsequently recorded the 793-entry native listing at 929 ms,
with later refreshes 219-358 ms. These are logged loader times, not a
claim of exact end-to-end UI timing or a controlled Caja benchmark.
- Test4 later displayed idle timeout dialogs after archive-folder use.
The separate lifecycle defect is explained next.
- Native Remote Test5: fixed that lifecycle defect. The user confirmed
fast browsing, archive open/close and over five minutes idle without warnings.
3.13 Post-RC4 SMB discovery research and diagnostic: 18 October
This work is after RC4 and does not change the frozen application. The rule
agreed with the user was to reuse proven approaches, cover Linux and all
Windows versions, solve discovery before mounting, and never mount
automatically, enable SMB1 or weaken authentication.
- Source study of Caja, Thunar, Pnethood (Puppy) and Smb4K, both the
installed 3.1.7 and a 4.0.80 development snapshot:
- Caja and Thunar browse GVFS
network:/// and follow
standard::target-uri. Swordfish’s old helper enumerated only smb://.
- Pnethood uses
nbtscan, smbclient -L and mount.cifs.
- Smb4K uses DNS-SD, optional WS-Discovery with a WS-Transfer metadata Get,
and
mount.cifs through a KAuth helper.
- Smb4K allows a named user with an explicitly empty password, and uses
guest only when the username is empty. The user’s Windows 7 machines rely
on this, so a blank password must not be treated as guest. This is
relevant later, for mounting.
- Standalone diagnostic
portable/network-discovery-diagnostic.py, with
offline tests in tests/network-discovery-diagnostic-test.py:
- It runs three methods concurrently: host GVFS (
network:///,
dns-sd://local/, smb:///), IPv4 WS-Discovery and NetBIOS
(nmblookup).
- Follow-up checks: a WSD metadata Get on the replying address only, and a
TCP-connect-only check of port 445.
- Usage and safety limits are documented in
portable/README.md.
-
Live results on the user’s LAN (MX-RYZEN, 192.168.1.106, wlan0):
| Machine |
GVFS (Caja/Thunar) |
NetBIOS |
WS-Discovery |
TCP 445 |
| MX-HP (Linux, 192.168.1.102) |
yes |
yes |
no |
open |
| MX-RYZEN (this computer) |
yes |
yes |
no |
open |
| DELL-740 (Windows 7, 192.168.1.104) |
no |
no |
yes |
open |
- Windows 7 answered WS-Discovery in 2.06 s, on an old machine over a slow
network, without needing the retry.
- Its probe reply had no name. The metadata Get (0.24 s) returned
DELL-740/Workgroup:MAKHLOUF.
- This explains why Caja and Thunar miss Windows machines while Smb4K and
Pnethood find them.
- Windows 10/11 has not been tested yet.
- A fixed bug: the GVFS DNS-SD scheme is
dns-sd, not dnssd.
3.14 RC5, tester reports and the RC6 cycle: 18-23 October
RC5 (swordfish-portable-0.0.1-rc5, commit 0dc2a35, 18 October) shipped
the SMB share browsing and mount/unmount lifecycle described in section 9.
It still embedded version 0.0.1-rc4 because configure.ac was not bumped.
On 23 October a photographer tester’s report arrived (tab drag to Bookmarks,
mount buttons, About version/links, duplicate shares, false udisksctl
error, stale device rows, long network labels, thumbnail sort headers, tabs
not restored, and folders listing only some of their files).
- Incomplete listings: fault injection showed that silent
lstat
failures drop entries and a readdir EIO yields a partial list without
an error. The tester’s folder could not be reproduced. A GitHub
prerelease swordfish-rc5-listing-diagnostic-1 (TEST ONLY; its
LISTING-DIAGNOSTIC.md instructions ship in that archive) logs
every entry when SWORDFISH_LISTING_DIAGNOSTIC=1. Closed on
25 October as a false alarm: the tester had compared two folders with
similar names but different contents. No listing bug was found. The
trace code was later committed behind the log level setting (section 9.0).
- Tabs not restored (
bb7a3d4): accepting Preferences re-read the
registry before saving custom themes, discarding the dialog’s changes, so
users with custom themes could never enable “Restore tabs”. saveConfig
now re-reads xferc, not the swordfishrc defaults copy.
The user then gave a to-do list, grouped as: 1 tabs/bookmarks, 2 visibility,
3 network names, 4 file list, 5 settings/themes, 6 About/version,
7 big features. Commits on portable-layout (all by hasmak-44 with a
Copilot co-author trailer):
| Commit |
Change |
4704b38 |
Tab drops on sidebar Bookmarks from either pane and onto an empty folder; tab menu “Add to Bookmarks” / “Bookmark All Tabs as Group”; groups shown as “name (group)” with Open/Rename/Remove; drag tab onto tab to reorder; active tab tint and minimum width; hover dragged files over a tab for 2 s to switch, drop on a tab to copy/move/link. |
4011f35 |
Accent strip on the active pane, bordered sidebar without the “Folders” row, sidebar highlights the active tab’s folder (or nearest visible parent; smb:// highlights its host). |
7671157 |
Hide ADMIN$, IPC$, PRINT$, drive C$ shares and Samba “nobody”; remember discovered computer names ([NETWORK NAMES]) and use them in tabs, labels, address bar and title. |
8649e77 |
Version 0.0.1-rc6; Swordfish FM copyright beside the retained Xfe notice; regenerated autotools output. |
dcb4650 |
Type-to-find also matches rows inside expanded subfolders (it compared the stored tv/Show label). |
d913800 |
Background folder sizes and item counts in Details; “Folder Sizes” panel submenu; status bar “X free of Y”, selected folder size/counts, multi-selection totals. |
d03ea17 |
Size on disk (allocated blocks, hard links once, other filesystems skipped); sorting by Size sorts folders by size or count depending on the display mode (still-counting folders last); mode also in Preferences > File List. |
05d8d80 |
Panel path editor sometimes did not appear (path row not marked for layout); most visible in the top/left panel. |
5ea3bca |
Inline rename: F2, Rename menu, or slow second click on the only selected name; extension left unselected; Enter/click away renames, Escape cancels; multiple selections still use the dialog. |
d85ad73 |
Icons view shows image previews while still listing every file (Preferences > File List > Previews option); Thumbnails view shows only previewable files and the status bar says how many are hidden; LibRaw extracts embedded previews of CR3, CR2, NEF, ARW, RAF, ORF, RW2, PEF, DNG, SRW with camera rotation; visible items jump the preview queue. The portable build compiles LibRaw 0.21.5 from a pinned tarball. |
7103fe4 |
Thumbnail loading no longer jumps: full list and scrollbar appear at once, previews replace icons in place (visible first) instead of a full rescan every second, no scroll-to-top; pending files stay listed and are dropped from Thumbnails view only if their preview fails. |
Decisions recorded with the user:
- Folder size display options are None / Item count / Size on disk / Both.
Sorting by size uses size whenever size is shown, otherwise item count.
- Thumbnail placeholders are deferred: the photographer tester warned that
hiding RAW or sidecar files is risky (users move contents and delete the
folder). Icons-view previews were chosen instead, keeping every file visible.
- When the user attaches the
AUTHORS file with a message, ignore it.
- The user prefers short replies and plain-text questions (pop-up question
forms cover their view).
3.15 Log level, RC6 bug list and the remount fix: 25 October
e72535f recorded the listing false alarm. 2104a96 added the log level
setting (section 9.0). Both are pushed. The exact committed tree builds with
./autogen.sh && ./configure && make; building with the checked-in
src/Makefile.in fails to link (Preview::shutdown) because that file is
stale. This predates the log level work.
- The
swordfish-rc5-listing-diagnostic-1 prerelease and its tag were
deleted at the user’s request. The obsolete uncommitted
portable/LISTING-DIAGNOSTIC.md, portable/run-listing-diagnostic, their
two packaging lines and the README link were deleted on 25 October.
- Codespace disk was 91% full. Removed 9 old Copilot CLI versions from
~/.cache/copilot/pkg/linux-x64 (kept the 2 newest), the plain Debian
Docker images (kept swordfish-portable-builder) and the cpptools cache;
now about 85%. Memory is also tight (8 GB): several stale VS Code extension
hosts stay alive after reconnects, so make -j$(nproc) gets killed. Use
make -j1 in scratch builds, or restart the codespace.
- The original long chat (session
1c1cc868…, 38 checkpoints, about 690 MB
of events) was too large to restore and was deleted on 25 October, after the
user downloaded Swordfish-before-detachment-backup.tar.gz (the pre-detachment
repository backup; sha256 770aba97…16611) and confirmed it extracts. Its 38
checkpoint notes were kept in the current session folder:
~/.copilot/session-state/e0acc086-d9c4-4a30-a2ec-10767b8e7db5/files/old-chat-1c1cc868-checkpoints/.
RC6 bug list from the user (Bugs.txt, 25 October). Agreed plan: fix
them in a bundle and build one test package at the end.
| # |
Area |
Report |
Status |
| A1 |
Devices |
Mount/unmount buttons do nothing |
fixed |
| A2 |
Devices |
Shares mounted twice or remounted at random |
parked: not reproducible |
| A3 |
Devices |
Drive unmounted elsewhere stays in the sidebar until restart |
fixed |
| A4 |
Devices |
Unmount fails: udisks DeviceBusy, “target is busy” |
fixed |
| A5 |
Devices |
After unmounting in Swordfish and remounting in Thunar, the drive is listed but “Folder … doesn’t exist” until restart |
fixed |
| B1 |
Network |
Windows server without a password not accessible (check how smb4k does it: guest first) |
fixed |
| B2 |
Network |
Connect to Server button, Shift+F5 and File menu do nothing; reuse the discovery/address-bar method |
fixed |
| B3 |
Network |
Sidebar and title bar show full paths; want share@server (tab label already done) |
fixed |
| C1 |
About/Help |
About shows the wrong version; links in About/Help body text are not clickable (incl. GitHub Issues) |
fixed |
| D1 |
File list |
Inline rename and panel-to-panel drag erratic (selection lost?) |
fixed |
| D2 |
File list |
No auto-scroll when dragging to an item out of view |
fixed |
| D3 |
Tabs |
Drag-hover tab switch: make it 1.5 s; the switched tab opens empty for about 2 s |
fixed |
| E1 |
Settings |
Remove the thumbnail size setting (replaced by zoom) unless it still does something |
fixed |
| E2 |
Address bar |
Right-click menu while editing lacks Copy/Paste |
fixed |
User’s scenario for the device bugs (USB HDD “My Passport 4”, /dev/sdc1,
ntfs3, automounted by Thunar at /media/Hassanein/My Passport 4):
- Unmounted in Thunar: the drive disappears from both programs. Normal
(Thunar also powers off/ejects it).
- Unmounted in Swordfish: it leaves the Swordfish list but stays greyed
out in Thunar. Swordfish runs plain
umount (PROGS/unmount, default
DEFAULT_UMOUNTCMD), which bypasses udisks. After remounting from Thunar
(same folder name), Swordfish listed it but said it doesn’t exist until
restarted.
A5 cause and fix: xf_stat/xf_lstat in src/xfeutils.h return -1
without calling stat for a mount point marked “down” in the global
updevices. When the folder vanished during the 5-second mtdevices window,
a check marked it “down”, and updevices is only rebuilt every 300 s. The fix
drops the cached state when a mount point appears or disappears in
DirList::onMtdevicesRefresh and FileList::refreshMtdevices, and after any
mount/unmount command in File::mount. Changed: src/DirList.cpp,
src/FileList.cpp, src/File.cpp. Compiled in a scratch build; not yet
tested on the user’s machine.
Planned next for the device group: unmount /media and /run/media
drives with udisksctl unmount -b <device> (and offer Eject / power off),
so Thunar stays in sync; move tabs and panels inside the drive to Home before
unmounting (avoids “target is busy”); then A1-A3.
RC6 bug bundle (committed together, 25 October). All items above are
fixed except A2 (parked: the user could not reproduce it).
- Devices (A):
/media and /run/media drives unmount through
udisksctl (Eject only for hotplug drives), panels inside a drive move to
Home first, a busy message names the cause, the Mount/Unmount buttons work,
and the sidebar drops drives unmounted elsewhere (xf_hashfile fix, see
tests/folder-expansion-regression.cpp).
- Settings/address bar (E, extra): thumbnail size setting removed (zoom
replaces it); right-click menu on the path editor (Cut/Copy/Paste, Paste and
Go, Select All). The “common address bar” option and its code were removed
at the user’s request; Ctrl+L opens the panel path editor. The freed space
is reserved for a future custom toolbar.
- About/Help (C): body links are clickable (
LinkText in
MessageBox.cpp) and readable on dark themes.
- Tabs (D3): drag-hover switch after 1.5 s, the list is redrawn at once.
- File list (D1, D2): slow-click rename no longer depends on list focus
or
current; it arms anywhere in the Name cell (list/mini-icon modes) and
only in the active panel; FileList::setDirectory no longer resets the
current item when the folder is unchanged. Drop targets restore the hovered
folder’s selection. A drop-scroll timer (ID_DROP_SCROLL_TIMER) scrolls the
list while dragging near its top/bottom edge.
- Network (B): guest access tries anonymous, then user
guest with an
empty password (smb4k style) in both resolveNetworkPath and the share-list
helper (NetworkDiscovery.cpp), before asking. Connect to Server was
simplified at the user’s request to Type (SMB, SFTP, FTP, FTPS, WebDAV,
WebDAV HTTPS), Server, Port (0 = standard) and an optional share/folder; it
builds the address and hands it to FilePanel::resolveNetworkPath, so the
server asks for the login. SMB without a share opens the server tab. The
login prompt leaves Domain blank; WORKGROUP is only sent internally.
Window title and sidebar show share@computer / user@host
(RemoteDirectory::mountLabel, titlePath).
- Not tested against a real server (no SMB/SSH in the codespace).
- Bundle committed as
5f0949d. RC6 Test 2 package
(Swordfish-RC6-Test2-Portable.tar.gz, sha256 f9631d43…49951) was built
with ./portable/build-portable.sh from a clean git archive of
5f0949d; it runs and reports 0.0.1-rc6. It was not published on
GitHub: the user downloaded it through a temporary codespace port link,
which was then stopped and the copy deleted. Rebuild from 5f0949d if needed.
- Clean-up the same night: deleted the uncommitted listing-diagnostic files
(
b084062); deleted the local RC5 release files from build/ (all four are
on the RC5 GitHub release) and build/discovery-diagnostic, keeping the
user’s notes build/road map.txt and
build/Swordfish-LinuxQuestions-announcement.txt. Committed AGENTS.md,
.github/copilot-instructions.md and the portable README device section
(96f0c80). Still uncommitted on purpose: .vscode/, install-swordfish.sh
(unreviewed), the downloaded repo zips and generated autotools/po files.
3.16 RC6 Test 2 feedback and network mount reuse: 26 October
The user downloaded and extracted the Test 2 portable bundle, then supplied
an updated Bugs.txt through MEGA on 26 October. The prior “fixed” statuses
describe implementation, not successful validation on the user’s machine.
The new report reopens the following items:
- Mount is disabled and Unmount is unavailable for some mounts.
- SMB shares sometimes mount twice after entering a password; cancelling
the prompt can leave a single usable connection. Guest versus cached
account identity is unknown. Guest was configured read-only in Windows,
but the user could edit and save a file. Do not infer authenticated
identity from the displayed Unix permission bits.
- Unmounted internal partitions and USB drives should remain visible,
greyed and remountable; Eject is missing for removable devices.
- Reduce tab drag-hover switching from 1.5 seconds to 1 second.
- Left tab bar disappeared once in vertical layout; restart fixed it and
it has not recurred. Screenshots mentioned in the report were not included.
The user authorized investigating the duplicate-mount/login flow first.
The following changes form the RC6 Test 3 source bundle:
FilePanel::networkLocalPath checks the actual SMB FUSE mount folders
under $XDG_RUNTIME_DIR/gvfs (fallback /run/user/UID/gvfs), decoding
attributes independently of their order. An unspecified login reuses an
existing mount; explicit user/domain values must match. gio info fallback
uses LC_ALL=C because its local path: line is otherwise localized.
- Recheck after guest attempts and before submitting credentials, including
after a login dialog closes, to avoid a second mount when a connection
has already appeared. Existing-mount notification explicitly mentions
possible saved credentials; logs record the reused path without passwords.
- Tests simulate a successful mount invisible to
gio info under the
original login URI, a cached authenticated mount, and a different explicit
user. They check returned paths and exact mount command counts. Existing
test expectations were updated for last night’s short sidebar labels and
the anonymous-plus-guest timeout sequence.
- Validation: clean scratch autotools build, then
tests/run-folder-expansion-regression.sh with staged installed icons;
complete suite passes. No real Windows/SMB server was available, so this
is a tested client-side correction, not confirmation of Windows account
identity or of every reported network issue.
Device follow-up (26 October, Test 3):
- Found the inventory parser’s core fault: searching for
TYPE=" matched
inside FSTYPE=", then returned an empty result instead of continuing to
the actual TYPE field. Consequently all unmounted volumes were discarded.
Fixed the field-boundary search and added realistic lsblk --pairs
regression data.
- Devices now includes unmounted internal filesystems as well as hotplug
volumes. Previously mounted desktop volumes retain their label even when
unprivileged
lsblk omits FSTYPE. Blank unknown volumes, swap, encrypted
containers and filesystem members remain excluded. Inventory command
failures are logged.
- Unmounted device rows render grey but remain enabled/clickable; they do
not offer directory expansion. Disconnected volumes leave the list.
- Mount/Unmount toolbar target selection respects a focused Devices entry,
ignores the parent (
..) row, and resolves GVFS roots and containing data
mounts. Unmount does not depend on a nonempty file list. Root is protected.
Desktop mounts use udisks even when also listed in fstab.
- Eject’s enablement also works with focused Devices entries and the legacy
mount menu. Hotplug volumes qualify; internal drives and network shares do
not. Busy unmount remains an error, not a forced detach.
- Validation: scratch build and full folder-expansion regression suite pass.
New mocked host-command tests cover internal/USB inventory, missing FSTYPE,
removal, Mount/Unmount/Eject enablement, and the command sequence for mount,
busy failure, unmount, remount and safe eject. Physical hardware and desktop
authorization prompts still require user testing.
Tab follow-up (26 October, Test 3):
- Changed
TAB_HOVER_DELAY in TabButtons.cpp from 1500 to 1000 ms.
The existing immediate refresh on timeout is preserved.
- Could not reproduce the one-off disappearing left tab bar. Added an
explicit parent
recalc() when FilePanel::showTabbar changes visibility,
following the same FOX layout pattern used by the path editor. Redundant
show/hide calls return without dirtying layout.
- Tests switch panel orientation and resize six times while hiding/showing
both tab bars; assert nonzero tab/scroll/bar geometry and no vertical
clipping. Direct hover-timeout dispatch verifies that the inactive tab is
selected and its folder list is immediately populated.
- Scratch build and the complete regression suite pass. An attempted
in-process real-DND test did not negotiate FOX’s drag state and was not
retained. The configured 1000 ms is verified in source, but end-to-end
pointer-hover timing still needs desktop testing. The original intermittent
missing bar is not claimed definitively resolved.
Visible Devices action buttons (26 October, Test 3):
- User clarified that a visible button is required in the device list, not
only a context-menu command. Confirmed behaviour: the USB row button does
Eject / Safely Remove; USB Unmount remains in toolbar and context menu.
- Sidebar rows now draw a right-aligned action button: Eject for supported
hotplug devices (mounted or unmounted), Unmount for mounted internal
partitions and network shares; no button for root or unmounted internal
partitions. Tooltips name the action. Device classification is cached in
the row during sidebar synchronization, not queried during painting.
- Press/release handling consumes only button clicks, releases the pointer
before running disk operations, and cancels if released outside the button.
Sidebar rebuilds are suspended while an action runs, like context menus.
- Scratch build and full regression suite pass, including a visible-button
hit-test and simulated click through the actual safe-eject command path.
Hardware behaviour still needs user validation.
Remaining: test network/device changes, the 1-second hover, and the tab-bar
layout safeguard on the user’s machine. On 26 October the user authorized
saving and pushing this bundle, building RC6 Test 3 from its clean committed
source and supplying a private temporary codespace download link. This is a
test build, not a stable release. Record the build result and checksum below
after validation. Do not mark the entire bug report resolved.
RC6 Test 3 delivery (26 October):
WITHDRAWN after user testing at 09:04 UTC on 26 October. Do not reuse or
redistribute this build. The user agreed to discard it; the temporary
download server was stopped.
- Unmount remains active with no device selected and attempts to unmount
Home. This is an unsafe target-selection regression; fix it before another
test package. Do not infer a data mount from the current Home directory.
- All unmounted devices still disappear, including a local partition.
Mocked inventory regressions did not establish behaviour on the user’s
host; investigate actual host inventory output before claiming this fixed.
- The user reported the system frozen after local-partition unmount. Cause
is unknown; do not attribute it to authorization or a specific operation
without evidence. Further testing of this build was stopped.
- Network mounting did not ask for a password, consistent with shared
desktop GVFS session credentials, not proof of Guest identity.
- Drag-hover tab switching was reported acceptable.
RC6 Test 4 delivery (26 October):
- Source commit
91fa0999706280fd95a07be23d9fb3bf386a695c, pushed to
portable-layout; clean exported source built using
JOBS=1 ./portable/build-portable.sh (Debian Buster, glibc 2.28).
- Filename
Swordfish-RC6-Test4-Portable.tar.gz, about 76 MiB.
SHA-256: 40bae52c4fee837b290854c0bd325a88e4d0f9c6c522e28517ea03b48e09acaf.
- Archive listing and isolated packaged GUI startup pass; executable reports
0.0.1-rc6. Regression suite passed before packaging, including real
host inventory and command-level Root/Home refusal.
- Temporary private codespace download, not a stable release. Stop its
server after download/extraction confirmation. Test 3 remains withdrawn.
- Limited test only: no-selection toolbar state in Home, grey unmounted
device visibility, then spare USB mount/unmount. No internal-partition
unmount tests; freeze cause still unknown.
Post-withdrawal corrections (26 October, Test 4 source bundle):
- Reproduced the inventory failure using the real host command:
lsblk -l -P ... exits 1 with “mutually exclusive arguments”.
Removed -l; --pairs alone provides the needed records. The mocked
command now rejects this invalid combination, and the regression suite
calls the production xf_unmountedvolumes against real host lsblk
read-only, in addition to the fixture-based lifecycle tests.
- Removed the toolbar’s inferred current-folder/containing-mount target.
Mount/Unmount now require an explicit focused Devices entry or one selected
exact mount point; no selection, multiple selections and
.. do not
select the current folder. No-device Mount chooser fallback removed.
Arbitrary files, descendants and symlinks are not promoted to mount roots.
- Added shared protection for Root, Home and filesystems containing Home
in toolbar eligibility/dispatch, sidebar actions, context unmount and
desktop-drive operations, plus a final low-level
File::mount refusal.
The no-selection handler displays a warning and launches no command.
- Scratch build and full regression suite pass, including real inventory,
no-selection dispatch, and low-level tests proving Root/Home refusal does
not execute a supplied marker-writing command. Existing device/network/tab
and visible-button regressions also pass.
- User authorized a limited Test 4 build at 09:18 UTC. Disappearing devices have a reproduced
command-level cause and correction, but need host validation. Freeze
remains unexplained; do not assert that correcting these faults proves
the freeze resolved.
- Test 4 scope: first check that no selection disables Mount/Unmount while
viewing Home, then check grey unmounted-device visibility, then use only a
spare USB drive with no important data for mount/unmount tests. Do not test
internal-partition unmounting while the freeze remains unexplained.
- Test 4 paused before testing (26 Oct, 09:35 UTC). User observation: clicking
a discovered server always opened a new tab, so several tabs could point to
the same share; after unmounting, leftover tabs may try to read the missing
target. During the Test 3 freeze the pointer moved, but taskbar, dock and
Start menu ignored clicks, and the system eventually recovered. This matches
an X11 pointer grab still held while Swordfish was blocked on I/O (the
ungrab request can sit unsent in the Xlib buffer). Hypothesis, not proven.
- Test 5 corrections: server click browses in the active tab (no new tab);
every Unmount through
File::mount (local and GVFS) closes matching
active/background tabs in both panes and moves the tree before the command
runs (UDisks eject already did); File::mount and navigatePane flush the
X connection before blocking work. Local unmounts previously never closed
tabs. Regression tests updated/added; full suite passes (36 PASS).
Trade-off: a failed unmount leaves the user outside the mount.
- Test 5 built from clean archive of
900fd8d (JOBS=1, Debian Buster,
glibc 2.28): Swordfish-RC6-Test5-Portable.tar.gz, 79,674,848 bytes,
SHA-256 80c64a9cb4594bf531645473bf2d78681a62ce22548a78c6d0a94a30712368b6.
Reports 0.0.1-rc6; isolated Xvfb startup passes. Test 4 superseded and
its download stopped. Same limited test scope: no internal-partition unmount.
- Test 5 results (10:24 UTC): repeated server clicks reuse one tab (pass);
share open in 3 tabs, all closed on unmount (pass). USB HDD Unmount/Eject
refused: UDisks DeviceBusy “target is busy” for /dev/sdc1. No other app had
the drive open;
fuser/lsof empty afterwards; unmount worked after a
while. Cause found: the preview queue (up to 128 jobs, swordfish-preview
child per file, 12 s limit) kept opening files on the drive after its tabs
closed. Fix: Preview::cancel(mount) drops queued jobs and kills a running
child under the mount; called from onNetworkUnmounted before every unmount
command. Regression test added; full suite passes (36 PASS).
- Test 6 built from clean archive of
f0a90d8:
Swordfish-RC6-Test6-Portable.tar.gz, 79,674,499 bytes, SHA-256
6c2784fe2e4e295302d400b389674b9d154f2a0ac1c152781f16ddee6367e28a.
Reports 0.0.1-rc6; Xvfb startup passes. Test 5 download stopped.
- Test 6 result (10:58 UTC): USB HDD still DeviceBusy;
fuser -vm was empty
even while the error dialog was open, so the hold was transient. Cause
found: the in-process folder-size thread walks folders recursively to show
sizes. Changing directory only bumps its serial (checked every 256 entries)
without waiting, so it was still inside the drive when udisksctl ran
milliseconds later. Fix: FileList::stopFolderScans(3000) resets all lists,
bumps a global scan generation (checked per folder and every 32 entries) and
waits until no scan is active; called from onNetworkUnmounted. UDisks
unmount also retries once after 1.5 s on DeviceBusy. Tests: transient busy
succeeds on retry, persistent busy reports after retry, deep-tree scan stops
quickly. Full suite passes (36 PASS).
- Test 7 built from clean archive of
c327bb6:
Swordfish-RC6-Test7-Portable.tar.gz, 79,675,723 bytes, SHA-256
6848ef55051fe1d57106a2078de3103cb01472fceb6b7ee7c222386300e992c1.
Reports 0.0.1-rc6; Xvfb startup passes. Test 6 download stopped.
- Test 7 result (11:17 UTC, user hardware): USB HDD Eject succeeds; Unmount
also clean. USB busy problem resolved. Still untested: internal-partition
unmount, and whether the desktop stays responsive (freeze hypothesis).
- Test 7 internal partition (11:19 UTC): Unmount asks for the admin password
(polkit), unmounts, row stays listed greyed, click remounts. Taskbar, dock
and Start menu stayed responsive throughout (user confirmed, no freeze).
- Test 7 network findings (11:56 UTC): left tab bar loss did not recur
(treated as one-off). No password prompt for Windows (192.168.1.102,
confirmed by user via ipconfig) or mx-hp.local. All GVFS mounts lack
user= (Windows: data-1, x-recoverd, movies on dell, prog on dell), and
the keyring has no Windows entry, so these are no-username (guest or
anonymous) connections from Swordfish’s guest-first attempt, not saved
credentials. Windows still allows editing a text file although Guest is
read-only in Advanced Sharing; effective Windows account not yet confirmed
(net session pending). Likely Windows permissions (e.g. Everyone with
Change, or NTFS), not a Swordfish bypass. Proposed option: stop automatic
guest attempts and always ask for login with a Guest choice.
- User decision (12:00 UTC): keep guest-first SMB behaviour unchanged; it
connects and disconnects smoothly. Write access is a Windows permission
matter, not a Swordfish change.
3.17 Swordfish 0.0.1 stable release: 26 October
User approved Test 7 as the first stable release (12:06 UTC) and chose the
new tag swordfish-0.0.1 (old tags SwordFish-Portable-0.0.1, v0.0.2,
v1.0-swordfish-fixed from early October kept untouched) and updating main.
3.18 Disengaging from Xfe: 26 October
User asked to fully disengage from Xfe while keeping the release safe and
published. GitHub never listed the repository as a fork; the only link was the
local upstream remote (roland65/xfe), now removed from the codespace checkout.
src/foxhacks.cpp: non-portable installs no longer search /etc/xfe,
/usr/share/xfe, /usr/local/share/xfe or xfe along PATH, and no longer
parse a desktop-wide xferc. Order is now the executable’s own
../share/swordfish, then the first of /etc, /usr/share,
/usr/local/share + /swordfish, then ~/.config/swordfish. Portable
mode is unchanged. Verified with strace under Xvfb against a temporary
/usr/share/xfe/xferc: the old build opened it, the new build did not.
- Removed Xfe’s Debian packaging (
debian/, source package xfe) and Xfe’s
.run scripts (buildrun, installrun, uninstall-xfe) which install or
delete /usr/local/bin/xfe and /usr/local/share/xfe. Makefile.am
EXTRA_DIST also dropped the never-existing uninstall-swordfish;
Makefile.in regenerated with automake --gnu Makefile (only those lines
change).
- AUTHORS names Swordfish FM first and keeps the Xfe, FOX and X Win Commander
credits (GPLv2 obligation). README configuration section and
swordfishrc.in comments now describe Swordfish paths.
- Deliberately unchanged: the internal FOX application name is still
xfe
(src/main.cpp), so per-user settings live in ~/.config/swordfish/xferc.
That file is inside Swordfish’s own folder; renaming would discard existing
user settings, so it needs a migration if ever changed. Internal source
names (xfedefs.h, xfeutils, XFileExplorer, xfe*.png icons, the
source file automount/xfe-automount.cpp) are also unchanged.
- The unpublished local
install-swordfish.sh (copies /usr/bin/xfe to
/usr/bin/swordfish, forces Icon=xfe) was never committed; it explains how
the user’s very old system install became tangled with Xfe.
- Validation: clean archive build +
make install DESTDIR, folder-expansion
suite 36 PASS, preview suite PASS (one timing failure under build load,
passed twice on rerun). The network-discovery shareAuthentication
assertion also fails on the pre-change build (stale test after guest-first
SMB decision) and is not caused by this change.
- No new binary release: the portable bundle behaves identically, so
swordfish-0.0.1 remains the current download.
Follow-up the same day (automounter), found while cleaning the user’s machine:
dpkg -V xfe on the user’s machine showed /usr/bin/xfe-automount
modified: Swordfish installed its helper under Xfe’s name and overwrote it.
At startup Swordfish also ran pgrep xfe-automount and, with automount off
(the default), killall -q xfe-automount, so it stopped Xfe’s automounter.
The helper opened drives with xfe and read ~/.config/xfe/xferc.
- Fix: program renamed to
swf-automount (13 characters, under the 15-char
process-name limit used by pgrep/killall); pgrep -x -u user,
killall -q -u user; helper opens drives with swordfish and reads
~/.config/swordfish/xferc (where Swordfish’s automount_open is saved);
paths are shell-quoted (spaces in drive names previously broke “open a
window”). Portable build list and READMEs updated; automount/Makefile.in
regenerated with automake --gnu automount/Makefile.
- Verified with UDisks2 dev headers installed in the codespace (a clean
rebuild is required after re-running configure, otherwise
XFileExplorer.o keeps the build without XFE_AUTOMOUNTER). With stand-in
processes under Xvfb: xfe-automount survives Swordfish startup,
swf-automount is stopped when automount is off. Quoting tested with spaces
and '; touch injection. Folder suite 36 PASS, preview PASS.
- This changes portable behaviour (the bundle ships the helper), so it needs
a new release to reach users.
User machine cleanup (26 October, guided step by step):
- Very old system install (Oct 5,
/usr, plus leftovers in /usr/local):
/usr/bin/swordfish, swfa/swfi/swfp/swfw, /usr/share/swordfish,
5 desktop files, 5 man pages, org.swordfish.root.policy (both prefixes),
Papirus/hicolor/pixmaps icons, xfe.svg.swordfish-backup (Papirus
xfe.svg itself verified unmodified) and swordfish.mo translations
(both prefixes) removed. No dpkg package owned them.
- Xfe purged and reinstalled from the user’s .deb, upgraded from 0.11 to
0.13;
dpkg -V xfe OK; Xfe kept the user’s ~/.config/xfe settings.
- Kept:
~/.config/swordfish, the user’s menu entry
~/.local/share/applications/swordfish.desktop (runs
~/Apps/Swordfish-Portable/AppRun; its icon path points to the Projects
drive) and two test entries. Swordfish starts from the menu.
3.19 Swordfish 0.0.2 release: 26 October
User tested 0.0.2-test1 (built from 1a4b335, delivered by a temporary
codespace link the user started himself because the agent was denied
starting the server): About showed the version, folders/USB Eject/network
Unmount fine, Xfe kept working with Swordfish open, automount mounted a
drive and opened a Swordfish window. Desktop (Thunar/Xfce) automount raced
with Swordfish’s; advice: enable only one automounter. Not a regression.
- Release commit
30a9a315476a9cf358560b5beba27f6c00a3fac7: version 0.0.2,
README banner/download section, CHANGELOG heading. main and
portable-layout fast-forwarded; annotated tag swordfish-0.0.2.
- Clean
git archive build, JOBS=1, Debian 10 / glibc 2.28.
AppRun --version = swordfish version 0.0.2; Xvfb smoke passes.
portable-data (created by the build script) removed before packaging,
per the release rule; archives verified to contain no portable-data,
to contain usr/bin/swf-automount and no xfe-automount.
- GitHub release https://github.com/hasmak-44/Swordfish-FM/releases/tag/swordfish-0.0.2
(Latest, not prerelease). SHA-256:
Swordfish-Portable-0.0.2.zip 84,803,698 e0b2a3a98ad0a3c781000761081c6a218579361fee09e4dbb83835515f4c03fb
Swordfish-Portable-0.0.2.tar.gz 79,671,263 d101ddda664f057bb3b96fab537c2a64c83171e029967dec64c87b9366f39a82
Swordfish-FM-0.0.2-source.tar.gz 20,409,285 c68484f8e16495c9fc16a8cdc53aacd758e3fb6333fb5fd4e77a0cd2a4c92061
Swordfish-0.0.2-SHA256SUMS
Downloaded back from GitHub and verified.
- 0.0.1 release stays published. Pages still serves the older automatic
build (workflow only triggers on
swordfish-portable-* tags).
- The
upstream remote no longer exists; still pass -R to gh.
3.20 Automatic release build fixed: 26 October
portable-release.yml only triggered on swordfish-portable-* tags, so
0.0.1 and 0.0.2 were packaged by hand and its Pages step was stale (the
website is a legacy Pages build of the portable-layout README, which
links to the latest release). Commit 9d834f8:
- Also triggers on
swordfish-[0-9]* tags; such a tag must equal the
configure.ac version. Manual “Run workflow” takes an existing tag.
- Builds in the Debian 10 container and packages the same four files as
the hand-made releases (
Swordfish-Portable-<v>.zip/.tar.gz with top
folder Swordfish-Portable-<v>, Swordfish-FM-<v>-source.tar.gz,
Swordfish-<v>-SHA256SUMS), with portable-data removed and checked.
- Creates the release if missing (notes = matching CHANGELOG section;
rc/test/preview/beta/alpha become prereleases, not Latest). If the release
already has any of the files, uploads nothing (no replacing, no mixing).
- Pages deploy steps removed so the README website is not overwritten.
- Tested: run 40336388846 on
swordfish-0.0.2 built all files and left the
verified 0.0.2 release files unchanged. CI builds are not byte-identical
to hand builds (timestamps), which is why existing files are never mixed.
- Future release: rename CHANGELOG
## Unreleased to ## swordfish-<v> — ...,
set configure.ac, commit, push the annotated tag; the workflow publishes.
3.21 Local usability fixes and improvements-test3: 28 October
These changes are local and uncommitted after 8a09b64. The user requested
a test build and history update, not a push, release or stable-version bump.
The application still reports 0.0.2; the archive name identifies the test.
- Search now restores the host library environment before running find/grep,
fixing the bundled libselinux version warning. Child windows/dialogs receive
the Swordfish taskbar icon. The user confirmed both fixes in bugfix-test1.
- File-panel and search context menus separate Rename (one selection) from
Bulk Rename (multiple selections). F2 remains selection-aware and unchanged.
- Devices have independent stop/go and eject controls: red stop for Unmount,
green go for Mount/Remount, and red eject matching the user’s screenshot.
Internal unmountable partitions have no eject control; Root/Home stay
protected. USB eject releases all partitions before powering off the drive
and aborts on failure. No forced unmount or application termination is used.
- Supported SMB/SFTP shares can be unmounted and remounted through the existing
authentication flow. Their disconnected entries survive for the current
session only. Eject disconnects/forgets the entry, never stored credentials.
- Busy failures identify processes visible through /proc where possible and
say “Please close all applications using the device and try again.”
If the filesystem remains mounted, failed unmount restores affected tabs,
including both panes’ order, selected tabs and view modes. This work was
paused at the user’s request, then verified when preparing this test build.
- Open Archive as Folder remains available for supported archives, including
ISO, when archivemount is absent. A consent prompt offers the upstream
installation page in the host browser. Nothing is installed automatically;
archivemount and privileged host FUSE support are not bundled.
Validation before packaging: full native make, search-window regression suite
(search environment, icons, rename guards, archive menu/browser consent), and
folder-expansion regression suite (device actions, remount authentication,
multi-partition eject, protected mounts, real busy-process identification,
and failed-unmount tab restoration) passed. The restored-folder cursor check
now waits up to three seconds for asynchronous loading rather than asserting
before the load completes. Earlier fixed-delay remote-loading checks have
occasionally failed under load; do not hide failures by assuming a pass.
Test archive: build/Swordfish-Portable-0.0.2-improvements-test3.tar.gz;
matching checksums: build/Swordfish-Portable-0.0.2-improvements-test3-SHA256SUMS.
Built with the Debian 10 portable builder (glibc 2.28). Docker initially had a
missing cached layer; rebuilding this image with --no-cache fixed packaging
without deleting shared Docker data. The package reports 0.0.2 and its visible
main window appeared and survived resizing under Xvfb. All 42 folder/device
checks and six search-window checks passed. Runtime portable-data is removed
before final packaging; it is recreated on launch. Real USB/share behavior and
button colours still need the user’s test; automated fixtures are not acceptance.
The earlier devices-test2 archive does not include busy-tab restoration,
archive guidance or the button colours.
Delivery: served temporarily from the codespace on port 8765 (SHA256
fada0a3733c2c2d850cf4272f2badadd4a587608c9996fd02c7aef745ff43d39).
On 28 October the user downloaded, extracted and launched it successfully;
the server was then stopped. Real-machine testing is in progress. Next step:
wait for the user’s Test 3 report (device colours, USB/share unmount, remount
and eject, busy-device message/tab restoration, rename entries, archive help).
Pending separately: beginner manual, then custom actions/custom toolbar;
native Wayland/cross-platform investigation. No port is claimed. Preserve
the saved local-change backup and user screenshots; do not reset the worktree.
Before starting the agreed beginner manual, the user requested two local
changes: Open in New Tab for a selected folder, and investigation of slow /
apparently incomplete Preferences scrolling (General and Appearance; the
theme list itself already scrolled).
- File-panel context menus now offer Open in New Tab for one selected folder.
It activates a new tab in that pane, preserves the original tab and observes
the existing tab limit. Files, multiple selections and the parent entry
cannot invoke the action.
- Preferences page scrollbars previously used FOX’s default one-pixel line
increment. They now use font-sized increments. Regression checks at a
reduced dialog height cover wheel movement, both ends of each overflowing
page, visibility of the bottom control group, and independent nested-list
scrolling. A separate range-truncation bug has not been reproduced.
- The regression runner uses the application’s configured compiler flags,
since Preferences has conditional fields that must match the linked object.
These are local source changes, not a new portable build or user acceptance.
The existing downloaded Test 3 archive is unchanged. No push or publication
was requested. Other discussion items remain pending; the future complete
customization engine is explicitly exploratory, not an implementation task.
3.23 Agreed Beta 1 usability, welcome and manual: 29 October
The user clarified that all agreed changes should be applied together, not
only the manual. The next local version is 0.0.3-beta1; stable 0.0.2 and
the downloaded improvements-test3 archive remain unchanged. No commit, push
or publication is authorized by this implementation agreement.
Implemented locally:
- Unmounted device names use normal readable theme text with an
(unmounted) suffix. The visible suffix is not part of the device’s stable
identity; the green Mount button remains available.
- Each tab remembers its own column widths, keyed by column identity rather
than position. Widths follow switching, reordering, tab removal, restored
sessions and failed-unmount tab restoration.
- A Preferences button at the right of the menu bar opens the existing
dialog. The current theme supplies a tools/wrench image, not a new icon
set or a complete UI customization engine.
- File and search context menus group edit/rename actions separately from
copy/move/link actions, without new submenus. Copy Path replaces Copy Name
and copies plain full paths, one per selected item. Other Pane commands
use the destination pane’s active tab; Link joins Copy and Move.
- The selected-folder new-tab command and readable Preferences scrolling
from section 3.22 are included.
- Help / User Manual opens the bundled offline HTML in the host browser.
The manual has 28 beginner chapters, real application screenshots, an
annotated workspace and two explanatory drawings. It assumes no previous
computer knowledge. Its HTML/images can also be hosted online; no online
publication or separately maintained PDF is claimed.
- New personal settings profiles receive a welcome with Read User Manual,
Next and Start Using choices. The next page offers Customize and System
Integration. Existing settings suppress the welcome. Detection checks
personal settings files, not just FOX’s successful bundled-default read.
- Preferences has a separate System Integration page. Desktop shortcut,
applications-menu entry and personal command link all start unchecked.
Changes are per-user; portable shortcuts invoke AppRun. Ownership checks
protect unrelated files, edits and symlinks. Removing a selection removes
only an unchanged Swordfish-created item. Host PATH collisions are refused.
Instructions explain desktop Allow Launching, PATH visibility and repairing
links after moving a portable folder. Errors keep Preferences open.
Validation so far: full native autotools build, search/UI regressions (including
actual copy, move and link into the other pane’s active tab), integration
ownership/collision tests, and manual link/image checks pass. An isolated
native first-run launch showed the welcome once and not on the next launch.
The folder/device suite subsequently passed in full with its strict 150 ms
single-event latency limit unchanged. Earlier runs hit that limit at 154-159 ms
on this shared development machine. Complete portable validation and the user’s
real-machine acceptance must be recorded separately.
Future custom actions, toolbar customization and a hierarchical UI styling
engine remain discussions, not Beta 1 implementation.
3.24 PATH destinations and live Details columns: 29 October
The user approved implementation after discussion:
- Do not add a directory to PATH. Offer existing host PATH directories instead,
preferring writable locations; create a missing personal
.local/bin only
when it is already listed in PATH. Show the full link path and whether it is
personal/shared or needs administrator authorization before applying.
- Protected standard command destinations use explicit
pkexec system
authorization, never an application password box. A small non-setuid
swordfish-command-link helper is installed in libexec and bundled for portable
use. It restricts destinations and actions, validates targets, refuses
unrelated links and keeps root-owned per-user ownership records. Protected
removal requires authorization too. Cancel/error keeps Preferences open.
Desktop and applications-menu entries remain per-user.
- Right-click a Details heading for a show/hide checklist. Drag the middle of
one heading onto another to reorder immediately; widths follow their column.
Name remains visible and first. Search retains Folder Name; Trash uses the
fixed Caja-style Name, Size, Type, Trashed On and Original Location columns.
Existing Preferences controls remain available.
- Tabs persist column order/visibility as well as widths, including reordering,
closing and failed-unmount rollback. Changing column defaults in Preferences
invalidates older saved tab layouts after restart so the Preferences controls
continue to work rather than being silently overridden.
- Tab dragging already exists and is unchanged. The user had simply missed it.
The UI regression exercises actual header mouse events and the checklist,
field alignment and widths, search rows arriving after a layout change,
saved/restored tab layouts, and changed Preferences defaults. Integration tests
cover PATH alternatives, conflicts, ownership and helper discovery. Privileged
helper creation/removal checks run only inside an ephemeral network-isolated
Docker container, with the repository mounted read-only; they do not write
shared host directories or request a real password. Actual desktop authorization
interaction still needs real-machine acceptance. No commit/push/publication
was requested, and no new portable delivery is claimed by this section.
3.25 Local Beta 1 portable test build: 29 October
The user requested a tar.gz test build served through the Codespace, with its
download port opened. Built Swordfish-Portable-0.0.3-beta1 from the current
uncommitted source, including section 3.24, using Debian 10/glibc 2.28.
The legacy Docker builder avoids the previously damaged BuildKit cache.
The actual portable binary reports 0.0.3-beta1. Xvfb launch checks passed for
the new-profile welcome, resizing, graceful shutdown, settings persistence
and no repeated welcome on the next launch. The package includes the offline
manual and non-setuid command-link helper. Fresh smoke-test portable-data is
removed before the final archive. Matching local source and SHA256 checksums
accompany the test build. Native UI/integration/device regression results
remain recorded above; real desktop authorization and user acceptance remain
pending. This is a local test delivery, not a published release or a commit.
Stable 0.0.2 and previous downloaded test archives are unchanged.
After the user confirmed downloading Beta 1, the port-8765 server was stopped.
At the user’s low-disk-space request, expanded local test bundles, obsolete
Test 1/Test 2 archives, native compilation outputs and the autotools cache were
removed. The current Beta 1 binary/source/checksums, Test 3 rollback archive,
manual/UI references, user attachments and source/backups were retained.
Workspace free space increased from 2.8 GB to 3.9 GB; build/ shrank from 1.3 GB
to 173 MB. Future build scratch/staging should use the separate /tmp filesystem
where practical (38 GB free at cleanup), retaining only final deliverables in
the workspace. Docker data was left alone because it may be shared.
3.26 Tabs/layout not saved after changing visible columns: 29 October
The user reported that after changing columns through a heading’s right-click
menu, reopening returned to one pane and a Home tab. The menu correctly changes
only the active tab; Preferences retains its separate default choices.
Reproduced the delivered Beta 1 shutdown failure:
FileList::getHeaderSize: index out of range. The legacy configuration saver
checked global default visibility before reading each pane’s current column
width. A hidden column therefore returned index -1, causing process exit before
tabs, panel layout and the rest of the session were saved. This is an interrupted
save, not evidence that the settings file itself became corrupt.
The local fix shares width-saving logic across left, right and search panes,
checks actual column presence and preserves stored widths for absent columns.
Search Folder Name width is located by column identity, no longer fixed at
position 1. Added a regression invoking the real configuration saver after
column toggles/reordering in both panes and search, then launching a separate
process to verify both panes, tab paths/order/selection, views and column
layouts/widths restore. The full native build and expanded UI regression pass,
including that separate-process save/restore test. Validation builds use /tmp to avoid filling workspace
storage. This source fix has not yet been delivered as a replacement portable
archive; the original Beta 1 download remains unchanged.
3.27 Independent pane column preferences: 29 October
The user confirmed that visibility/order should be shared by all tabs in a
pane, with left/top and right/bottom independent. This replaces the earlier
per-tab visibility/order design; widths remain per-tab.
Preferences → File List now selects Left / Top Panel or Right / Bottom Panel,
initially selecting the active pane. It reads the live headings when opened,
retains pending edits while switching its selector, applies both pane choices
immediately on OK, and discards edits on Cancel. Heading-menu choices and
heading dragging affect the same pane-wide settings. Changing visibility in
Preferences preserves the relative order of columns that remain visible.
Each pane stores its stable column IDs under its own column_layout setting,
independently of tab restoration. Older Beta 1 settings migrate from that
pane’s previously active tab. Tab changes and rollback/session restoration
no longer override pane column choices. Hidden column widths remain in tab
state and are restored from saved width entries. Sorting refreshes its field
indices from the pane being sorted, preventing the other pane’s different
layout from changing the meaning of a field.
The native build and focused GUI suite pass, including actual Preferences
Cancel/OK, independent layouts/sorting, and real shutdown plus fresh-process
session restoration. The device/folder suite passed on retry without changing
assertions; its first run missed an expected simulated-unmount error message.
Build and test scratch remain on /tmp, not the workspace filesystem. Manual,
portable notes and changelog describe the new scope. No replacement portable
archive, commit, push or release has been made.
3.28 Test 2 delivered and confirmed working: 29 October
Built a replacement local portable test with the shutdown/session-saving fix
and independent per-pane column preferences. Build scratch and staging used
/tmp; the portable baseline remains Debian 10 / glibc 2.28. Actual portable
first-run welcome, resize, graceful shutdown, saved settings and reopening
without another welcome passed. Removed the smoke-test profile before packing.
Retained downloads in build/beta1-test2-download/:
Swordfish-Portable-0.0.3-beta1-test2.tar.gz (80,179,793 bytes).
Swordfish-FM-0.0.3-beta1-test2-source.tar.gz, matching current working-tree
source rather than committed HEAD.
Swordfish-0.0.3-beta1-test2-SHA256SUMS, verified against both archives.
Portable SHA256:
6f03db4ee336ed2ee35fd184a836905e1e0ad46f3a107ade4f173afdb9776f09.
Source SHA256:
c175b136e48089dc709c92ac5557444b72c1aaa16f9d4878afc39ef918ba9e27.
Served on port 8765 through the existing authenticated Codespaces endpoint.
The user downloaded it and reported “tested, working”, with further testing
to follow. At the user’s request the download server was stopped; verified no
listener remains on port 8765. Temporary expanded bundles, native validation
build and smoke profile were cleaned. Retained downloadable archives,
checksums, diagnostic screenshots/logs, source and existing recovery backups.
The stable published release is unchanged; nothing was committed or pushed.
3.29 Cleanup and custom-action design approved: 6 November
At the user’s low-disk-space request, removed three obsolete Copilot package
versions (retaining the two newest) and specifically identified obsolete
Swordfish Docker images/build-cache records. Kept the current portable builder,
all project downloads, source, notes, backups and chat history. Free workspace
space rose from 3.2 GB to 5.9 GB; the worktree status was unchanged.
The user approved implementing custom actions before the main toolbar editor:
- Thunar-style custom actions, with name, description, icon, command and
selection/file-type conditions.
- Add Action, Add Folder and Add Separator. Folders support nested cascading
groups rather than a flat list of actions.
- A Show on custom toolbar checkbox for actions and folders. Toolbar folders
open dropdown menus; separators organize the toolbar.
- Keep the custom-actions toolbar separate from all existing main toolbars.
- Design shared toolbar-editing mechanisms where useful, but implement the
main toolbar’s built-in-command editor in a separate later step. Built-in
commands must use their native handlers, not shell-command imitations.
Implementation was authorized with “agreed, go ahead”. This does not authorize
a commit, push, release, or replacement of the user’s downloaded Test 2.
Implemented locally: Tools → Custom Actions… opens the hierarchy editor;
Tools → Show Custom Toolbar toggles a separate toolbar with its own Edit
button. Actions support file/folder/count/glob conditions, automatically quoted
path/name/URI/current/other-pane placeholders, confirmation and terminal
execution. Context menus hide unavailable actions; toolbar buttons disable
them. Folder dropdowns expose descendants without duplicate top-level buttons.
Editor Apply changes its working copy; Save persists and Cancel discards.
Configuration uses Swordfish’s own registry, with schema/hierarchy validation.
Limits are 256 entries and 16 nesting levels. PNG icons currently retain their
intrinsic dimensions; use small images. Complex shell syntax should be placed
in external scripts. Action shortcuts and main-toolbar editing are not shipped.
Full native build and install dry-run passed, as did five core and nine GUI
custom-action regression groups. Existing Beta 1 GUI regressions also passed,
including real shutdown and fresh-process tab/layout restoration. Core tests
execute hostile filenames through /bin/sh and verify quoting, conditions,
hierarchy operations and file-backed persistence. Terminal behavior was tested
with a fixture, not every terminal emulator. Existing global-window teardown
is excluded by the widget fixture; custom-controller teardown was verified.
Validation scratch/logs were moved out of the workspace to
/tmp/swordfish-custom-actions-validation-20261106. Manual, portable notes and
changelog updated. No new portable package or real-machine acceptance yet.
3.30 Custom-actions Test 3 delivery: 6 November
At the user’s request, built Swordfish-Portable-0.0.3-beta1-test3.tar.gz
from an isolated snapshot of current uncommitted sources. Debian 10/glibc 2.28
baseline; packaged application reports 0.0.3-beta1. Actual portable first-run,
resize, graceful shutdown, settings persistence and reopening checks pass.
The new custom-action core/GUI and existing Beta 1 regression results are
recorded in section 3.29. Real-machine custom-action acceptance remains pending.
Final downloads are in build/beta1-test3-download/, with matching source
and verified SHA256SUMS. Portable archive: 80,353,352 bytes, SHA256
03ea494c1294b16339efe42b1ea2576ebf4dfbcd15732837924f706a5686043d.
Source SHA256:
1dbcc47077ff44c3c3315fc3efa3c7b8a46111e0bf1377520c395d5caa7171b5.
Smoke-profile data was removed before packing. Previous Test 2 is preserved.
Served only this download directory on port 8765 through the authenticated
Codespaces endpoint. Local HTTP archive response verified as 200; forwarded
endpoint responds with the sign-in redirect. Server handle:
beta1-test3-download-server. Stop it after download confirmation.
Temporary expanded portable/source staging and smoke profile were cleaned;
build logs retained on /tmp. No commit, push or release was made.
3.31 Test 3 feedback: custom icons and successful-launch output
The user’s screenshots showed action/folder PNG icons expanding the toolbar
to the image’s original dimensions, and a successful Firefox launch leaving
a command-output dialog. User confirmed the desired behavior: successful
normal launches without a window, failures with captured output, plus optional
Show output and Run in terminal controls.
Custom icons now fit the standard small toolbar icon height, preserving aspect
ratio. Added a persisted Show command output option, unchecked by default and
backward-compatible with existing action settings. Hidden command windows
collect output, delete themselves on successful completion, and show on failure.
Command child status is forwarded by the application harvester so consuming
SIGCHLD first does not misclassify success. Companion command-window consumers
retain their normal visible behavior and forward child status too.
Native clean rebuild and custom-action core/GUI tests pass, including a
2048-by-1024 action/folder PNG, silent success, explicit successful output,
visible failure and settings compatibility. Existing Beta 1 GUI regression
also passes, including shutdown and fresh-process session restore. Source and
manual changes are local; the already-downloaded Test 3 remains unchanged.
No replacement package, commit or release yet.
3.32 Custom-action navigation and Thunar-style layout agreement
The user supplied build/thunar-custom-1.png, thunar-custom-2.png and
thunar-custom-3.png as arrangement/workflow references and approved:
- A top-level Custom Actions menu listing configured actions/groups and Edit.
- Custom toolbar Edit separately at the far right; right-click toolbar offers
editing. File/background Custom Actions submenus also include Edit.
- A Preferences Custom Actions tab, using the same editor/model.
- A large action/group list with compact side controls and action properties
split into Basic and Appearance Conditions pages. Preserve nested folders,
separators, icon selection and Show on custom toolbar for actions/folders.
- Make Show without selection prominent. Folders also enables actions on the
current folder when no selection exists.
- One File Pattern field, no separate extensions field.
.jpg;.png;.tar.gz
means *.jpg;*.png;*.tar.gz. Explicit wildcard patterns remain supported.
Range stays * (unrestricted); retain Show without selection.
Parent implemented and verified core shorthand matching, independent folder
eligibility and safely quoted current-folder placeholder expansion. Explicit
dotfile globs such as .* retain their meaning. Custom-action UI/navigation
integration is complete locally: top-level menu retains all configured actions,
disabling unavailable ones; context submenus always include Edit, including an
empty configuration. The separate toolbar anchors Edit at its far-right edge
and offers a right-click editing menu. Preferences opens the same editor.
Properties use Basic/Appearance Conditions tabs with command browsing, bounded
icon preview, placeholder help, prominent Show without selection, and preserved
Show on custom toolbar/output controls. Main editor retains the nested tree
with icon/name/description rows and compact side controls.
Clean native build and existing Beta 1 GUI suite passed. Six core regression
groups and thirteen custom-action GUI groups passed, including measured
far-right Edit geometry, menu availability, empty-configuration editing,
Preferences access, tabs, icon bounds, silent success and visible failure.
An initial toolbar alignment assertion caught a real positioning error; fixed
layout rather than weakening the assertion. Validation remains under /tmp.
Manual, portable notes and changelog updated. Downloaded Test 3 is unchanged.
No new package, commit, push or release is authorized by the design agreement.
3.33 Program/parameters and parameter legend agreement
The user supplied build/caja-command.png and build/caja-legend.png and
approved borrowing their command-entry features without replacing the agreed
Thunar-style arrangement:
- Separate Program and Parameters. Program accepts one executable name found
on host PATH (
bash, thunar, mono, wine) or a full executable path,
typed or selected with Browse. Arguments go in Parameters.
- Working directory with Browse, defaulting to the active folder.
- Live command preview, without executing anything.
- Scrollable Parameter Legend.
- Additional placeholders for selection count, basename without extension,
and extension, while retaining existing Swordfish placeholder meanings.
Existing full-command actions must remain compatible rather than being
silently split or reinterpreted. Paths with spaces must work safely.
Implemented locally. New actions use Program mode; existing commands retain
their original full-command mode without eager splitting. Optional fields
persist compatibly with older settings. Working directory accepts %p/%o/%d/%f
and %% as literal-path substitutions, defaults to the active directory, and
rejects missing/inaccessible directories. Programs resolve against host PATH
or a literal executable path. Preview never executes.
Added %c (actual selection count), %w/%W (basename without last extension),
%x/%X (last extension without dot). archive.tar.gz becomes archive.tar / gz;
.hidden has no extension. Empty extensions remain empty arguments; background
count remains zero even with current-folder fallback. Legend explains these.
User additionally approved Test Action: it shares preparation validation and
runs /bin/sh -n for syntax only, never executing the action. Reports Checks
Passed or clear errors; checks executable lookup in Program mode, placeholders
and directory validity. Explicitly does not promise application-option validity
or runtime success; legacy commands receive syntax checking, not arbitrary
shell-program resolution.
Native build, nine core regression groups, fourteen GUI groups and existing
Beta 1 session/UI regressions passed. Coverage includes legacy persistence,
hostile executable/cwd filenames, new placeholder quoting/edge cases, real
Program/Parameters/Browse fields, preview, scrollable legend and Test Action
success/failure dialogs. Side-effect marker tests prove checks do not run the
action. Validation remains under /tmp. Manual/portable notes/changelog updated.
No replacement package, commit, push or release requested.
3.34 System icons for custom actions: approved
The user supplied build/icon choice.png and build/icon choice-2.png:
custom-action icons should be selectable from installed system icons as well
as image files. Agreed implementation adds a searchable visual chooser with
system icons, Image Files and No Icon routes, preserving bounded toolbar
sizes. Portable resolution must use host icon data rather than only bundled
Swordfish assets.
Implemented locally. The chooser loads forty previews per page and supports
search, paging, Cancel, image selection and resetting to the default icon.
System selections persist theme:NAME and resolve host XDG themes, inheritance
and hicolor fallback; image selections persist absolute paths. PNG/JPEG/XPM
load natively; SVG uses the existing converter and cache. All sizes preserve
aspect ratio. Missing selected icons report an error.
Native build, sixteen custom-action GUI groups, nine core groups and existing
Beta 1 GUI/session regressions passed. Coverage includes synthetic host themes,
inherited/fallback names, portable host-vs-bundle lookup, image formats/bounds,
search/paging, cancellation and reset. Initial search-fixture failure targeted
the category combo’s internal field rather than Search; corrected fixture
target selection while retaining the zero-results assertion. Manual, portable
notes and changelog updated. No replacement package or release yet.
3.35 Small editor improvements approved
The user approved prioritizing Duplicate Action, suggesting an installed
application’s icon, and unsaved-change protection before another test build.
Implemented locally. Duplicate Action clones every field, assigns a new ID,
retains the parent, inserts beside its source and selects the copy.
Use Program Icon explicitly suggests an installed application’s icon rather
than silently overwriting the user’s choice. Editor and properties compare
meaningful fields and protect dirty Cancel/Escape/window-close routes with
Discard / Keep editing; unchanged dialogs close without a warning.
Native build, ten core and seventeen custom-action GUI regression groups,
and existing Beta 1 GUI/session regressions passed. Covers duplicate
selection/persistence, suggestion/overrides and dirty-close routes. Manual,
portable notes and changelog updated. No replacement package yet.
Import/export, action keyboard shortcuts and toolbar
icon-size/text options are deferred, not part of this implementation.
3.36 Custom-actions Test 4 delivery: 6 November
User requested a test build and download port. Built from an isolated snapshot
of current sources on /tmp, including sections 3.31-3.35. Debian 10/glibc 2.28
baseline; version remains 0.0.3-beta1. Actual packaged first-run welcome,
resize, graceful exit, settings persistence and restart smoke passed.
Removed portable-data before final packaging; archive exclusion verified.
Retained downloads: build/beta1-test4-download/, with matching source and
verified SHA256SUMS. Portable:
Swordfish-Portable-0.0.3-beta1-test4.tar.gz, 80,388,098 bytes.
SHA256 11476c00223d9ed13cd6db41c12765434c35f00a90cfc1886077e174fd1c1d40.
Matching source:
Swordfish-FM-0.0.3-beta1-test4-source.tar.gz.
SHA256 31b3d9b1dcc2d2a7a376d57f4f9d470e4a65181a120ad465beed0abad4cc01d9.
Stopped the Test 3 server and served only the Test 4 directory on port 8765,
handle beta1-test4-download-server. Local archive returned HTTP 200; forwarded
Codespaces endpoint responded with its sign-in redirect. Stop the server after
download confirmation. Previous test archives are preserved; temporary expanded
Test 4 source/bundle and smoke profile cleaned, build log retained on /tmp.
Real-machine testing remains pending. No commit, push or release.
3.37 Test 4 command-entry feedback and simplified modes
The user reported disabled/uneditable command fields and too many competing
entry boxes in build/custom-action-config.png. Cause: a legacy action showed
its editable full command alongside disabled Program/Parameters fields.
Agreed Caja-style simplification: show only Program/Parameters normally;
Advanced: full shell command replaces them with one editable Command field.
Working directory and preview stay visible. Preserve saved legacy command
bytes and mode; do not silently split shell commands.
Implemented locally, with reduced field minimum widths. Native build and all
seventeen action GUI groups pass; added explicit visibility assertions for
both modes alongside existing compatibility/editability checks. Manual and
portable notes updated. Downloaded Test 4 remains unchanged; no new archive.
The user selected the previously agreed main-toolbar editor as the next item,
then requested previews for images in the custom-action icon chooser.
Added View → Customize Main Toolbars… for the General, Tools and Panel
toolbars. Each editor keeps its built-in commands on their original native
FOX targets/selectors and supports add/remove, reordering, separators and
restoring defaults. Configuration is stored separately from Custom Actions;
address, tab and custom-action toolbars are not included. Saved entries are
validated against the available command catalog before use.
The custom-action Image Files route now browses a selected folder, shows
image thumbnails and a larger preview for the selected image, and retains the
existing image validation and aspect-ratio handling.
Native build and all eighteen custom-action GUI regression groups passed.
Coverage includes a preconfigured startup toolbar, native target preservation,
editing/persistence, canceled and applied Restore Defaults, image thumbnails,
large preview and cancellation. Manual, portable notes and changelog updated.
No replacement package, commit or push requested.
Tests 5-7 exposed toolbar regressions on the user’s machine despite local
regressions passing: missing right-click menus, excess separators, ineffective
overflow controls and missing zoom access. Attempts to repair the presentation
layer were rejected in favor of restoring the working built-in toolbars.
Section 3.38 is historical: its built-in toolbar editor is no longer present.
The final rollback removes the toolbar editor, right-click presentation menus,
icon-size/display preferences, overflow controls, separator parking and special
toolbar mouse routing/application-dispatch workaround. Native General, Tools and
Panel toolbar commands and separators were compared directly with the original
source and match. Old customization registry entries are ignored, not migrated
into the retained interface. File-panel zoom remains; no toolbar icon-size
preference remains.
Retained and validated:
- Custom Actions creation/editing/duplication, folders/separators, conditions,
placeholders, save/reload, confirmation, terminal and host-safe execution.
- Top-level Custom Actions, file/background contextual actions, Tools and
Preferences access, plus the separate labeled custom toolbar and rightmost
main Settings icon with the “Edit Custom Actions” tooltip.
- Maximizable system-icon chooser with a responsive labeled grid, categories
from freedesktop Context metadata or standard directory names, and search.
- Image Files opens the normal file chooser with a bounded live preview below
the left sidebar. Accept closes both choosers and applies the icon directly
to Properties; cancel preserves the previous choice. No extra preview window.
- The manual, integration options, column preferences and other Beta 1 fixes
documented in the changelog.
Test 8 was built on Debian 10/glibc 2.28. Model regressions, full local build,
GUI regressions with/without Fluxbox, real pointer image selection, actual
maximization, invalid-image errors, settings persistence and clean teardown
passed. The GUI suite also passed against Debian-built objects and packaged
theme icons. The actual portable launcher passed first-run, resize, clean exit
and restart checks. On 6 November the user reported “seems OK” and authorized
publication, then requested documentation first, commit/push/release second,
and safe disk cleanup last.
Release tag: swordfish-0.0.3-beta1; title: Swordfish 0.0.3 beta 1.
The user explicitly chose GitHub’s Latest badge while retaining beta labeling;
GitHub cannot mark a prerelease as Latest, so this release is not marked with
the platform’s prerelease flag. This is not a claim of final 0.0.3 stability.
The stable 0.0.2 release/tag/assets must remain unchanged.
Publish matching portable ZIP/tar.gz, source archive, offline-manual ZIP and
SHA256SUMS. Exclude portable-data, test profiles and build logs. Preserve manual
illustrations in source and packages; only obsolete test screenshots/downloads
and known temporary build products are cleanup candidates. Never use a broad
git reset/clean to perform this cleanup.
3.40 Beta 1 startup delay fixed locally: 7 November
The user reported that published 0.0.3 beta 1 started slowly. Their MX Linux
measurements (build/measure-startup.py, alternating 3-5 runs against Xfe)
isolated the delay to Custom Actions using theme: icons in xferc. Removing
only those icon lines restored normal startup. The cause was startup icon
resolution building the complete system-icon chooser catalog by scanning every
installed theme.
Fix, committed locally as a62bc2e on top of 64dfde3 (not pushed):
configured theme icon names are batched and resolved through a targeted,
cached lookup. The full catalog is built only when the icon chooser opens.
Theme precedence, raster/SVG/size selection and pixmaps fallback are preserved
and covered by expanded GUI regressions. Native build plus both Custom Actions
regression suites passed before and after the commit; the committed source
matched the delivered test build byte-for-byte.
The user’s matched run on 7 November, using separate temporary copies of the
same xferc with four theme icons (medians: main window / Ctrl+F search ready):
| Build |
Swordfish |
Xfe in the same run |
| Published beta 1 |
4.07 s / 4.56 s |
0.62 s / 1.08 s |
| Icon-startup test build |
0.90 s / 1.51 s |
0.63 s / 1.08 s |
The user also confirmed the four icons, launching an action and the folder,
opening the editor and the icon chooser all work in the test build.
Test build: Swordfish-0.0.3-beta1-icon-startup-test.tar.gz, SHA256
39bc69016ab617c214d2d94e7585a4ad6a81340773eab639a5d013e2fe6d2390;
source SHA256
34ecad8521c91c602082fa64324c68777c60661bd88bb81ac9ee2a9fed0b4621.
Both remain in build/ with their SHA256SUMS file. The user installed the
test build at ~/Applications/Swordfish-0.0.3-beta1-icon-startup-test and will
retest it later. If it passes, work resumes on features and modifications.
Pushing or publishing the fix still requires explicit permission. The
published beta 1 and stable 0.0.2 releases are unchanged.
The user later retested this build and reported it working.
3.41 Custom Action Properties simplified to one Command field (uncommitted)
The user asked for the full shell command to be the only command-entry method.
Changes in src/CustomActionsUI.cpp:
- Program, Parameters, the Advanced: full shell command checkbox and the
live command preview were removed. One Command field remains; its
Browse inserts a quoted program/script path (with
% escaped as %%).
- Show on custom toolbar moved to a Toolbar group at the top of the
Appearance Conditions tab for actions. Folders have no Appearance tab, so
their checkbox stays on Basic.
- Help labels, the Parameter Legend, Test Action messages and the tooltip were
reworded for the single command. New actions use command mode
(
programMode = false).
- Compatibility: the data model is unchanged. Program-mode actions saved by
earlier test builds open as one equivalent command via the new
CustomActions::commandText() (quotes unusual program paths, doubles %).
If the text is not edited, the action is kept exactly as stored, so no
false unsaved-changes prompt appears. Edited text is saved as a normal
command, clearing Program/Parameters. Execution of program mode is unchanged.
- Layout follow-up (user review of screenshots): the placeholder list has a
fixed width with Insert beside it; Parameter Legend and Test Action moved to
their own line below. The dialog can be maximized. The user chose to keep
the text fields at their fixed width rather than stretching with the window.
Tests: the core suite now checks that a converted command (path with spaces, a
quote and %) produces identical output. The GUI suite checks the new field
layout, no preview/mode switch, the toolbar checkbox location, and that a
program-mode action opens as one command and closes without a prompt.
make -C src, tests/run-custom-actions-regression.sh and
SWORDFISH_TEST_WM=1 tests/run-custom-actions-ui-regression.sh all passed.
portable/README.md, docs/manual/index.html and CHANGELOG.md were updated.
Not committed, packaged or pushed.
3.42 Unmounted Devices labels use muted text (uncommitted)
The user clarified the first item in build/for discussion.txt: connected
unmounted USB drives and internal partitions, and disconnected network shares,
should be visibly muted until mounted/reconnected. A safely ejected USB drive
should disappear once the system removes it; ejecting a disconnected share
forgets its Devices entry.
src/Places.cpp now paints enabled unmounted device labels with a muted color
derived from the active theme’s text and background, including the selected
colors. It preserves FOX’s icon, label, focus and selection geometry. The
color keeps at least 4.5:1 contrast when possible; if further muting cannot
maintain that contrast, the theme’s original foreground is retained. The
existing (unmounted) suffix still identifies the state in that case. Mounted
labels, actions, mount/eject controls and enabled/clickable behavior are
unchanged. Connected unmounted devices remain available to mount; remembered
GVFS shares remain reconnectable for the current session.
Validation: make -C src -j2 passed. The focused
tests/run-folder-expansion-regression.sh passed with a staged icon prefix:
it checks light/dark and selected colors, contrast and FOX drawing geometry;
simulates USB/internal mount-unmount transitions and USB ejection; and checks
share disconnect, reconnect and eject. Its host lsblk query is read-only;
device and share actions in the regression use fixtures. No physical hardware
or real network share was tested. The user has not tested this change yet.
The portable README, manual and changelog were updated. No test package,
commit, push or release was made.
3.43 Flat play/pause/eject device icons (uncommitted)
The user asked for video-player-style device controls: play for Mount, pause
for Unmount (the mount is “still there ready to resume”) and eject for Eject.
They must be flat line drawings, black on light backgrounds and white on dark
ones, everywhere except Close Archive Folder.
The reference sites could not be fetched, so the symbols are original
geometry defined once in src/icons.cpp (deviceSymbolOutlines).
drawDeviceSymbol draws them in sidebar device rows (src/Places.cpp),
replacing the bordered green play, red stop and red eject shapes; hit areas
are unchanged. loadAppIcons also generates antialiased
minidevicemounticon, minideviceunmounticon and minideviceejecticon,
sized like minimount.png and blended over the theme base color. These replace
the device Mount/Unmount/Eject icons in DirPanel.cpp, FilePanel.cpp and the
Tools menu/toolbar in XFileExplorer.cpp. deviceSymbolColor chooses black
or white by higher contrast with the actual background (including selected
rows). Close Archive Folder still uses miniunmounticon; theme PNGs are not
changed.
Review feedback: the first preview was fuzzy (strokes off the pixel grid) and
the user wanted solid pause bars. deviceSymbolShapes now maps the design
symmetrically onto whole pixels (stroke 2 px at 16-20 px sizes), pause is two
filled bars, and only diagonal edges are antialiased. The user also asked to
drop the (unmounted) suffix when dimming works: drawUnmountedDevice strips
the translated suffix from the drawn label whenever the muted color differs
from the theme text; the item text itself still carries the suffix, so the
fallback for undimmable themes is unchanged.
Validation: make -C src -j2 and the folder-expansion regression (44 PASS,
tests updated for the suffix rule) passed with a staged icon prefix. A preview
was rendered from the real generated icon pixels via a temporary harness; the
user has not tested a build yet. No test package, commit, push or release.
The user requested a Preferences-only toolbar icon size (no context menu).
A first attempt also covered the General/Tools/Panel toolbars by swapping in
enlarged copies after construction. It started crashing with heap corruption
(valgrind: invalid writes in the XFileExplorer constructor). This was caused
by stale objects after a header change, and a clean make -C src clean rebuild
fixed it. However, the user recalled that main toolbar changes were what forced
the Beta 1 rollback (3.39) and chose custom toolbar only. The main toolbar
code was removed; XFileExplorer.cpp contains only the 3.43 icon swaps.
Implementation: SETTINGS/customtoolbariconsize (16/24/32, read via
xf_toolbariconsize). CustomActionsUI::rebuild gives toolbar buttons
separate icons: actions with an image or theme: icon are reloaded from the
source at the larger size (quality depends on the source); fallback/builtin icons use
xf_toolbaricon (24 = smooth, 32 = exact doubling; device symbols redrawn).
Menus keep normal icons. Preferences applies the change immediately by
rebuilding the custom toolbar. Note that the Makefile does not track header
dependencies reliably, so run a clean rebuild after header edits.
Follow-up preflight found that wide icons could shrink instead of grow because
the reload size used the icon’s height rather than the standard toolbar size.
The loader now uses the standard size as its bounding box. The GUI regression
was updated for the new Preferences setting and checks wide file and system
icons, normal/medium/large sizes, disk persistence, Cancel, normal menu icons,
and unchanged main-toolbar icons.
Validation: clean build; launched under Xvfb at 16/24/32 with sample actions.
The native build and Custom Actions model and GUI regressions passed. The
folder-expansion and search-window regressions also passed when linked with
-lXrandr, required by the current local build configuration. The user has not
tested these local changes yet.
3.45 Discussion-list triage before a test build
On 8 November the user had about one hour and asked which discussion items
could be completed quickly and safely. The list still contains several items
that are already implemented: per-tab column widths, the always-visible
archive-folder action for supported archives with a missing-archivemount
message, the menu-bar Preferences button, Copy Path, and grouped Copy/Move/Link
actions including Other Pane. The user manual already exists as bundled offline
HTML. Online publication, version-numbering policy and the meaning of
“detailed representation of ui” still need discussion.
The dimmed device labels, play/pause/eject controls, simplified Custom Action
dialog and custom-toolbar icon-size setting are local changes awaiting user
testing. The wide-icon issue found during this preflight was fixed and tested
as recorded in section 3.44. The larger freedesktop multi-size icon/theme plan
is documented in build/for discussion.txt and should not be rushed into this
test build. No new test package, commit, push or release was made during this
triage.
3.46 Beta 1 updates test build (local, uncommitted)
The user approved a separate portable test build, not a release. It includes
the Custom Action dialog, dimmed unmounted devices, play/pause/eject controls
and custom-toolbar icon sizing described in sections 3.41-3.44. The larger
freedesktop icon/theme replacement remains deferred. No commit, push, published
release or change to the user’s installed Beta 1 was made for these updates.
The x86-64 bundle was built from a frozen working-tree snapshot on Debian 10
(glibc 2.28). The local download directory is
build/beta1-updates-test-download-20261108/; it is ignored by Git and must
not be mistaken for a permanent release. The source archive matches the build
snapshot and predates this history entry:
| Archive |
SHA-256 |
Swordfish-0.0.3-beta1-updates-test.tar.gz |
544447ef8ee9015026a7b61f5c9eba9aa6d594876e4c5ffd93058e6d225eb3d4 |
Swordfish-FM-0.0.3-beta1-updates-test-source.tar.gz |
ec633cbc217be94ed0f9e0f28c3e3374b0bbd3a8d98300e5f3c8b96204509f63 |
Both archive checksums were verified. The portable archive omits
portable-data; on normal launch it creates its own profile in the extracted
test folder. Existing Beta 1 settings may be copied, not moved, into the
test profile if the user wants their Custom Actions.
Validation used the extracted archive and a separate temporary HOME under
Xvfb with a window manager: first launch, resizing, clean exit, saved settings
and restart passed. The Custom Actions GUI regression also passed with the
portable-built object files and packaged default icons. Earlier native build,
Custom Actions, device and search regressions are recorded above. The user has
not yet tested this build and said they will test it later; no physical devices
were exercised in these checks. The user normally extracts the archive with
Archive Manager and runs AppRun; terminal commands are not required.
After delivery, the user asked to clean disk space. The verified temporary
source snapshot, build copies and extracted portable output were removed,
along with the unused swordfish-portable-builder:debian-buster-slim Docker
image. The next portable build will need to rebuild that image and may require
network access. The test binary and matching source archives, checksums,
earlier test and release files, and build/for discussion.txt were retained.
The private download server was left running, but its link depends on the
Codespace remaining available and may need to be restarted in a later session.
Package inspection also found 18 dangling Swordfish-named theme links created
by iconlinks.sh; the same links and absent targets are present in the
previous icon-startup test package. The application currently loads its window
icons by other names, and the hicolor application icons are present. This
pre-existing packaging issue was not changed during the time-limited test build.
3.47 Appearance Preferences usability feedback (pending)
The user initially could not find the toolbar icon-size setting. After its
location was explained, they supplied build/appearance.png, showing the
Appearance page with Large (2x) selected. This confirms initial UI inspection,
not successful testing of icon sizing or physical-device behavior.
The user asked to make a note, not implement another build: rename the section
to Tool Bar Icon Size and replace the dropdown with three clearly labeled
choices, 16, 24, and 32 pixels. Mutually exclusive radio buttons
are the suitable form of the requested radio-button/tick-box choice; keep the
Custom Actions toolbar scope explicit and leave main-toolbar sizing deferred.
The Appearance page construction also needs review. The screenshot shows
stretched controls and a partly obscured lower row in Custom Colors. Review
grouping, widths and resizing so controls remain visible and the size setting
is easy to find; the final page layout still needs discussion. This follow-up
is recorded in build/for discussion.txt. The screenshot and discussion file
are local, Git-ignored resources. No application code, test archive, commit,
push or release was changed for this note.
3.48 Nested portable launch breaks host networking (local fix)
The user reported that the updates test discovered only their own computer
and that unmounting an existing SMB share failed with “Containing mount does
not exist” (build/error-unmount.png). The earlier icon-startup test still
worked. They had launched the new test’s AppRun from the older Swordfish.
Closing the test and starting it from Thunar restored operation, as confirmed
by the user. Switching file managers is a workaround, not the required UX.
The user also confirmed that launching through a Custom Action in the older
build works. Custom Actions already wraps execution with xf_hostcommand;
that clean launch route explains the difference from directly running the file.
Discovery, unmount code and build-helper logic are unchanged from Beta 1.
The two delivered test archives also contain identical launchers. The launcher
unconditionally overwrote SWORDFISH_HOST_*, recording the older portable
process’s private PATH, libraries, XDG paths and GIO modules as the desktop
environment. Later host commands restored that contaminated environment.
portable/AppRun now preserves already-recorded original host settings,
including explicitly empty library/module values. First-launch capture,
separate portable profiles, preview-loader setup and companion launchers are
unchanged. The new tests/portable-launcher-regression.py reproduced the
nested-launch failures before the fix; it covers defaults, custom host paths,
inherited portable settings, empty host values, two-launcher chaining and
AppImage/companion profiles. No C++ or device-operation changes are required.
All six launcher regressions pass. A fixture using the actual older archived
AppRun also passes when chained into the corrected launcher.
The corrected package is Swordfish-0.0.3-beta1-updates-test2, stored in
build/beta1-updates-test2-download-20261108/. It reuses the verified updates
test’s binaries and libraries, changing only AppRun and the root README;
checksums verified all 9,450 other regular runtime files were unchanged.
The matching source archive retains the original application sources and adds
the corrected launcher, its regression tests and updated documentation.
| Archive |
SHA-256 |
Swordfish-0.0.3-beta1-updates-test2.tar.gz |
37c25fa7927635a99b13035750b4e3a2cf8b20a08a43685083f69249bd4c8785 |
Swordfish-FM-0.0.3-beta1-updates-test2-source.tar.gz |
96e36c52b6d5728c562a517982b2d540b813a994e9278366a88d6d56ebe44bc9 |
The extracted corrected archive passed first launch, saved settings, resizing,
clean shutdown and restart under Xvfb, both directly and through the actual
older archived launcher with a fixture application forwarding to the new app.
The real running process preserved the original host PATH, library path and
GIO module settings. The matching source archive predates this delivery entry.
The corrected archives and checksums are served separately on private forwarded
port 8766; the earlier download on 8765 was not replaced. Temporary extraction,
fixture and packaging copies were cleaned up after verification.
The user tested the corrected build and confirmed it is working. This confirms
the reported network discovery and share-unmount regression is resolved on
their setup; it does not validate unrelated physical-device operations. The
Appearance-page/radio-button request in section 3.47 remains pending.
No commit, push or published release was requested.
3.49 Framed device control icons (uncommitted)
After testing, the user asked for two changes to the flat device symbols from
section 3.43, to do next time:
- Draw the Mount (play) and Unmount (pause) symbols inside a square or circle.
- Fix the Eject symbol: it looks distorted. The user preferred the earlier eject
design from before the pixel-grid adjustment in section 3.43.
The symbols are drawn in src/icons.cpp and src/Places.cpp. Check them at
real size on light and dark themes before the next test build.
The user supplied comparison screenshots build/icons.png (current flat black
symbols without frames) and build/old icons.png (earlier framed square
buttons with coloured symbols: red dot, green play, red eject with base bar).
The framed buttons and old eject shape are the preferred direction.
The user then rejected the red dot (ugly) and fixed red/green colours (they do
not work on all backgrounds). Plan: square frames and the old eject shape, with
play/pause/eject symbols and frames drawn in one contrast-chosen colour.
Implemented locally: deviceSymbolShapes now draws a thin square frame plus a
solid play triangle, two pause bars, or a solid eject triangle over a bar, all
pixel-aligned. Sidebar rows (src/Places.cpp) now use the same smoothed
makeDeviceIcon rendering through a per-background cache instead of separate
line drawing; deviceSymbolColor is internal. Validation: make -C src
without warnings; folder-expansion regression 44 PASS (needs -lXrandr locally);
preview build/v3-icons-preview.png rendered from the real code at 16/20/24/32
px on white, grey and dark backgrounds. No test build, commit or release.
User note: play/pause/eject exist in most freedesktop themes as
media-playback-start, media-playback-pause and media-eject (present in
Adwaita and Humanity, not in the bundled sets). Stage 3 should map to them when
a theme provides them, keeping the drawn symbols as fallback.
Further user notes for Stage 3 and later: most themes also provide device and
network-share icons (drive-harddisk, drive-removable-media, media-optical,
computer, network-server, network-workgroup, folder-remote), so sidebar
rows should map to them with bundled fallbacks. A future build could extend
network discovery to FTP, SSH/SFTP, media servers, WebDAV and NFS, each with a
distinct theme icon. Recorded only; not designed or implemented.
Test 2 feedback (8-9 Nov): the user confirmed network-share mount, unmount and
eject work. USB was initially unavailable; on 9 November the user reported that
the USB test passed.
Unmounting an internal partition asked for an administrator password
(build/pw.png: “mounted by another user”); build/umerror.png shows
NotAuthorizedDismissed after the prompt was cancelled. The user first reported
that Thunar and Caja did not ask, then corrected this: both also ask when
unmounting the same partition. Swordfish uses host udisksctl unmount -b, with
authorization handled by UDisks/Polkit. No code or system policy was changed.
3.50 Pre-modularization baseline and additional requests (discussion)
The user wants a stable, tested build that can be committed and pushed before
starting a modularization branch. Current source is not identical to updates
test 2: comparison of regular source/test/portable files found 137 matching
files and three changed icon-related files (src/icons.cpp, src/icons.h,
src/Places.cpp). The framed icon revision still needs testing in a portable
build. Documentation has also changed; generated build and translation changes
must be reviewed separately rather than committed indiscriminately.
The user proposed six further items on 9 November, not yet implemented:
- Put transparent PNG, JPG and alternative application icons in an
app-icon
folder inside the main folder. Confirm whether this means the extracted
portable root beside AppRun. Existing folder and circular artwork is
available; JPG cannot preserve transparency.
- Add three or four smaller zoom-out levels because increased DPI makes icons
too large. Confirm which icon surfaces should change. Current file zoom has
five steps and affects Details icons as well as Icons/Thumbnails; preserve
existing saved zoom choices when extending it.
- Make the default address bar editable text with dropdown history. Current
pane bars have a separate history arrow, breadcrumbs/read-only text and a
temporary text editor. Clarify new-profile defaults versus existing choices.
- Make the root-launch toolbar icon red and root-window title bar/borders red.
Native title-bar/border colours are generally window-manager controlled;
an application-owned red warning/border is an alternative, not yet approved.
- Add Batch Rename to Tools, accepting a selected folder or multiple files.
Reuse the existing
RenameDialog; clarify whether selecting a folder means
its contents or renaming the folder itself.
- Show the dragged column/tab and its drop position, like Firefox. Existing
column and tab reordering lacks that feedback; preserve resizing, tab state,
file dropping and hover-to-switch behaviour.
These are requests for scope discussion, not all purely cosmetic changes.
Implementation (9 November, uncommitted, not yet user-tested). The user chose
“do any items that can be done safely”:
app-icon/: folder and circle artwork as transparent 256/512 PNGs and white
512 JPGs, plus 256/512 shield JPGs from logo.jpg. Installed to
share/swordfish/app-icon; the portable root gets an app-icon symlink.
- Zoom: three extra zoom-out steps (icons 24/20/16, Details rows 14/12/10).
Saved steps 0-4 remain valid.
- Address bar: text mode is the default; local folders use a permanently
editable path field. The existing history arrow beside Back is the dropdown.
Fixed Preferences reading/writing
showpathlinker while panels used
show_pathlinker.
- Root: the root toolbar icon is tinted red in every theme; a root window has a
red menu bar with white text. Title bar/border colours stay WM-controlled.
- Tools > Bulk Rename… (reusing the existing translated label). Multiple items
work as before; one selected folder renames its direct contents, sorted
naturally, including hidden files only when shown. An empty folder shows an
information message.
- Drag preview for columns/tabs: not attempted; deferred as riskier.
Validation: clean src build; Custom Actions regression and UI regression
(including new zoom-out test); portable launcher regression; staged
make install; folder-expansion regression 44/44 (run from a copy with
-lXrandr, a pre-existing link omission in the repository script). Xvfb
screenshots confirmed the editable path field and navigation, red root menu
bar and icon, Bulk Rename dialog listing a folder’s contents, an actual rename
on disk, and the empty-folder message.
Baseline test build (9 November, user-approved): built from a frozen snapshot
on Debian 10 / glibc 2.28 as Swordfish-0.0.3-beta1-baseline-test.tar.gz
(SHA-256 d63edd1e72444789ca0ca51db7527fc9d8733ce223a85f10708c908b8b8658fc)
with matching source archive (SHA-256
c735d20e7c7e198ca641ec64df5ec65523c1747441e29803e749f8484507e208) in
build/baseline-test-download-20261109/. It also contains the untested framed
device icons. The portable first-launch smoke test passed. Awaiting user
testing; no commit, push or branch was made.
User feedback on that build: no visible history arrow and no way to switch to
breadcrumbs. Fix: the Folder History arrow moved from beside Back to the right
end of the address field, dropping its list down below the arrow (it stays
greyed out until there is history). The pencil button now toggles
show_pathlinker (text/breadcrumbs) for both panels, saved immediately;
Ctrl+L still focuses/edits the path. Preferences re-reads the setting each
time it opens so it cannot overwrite the toggle. Verified in Xvfb (history
list, toggle, persistence after restart) and with the Custom Actions, UI,
portable launcher and folder-expansion regressions. Rebuilt as
Swordfish-0.0.3-beta1-baseline-test2.tar.gz (SHA-256
dc2eb9f9e316f6da07d68a3d763adfcb98c372da69b4e64bf1cb26e5d95f21e2) in
build/baseline-test2-download-20261109/; smoke test passed.
The user confirmed the old builds’ path-linker preference did not work and
found its wording ambiguous. Following their suggestion, the working-tree
preference is now labelled Default address bar mode, with Text and
Breadcrumbs choices. It uses the same saved setting as the address-bar
switch. Fixed the text field remaining visible alongside breadcrumbs when a
Preferences change refreshes the panes without an immediate restart.
A clean source build and the UI regression passed; isolated Xvfb checks
confirmed that each choice survives an application restart. This change is
not included in baseline test 2, and no new portable build was made.
Follow-up (9 November): the user asked to keep things simple — make the
existing history buttons clearer and the mode setting clearer. The setting is
now two radio buttons in a Default address bar mode group: Button mode
(breadcrumbs) and Edit mode (text) (same show_pathlinker key). The
pane Folder History arrow returned beside Back (its original position); it and
the top toolbar’s Back/Forward history arrows now share xf_historybutton():
raised, thick-framed, larger arrow scaled by screenres. The pane list drops
down from the arrow’s left edge, clamped to the screen; the toolbar lists open
below their buttons instead of at fixed offsets. Clean src build; Custom
Actions regression and the GUI regression (6 consecutive runs) passed,
covering both panes, both modes, empty/populated history and selection.
Not yet in a portable build.
Trash bug (9 November, all builds): Places → Trash showed “Folder
~/.local/share/Trash/files doesn’t exist”, and trashed files were invisible to
Thunar/Caja (trash:///). Cause: portable AppRun redirects XDG_DATA_HOME
into the bundle, so every trash path built from xdgdatahome pointed at a
private trash inside the bundle, while Places hard-coded the real
~/.local/share/Trash/files, which does not exist until something is trashed.
Fix: new xf_trashdatahome() (prefers SWORDFISH_HOST_XDG_DATA_HOME, then an
absolute XDG_DATA_HOME, then $HOME/.local/share) is used for all trash
paths including Places; DirPanel::onCmdGotoPlace and FilePanel::navigatePane
create the trash files/info folders (0700) on demand. Verified under a
portable-like environment that startup creates the host trash and no bundle
trash; both regressions pass. Note: items trashed by older portable builds
remain in the bundle’s private data/Trash and will not appear in the new view.
This fixed Home Trash only, not the combined mounted-drive view provided by
desktop file managers; see section 3.51.
Trash controls (9 November): the user found no visible way to empty the trash
(the existing Trash menu / Ctrl-Del was overlooked). Added, Caja-style, a
Trash bar above the file list (FilePanel::trashbar, toggled in
onUpdStatus) shown only while that panel displays the trash, with
Restore Selected Items (activates that panel, then restores to each item’s
original location) and Empty Trash; plus Empty Trash in the sidebar
right-click menu of the Trash can place (DirPanel::onSidebarPopup). Trash
columns now match Caja’s Name, Size, Type, Trashed On and Original Location
order. The bar’s Empty button forwards via
ID_TRASHBAR_EMPTY because mainWindow is still NULL while panels are
constructed. Verified in Xvfb: bar shows/hides, Restore enables on selection
and restores, both Empty paths confirm and empty files/info.
Integration / toolbar-size follow-up: the user reported repeated launcher
creation and an error when changing toolbar size, even though integration
appeared unchecked. The screenshot showed refusal to remove a modified desktop
entry. Ownership verification failure had cleared the displayed choices, and
every Preferences Accept reapplied integration, including unrelated saves.
Recorded choices now remain visible on verification failure; only integration
controls are disabled with an explicit warning. Other preferences still save.
Integration is applied only when its choices or enabled command destination
change. Reapplying unchanged desktop/menu entries no longer calls fchmod
unnecessarily, preserving inode, mtime and ctime when permissions already match.
Strict refusal to overwrite or delete changed/unrelated launchers is retained.
Pure launch-only recreation has not been reproduced; no startup integration
apply call was found.
The specific request in section 3.47 is now implemented locally:
Tool Bar Icon Size, with 16 px, 24 px, 32 px radio buttons.
This changes only the custom toolbar, retains DPI scaling, applies on Accept
and discards on Cancel. Broader Appearance-page redesign remains deferred.
A clean source build, System Integration regression and window-manager GUI
regression passed. Coverage includes radio exclusivity/layout, unchanged
launcher/state metadata across size saves, saving with a modified desktop
entry, and intentional integration removal versus Cancel.
Manual, portable notes and changelog updated. No new portable package,
commit or push; the baseline-test2 download remains unchanged.
Follow-up verification (9 November): the “launchers recreated” symptom is
caused by Preferences Accept, not startup. With inotify watching the launcher
folders, baseline test 2 produced ATTRIB/CLOSE_WRITE on both launchers and the
state file on every Accept with no changes; the current build produced none,
and three portable starts produced no events and identical checksums with
either build. Ownership is now recognised by the Swordfish marker comment or
the recorded Exec line, so a desktop-reformatted launcher keeps the choices
checked and enabled; only truly unrelated files lock the integration controls.
Unchanged launchers are opened read-only. Verified in Xvfb with the portable
bundle: modified launcher, select 32 px, Accept, no error dialog, launchers
unchanged, customtoolbariconsize=32 saved.
Drag fixes (9 November): dragging to Chrome or a text editor failed because
Swordfish offered Move, which copy-only targets reject. When the pointer is
outside Swordfish, Move now becomes Copy (xf_dragaction), and the UI log
records drag-to-other-program accepted/rejected. The user also reported a
stop sign on clicking items in a writable MegaSync folder. Cause: a click with
slight movement starts a drag, and the cursor was chosen before the target’s
XDND status reply arrived, so the first frame always showed stop and stayed
until the pointer moved again. FXApp::dispatchEvent in foxhacks.cpp now
updates the drag cursor when the status arrives. FileList::onDragged also
used orgdirectory (set only on DND enter, so empty on the first drag and
stale afterwards) for the read-only source check; it now uses the list’s own
folder. Verified in Xvfb: short drags show the move cursor, a read-only target
folder still shows stop, and both regression suites pass.
The user then found that drags fail when the target is on another desktop
(FeatherPad on desktop 2, Chrome restored from the panel): the pointer becomes
normal and the file is lost, while Caja works. Cause: X releases a pointer grab
when the grab window becomes unviewable, and FOX grabs on the source widget.
xf_keepdraggrab() (called from FileList/DirList::onBeginDrag) moves the
active grab to a 1x1 override-redirect window at -10,-10 that is mapped with
XMapRaised (FOX show() does nothing because shells start with FLAG_SHOWN).
FOX still routes events to mouseGrabWindow, and ungrab() releases it.
Verified in Xvfb with fluxbox: drag, switch desktop, drop into FeatherPad
(file opened, log “accepted”); drag, minimize Swordfish, grab kept, released
on button up.
Pre-build checks: Escape cancels a drag and releases the grab; internal drops
still show Copy/Move/Link; two back-to-back cross-desktop drags both reach
FeatherPad. The Places sidebar has never supported dragging. Tree-tab drags still
failed: hovering over a folder during the drag expands it, and
DirList::onExpanded called ungrab(), which also released the helper’s grab.
It now skips the ungrab while isDragging(). Verified: tree folder dragged
to a copy-only target on desktop 2 arrived (file:///go). The
folder-expansion regression passes; its script needs -lXrandr added to the
link line (missing before this work).
Baseline test 3 (9 November, end of day): built with
./portable/build-portable.sh build/Swordfish-0.0.3-beta1-baseline-test3
(Debian 10, glibc 2.28) and served from
build/baseline-test3-download-20261109/ on port 8766 (test 2 remains on
8765). SHA-256 of the portable tarball:
722b906645878ff68042c3e9e2b8177471a233eea2f316712d9d5d4b51f497a8. Smoke
test of the extracted package: started normally, and a file dragged to a
program on another desktop arrived (“accepted” in ui.log). It contains the
trash bar and sidebar Empty Trash, clearer history arrows, address-mode radio
buttons, the launcher/toolbar-size fixes, and all drag fixes above.
Plan: the user tests test 3 the next day (cross-desktop and panel drags to
Chrome/FeatherPad, Tree-tab drags, plain clicks, internal Copy/Move/Link menu,
toolbar size, launchers after restart, trash buttons, address bar). If all
pass, commit and push as the stable baseline, then branch for
modularization. Nothing is committed yet. Disk clean-up removed superseded
test packages (icon-startup, beta1-updates 1 and 2, baseline test 1) and
temporary test folders; kept are release-beta1, baseline tests 2 and 3, and
the user’s notes and screenshots in build/.
3.51. Combined Home and mounted-drive Trash (10 November 2026)
The user tested baseline test 3 from a fresh extraction. Places -> Trash opened
the correct host Home Trash. A disposable file trashed directly from Home in
Caja appeared in both programs, but items from a mounted Projects drive were
missing in Swordfish. The previous host-path fix was necessary but incomplete:
Caja combines Home Trash and per-volume Trash; Swordfish listed Home only.
The user approved a combined view, Restore to each item’s original location,
and Empty Trash applying to Home plus mounted drives after confirmation.
Older private portable Trash must not be migrated or deleted automatically.
Implementation:
- Shared helpers discover the user’s
.Trash-<uid> and sticky .Trash/<uid>
layouts from mounted filesystems, reject symlink/foreign-owned roots and
deduplicate directories. They do not create per-volume Trash folders.
- The Home Trash listing includes mounted-drive items, keeping each row’s real
backing path and independent identity even when filenames match. Hidden
trashed items remain visible. Periodic refresh detects other-drive changes
and unmounts. The address bar retains the Home Trash navigation anchor.
- Metadata parsing accepts either field order, decodes percent escapes once,
resolves volume-relative paths against their mount point and rejects
relative paths escaping that mount. Properties and both restore routes use
the same reader. New metadata is percent-encoded, including literal percent
signs; creating missing Trash directories no longer skips writing metadata.
- Restore, clipboard, file operations, Properties, archive inputs and selected
size commands use physical item paths rather than joining a displayed name
onto Home Trash. Metadata cleanup requires the source to have actually
disappeared; successful File operations cover mounted-drive paths too.
- Empty Trash confirms its combined scope, checks each folder, stops on
failure/cancellation, preserves metadata for remaining items, and recreates
removed files/info directories privately. Trash Size uses the same discovered
locations. Unmounted drives and legacy private portable Trash are untouched.
- Ordinary folder listings and file operations avoid mounted-Trash discovery
unless their paths could be inside Trash. Read/discovery errors are logged.
Validation uses disposable Home/volume fixtures and the existing mount-table
interposition, never real desktop Trash. Added checks cover both volume
layouts, duplicate names and selection after refresh, hidden folders,
percent-encoded and unordered metadata, descendant paths, invalid escape/NUL
paths, first-use metadata creation, symlink decoys, mount disappearance,
actual clipboard/Properties, actual Restore, Empty confirmation cancellation,
and a simulated deletion error preserving the remaining restore metadata.
Clean native rebuild and the full folder/device regression passed, as did
the Custom Actions model and window-manager GUI regressions. One initial
folder/device run hit its existing 150ms UI timing assertion later in unrelated
share-reconnection checks; subsequent complete runs passed without relaxing
the threshold. The folder runner now links Xrandr only when the configured
build uses it, matching the GUI runner’s convention.
Independent re-verification (clean make -C src rebuild, real tmpfs drive
mounted at /media/sftestvol, disposable Home Trash, app driven on Xvfb):
both Home and drive items listed with correct original locations (including a
%20-encoded name); Restore moved the drive item back to
/media/sftestvol/projects/sfm/drive note.txt and removed its record; Empty
Trash counted both locations, Cancel kept everything, OK emptied both; with the
drive remounted read-only, Home was emptied, the drive item and its record were
kept, errors were shown and the app stayed running; unmounting the drive left
a working Home-only Trash view. Custom Actions model and GUI regressions
passed. Known cosmetic point: the read-only case shows two error boxes (file,
then folder).
Baseline test 4 (10 November, morning): built with
JOBS=2 ./portable/build-portable.sh build/Swordfish-0.0.3-beta1-baseline-test4
(Debian 10, glibc 2.28, about 6 minutes). It adds the multi-volume Trash fix to
test 3. Downloads, source (working-tree, non-ignored files) and SHA256SUMS
are in build/baseline-test4-download-20261110/, served on port 8767.
Portable SHA-256:
ba579821736adc9b841f2aa27c667c89cf4af27e617049c84ee9f8793b4b3e3d.
Smoke test: the extracted package started normally and showed the welcome
window.
Updated the changelog, portable notes and manual. No commit, push or branch
was made; baseline test 3 downloads remain unchanged.
User test (10 November, 11:10 UTC): the user downloaded and tested test 4 on
their machine and reported “trash fix passed”.
3.52. MX Blues built-in theme (10 November 2026)
The user supplied build/MX Blue.swordfish-theme (named “MX Blues” inside)
and asked for it as a built-in theme called MX Blues, right after Current
Theme (index 1). Added to PreferencesBox before Swordfish with the file’s
exact colors; NUM_DEFAULT_THEMES raised from 14 to 15 (custom themes are
stored separately as THEMES/themeN, so they are unaffected). Verified on
Xvfb after a clean rebuild: the list shows Current Theme, MX Blues, Swordfish,
…; selecting MX Blues and Accept saved basecolor #29353b, backcolor
#1e242d, listbackcolor #0f3540, highlightcolor #113d48. Not in test 4.
3.53. FTP unmount URI lookup (10 November 2026)
A tester reported that mounting an FTP server from the address bar worked,
but Unmount showed “Can’t determine the network mount URI”. The uploaded
screenshot and build/logs.tar.gz confirm an FTP GVFS mount was opened and
browsed. xf_gvfsmounturi() handled SMB, SFTP and MTP but omitted FTP.
Added FTP to the existing host/user/port URI conversion, preserving encoded
usernames and targeting the mount root even from a nested directory. This
shared helper also supplies sidebar network-mount recognition. No mount,
authentication or unmount-command behavior was otherwise changed.
Incremental native build and the complete folder/network regression passed.
New assertions cover plain FTP, encoded login/custom port, nested paths and
missing host; real File::mount() calls with the fixture host gio verify
the two expected FTP unmount commands are executed. This is local fixture
verification, not a connection to the tester’s server; real-server retesting
is pending. Not included in test 4; no new package, commit or push.
3.54. Network devices and read-only DLNA browsing (10 November 2026)
The user asked to extend discovery to FTP, SSH, media servers, printers and
network infrastructure, all before the baseline. Agreed scope: media is
read-only browsing (folders and server categories in the file pane, files
streamed to a player or the browser, Download saves copies); infrastructure
is advertised devices only, no port scanning; no “Send to TV”.
Helper (src/NetworkDiscovery.cpp): SSDP M-SEARCH, mDNS (legacy unicast)
and WS-Discovery printers emit `SERVICEkindkeyaddressname
urlsources` (kinds ftp, sftp, media, printer, router); local and
non-IPv4 addresses are skipped. Web pages are only accepted on the same host
(`sameHostPage`). New `--media LOCATION dlna://host:port/path` (SOAP Browse
with paging, read-only GVariant rows whose link is the stream URL) and
`--download URL FILE` (writes `FILE.part` with O_EXCL, links into place, never
overwrites, prints DONE).
GUI: `RemoteDirectory` treats `dlna://` as a server path (all share read-only
guards apply), keeps a media-server registry (persisted in `NETWORK MEDIA`),
and runs a sequential download queue with one "Download failed" summary.
`DirPanel` lists services as `SidebarItem::SERVICE` rows ("Name (kind)") and
opens them (media: pane; ftp/sftp: `resolveNetworkPath`; others: host
xdg-open). FilePanel streams/downloads; tabs are labelled with the server
name. Streaming via xdg-open disables startup notification, which otherwise
left a busy cursor (caught by the GUI regression).
Verified: clean native build without warnings; network-discovery, full
folder-expansion GUI (new device, media, stream and download checks),
custom-actions and custom-actions UI regressions. A real minidlna in the
codespace was browsed, downloaded from (byte-identical, no overwrite) and
discovered over SSDP from a Docker container; an Xvfb smoke of the patched
test-4 bundle opened its folders from the address bar. Not tested on a real
LAN, FTP/SFTP servers, printers or routers. No commit or push.
Baseline test 5 (10 November, 12:28 UTC): built with
`JOBS=2 ./portable/build-portable.sh build/Swordfish-0.0.3-beta1-baseline-test5`
(Debian 10, glibc 2.28). Adds network devices/DLNA browsing (this section),
MX Blues (3.52) and the FTP unmount fix (3.53) to test 4. Downloads, source and
`SHA256SUMS` are in `build/baseline-test5-download-20261110/`, served on port
8767. Portable SHA-256:
`033ffc65a44124c1160de3431b541ce80639bf8e13ce3ed147d02f28ba999b05`.
Smoke test: the extracted package started and exited cleanly; its
`swordfish-network` includes the `--media`/`--download` modes.
### 3.55. Media play choices and download progress (10 November 2026)
The user tested test 5 with Kodi and Jellyfin: double-click always went to
the browser (only Swordfish's own player setting was consulted, and the stream
is an http address), and downloads gave no feedback.
- Double-click order is now: the Swordfish audio/video player, then the
desktop's default application for the file's MIME type (guessed from the
name with GIO, looked up with `xf_defaultApplications`), then the browser
through host `xdg-open`. Desktop applications run through `xf_hostcommand`
with the stream URL appended.
- The media file context menu (one file selected) has **Play**, **Play With**
(installed applications whose `MimeType` includes the type, the default
first, plus **Web Browser**), **Copy Stream Address** (text clipboard) and
**Download...**. Folders keep **Open / Download... / Refresh**.
- The helper's `--download` prints `PROGRESS <total|-1>` lines
(throttled to 250 ms) before `DONE`, and removes its `.part` file and exits
130 on SIGTERM/SIGINT.
- `RemoteDirectory::download` now takes an owner window. The queue parses the
progress lines and shows a non-modal **Media Download** window after 0.5 s
(so quick downloads don't flash it): "Downloading N of M: name", a bar
(bytes when the size is known, else files) and the byte count. **Hide**
keeps it hidden until the batch ends; **Cancel Downloads**
(`RemoteDirectory::cancelDownloads`) terminates the helper, removes the
`.part` file, drops the queue and reports no error.
Verified: clean native build without warnings; network-discovery (new
progress, sized and SIGTERM cleanup checks), full folder-expansion GUI (menu
contents, clipboard, default application, Play With, browser, progress
window, Hide, Cancel), custom-actions and custom-actions UI regressions. The
GUI test now isolates system application folders. Not yet tested with real
Kodi/Jellyfin or a real player. No commit or push.
Baseline test 6 (10 November, 13:16 UTC): built with
`JOBS=2 ./portable/build-portable.sh build/Swordfish-0.0.3-beta1-baseline-test6`
(Debian 10, glibc 2.28). Test 5 plus this section. Downloads, source and
`SHA256SUMS` are in `build/baseline-test6-download-20261110/`, served on port
8767 (test 5 server stopped). Portable SHA-256:
`0c9dedcf720431204215f3f6cd390fae29eada3fab6c663202f8e456b11890b0`.
Smoke test: the extracted package started under Xvfb and kept running; its
binaries contain the new menu items and the helper's PROGRESS output.
Feedback on test 6: **Play With** listed applications that cannot play the
file (it took every application whose `MimeType` includes the type, such as
editors), and offered no way to reach the regular Open With dialog. Changes:
- `DesktopApplication` gained `acceptsUrls` (Exec has `%u`/`%U`). Besides the
desktop default, Play With lists only applications that accept URLs and
have a `Player`, `TV` or `Viewer` category, excluding `WebBrowser` ones
(covered by **Web Browser**).
- **Other Application...** opens the regular Open With dialog.
`HistInputDialog::setOpenWithContext` takes an optional known MIME type,
because `file` cannot inspect a stream. "Remember" saves a Swordfish
association for the extension.
- Double-click now also honours a Swordfish association that is a real
command; `` associations still only map to the audio/video
player settings. Commands outside the bundle (`swordfish-open`, `swf*`,
`xfw`) run through `xf_hostcommand`, like the regular Open With.
Verified: clean rebuild without warnings; all four suites pass. The GUI test
adds an editor and a `%F`-only player that must not appear, plus Other
Application with and without Remember. No commit or push.
Baseline test 7 (10 November, 13:40 UTC): built with
`JOBS=2 ./portable/build-portable.sh build/Swordfish-0.0.3-beta1-baseline-test7`
(Debian 10, glibc 2.28). Test 6 plus the Play With filtering and Other
Application. Downloads, source and `SHA256SUMS` are in
`build/baseline-test7-download-20261110/`, served on port 8767 (test 6 server
stopped). Portable SHA-256:
`9185071f2574da1d19cb9a4374f10d9fdb452307c0cc053f430cd978359bc20d`.
Smoke test: the extracted package started under Xvfb and kept running.
### 3.56. Swordfish 0.0.3 beta 2 released (10 November 2026)
The user tested baseline test 7 ("all done") and asked to commit, push and
publish beta 2. `configure.ac` and `configure` now say `0.0.3-beta2`; README,
portable/README, the manual, RELEASE-NOTES and the CHANGELOG heading were
updated. Release tag: `swordfish-0.0.3-beta2`; title **Swordfish 0.0.3 beta
2**. As with beta 1 (3.39), it carries GitHub's Latest badge and is not
flagged as a pre-release; 0.0.2 stays the stable fallback, unchanged.
Files: portable ZIP and tar.gz and the source archive from the tag workflow,
plus `Swordfish-User-Manual-0.0.3-beta2.zip` added by hand, with
`Swordfish-0.0.3-beta2-SHA256SUMS` covering all four. The commit also carries
regenerated autotools/gettext files (`aclocal.m4`, `Makefile.in`, `po/*.po`);
the release container regenerates them with `autoreconf -fi` regardless.
### 3.57. Beta 2 ZIP extraction compatibility (12 November 2026)
The user reported the GitHub ZIP as corrupt and supplied extraction output
showing "Dangerous link path was ignored" for theme-icon links pointing to
`../default-theme/`. A fresh GitHub download matched the published SHA256
and passed `unzip -tq`. However, current official 7-Zip 26.06 reproduced the
exact error (258 rejected links, exit 2); 7-Zip 23.01 extracted successfully.
Compressed-data tests alone did not catch the compatibility failure.
The user authorized replacing or removing the affected ZIP. Repackaged the
original published contents with `zip -qr` instead of `zip -qry`, so ZIP
entries are ordinary files/directories, not symbolic links. Supplied six
missing default-theme application-icon targets, repairing 18 broken fallback
links before packaging. The `app-icon` directory link is materialized too.
Every original regular file and resolvable file-link payload was verified
byte-for-byte; application binaries and executable modes are unchanged.
No portable-data is included.
The corrected ZIP passes `unzip -tq` and actual 7-Zip 26.06 extraction with
no errors. The 7-Zip-extracted app reports `0.0.3-beta2` and displays both the
main window and first-run welcome under Xvfb without output/errors.
Corrected ZIP SHA256:
`e776d792de10704086d5b2d9f1e9245f9f134f3b5dafe5dbb82be404eadfc293`.
Future packaging uses the dereferencing ZIP command and tests compressed
data in the release workflow. `iconlinks.sh` now supplies default-theme
targets from the source before linking other themes; its focused regression
checks fresh install, repair/reinstall and preservation of theme overrides.
These source changes are local, not committed or pushed.
Only the portable ZIP and its line in SHA256SUMS were replaced on the
beta 2 release, with a dated explanation on the release page. A fresh GitHub
download matched the new checksum and extracted successfully with 7-Zip
26.06; GitHub's other three asset digests stayed unchanged. The tar.gz,
source and manual assets, binaries, tag and earlier releases stay unchanged.
### 3.58. Beta 2 feedback to investigate (12 November 2026)
The user reported:
- Random slow startup and restart.
- The address-mode toggle affects both panes; it should be independently
usable per pane. The current handler explicitly writes one shared setting
and refreshes both panes; this is confirmed current behavior.
- Column-menu checks disagree with Preferences and visible columns.
Initial inspection found `getHeaderIndex()` infers Trash from the number
of columns alone; ordinary five-column layouts need reproduction.
- Restore Icons / Title / Both settings for the custom toolbar, and add a
custom-toolbar-only context menu for size and presentation. Do not bring
back the rolled-back main-toolbar customization.
- Open Archive as Folder fails with permission denied unless running root.
Exact archive path, format and error/logs are still needed; do not solve
this by automatically elevating or changing permissions.
- Slow archive operations, especially copy/move out of archive folders;
investigate 7-Zip or another faster approach.
- Slow Move to Trash / Empty Trash and copy/move compared with Caja/Thunar;
consider Ultracopier, but do not switch engines before measurement and
agreement on behavior/dependencies.
Archive folders currently use host `archivemount` (FUSE); extraction commands
select host tar/unzip/7z and other tools by format. Root can bypass permission
restrictions, but the report alone does not identify which permission failed.
The remaining feedback is not implemented or validated by the ZIP repair.
### 3.59. Interface feedback fixes (12 November 2026)
The user chose the interface items first and said the archive permission
error happens only with `.iso` files (not yet investigated).
- **Column checklist:** `FileList::getHeaderIndex()` and the sort/header
update handlers now use `inTrash` instead of "5 columns means Trash".
Before, an ordinary pane with exactly five columns used the Trash column
list, so heading right-click checkmarks, toggles and sort arrows were wrong.
`search-window-regression` checks a normal five-column layout.
- **Address bar per pane:** the pencil button now switches only its own pane,
saving `show_pathlinker` in that pane's `LEFT PANEL`/`RIGHT PANEL` registry
section. Panes without their own entry follow the Preferences default
(`SETTINGS/show_pathlinker`). Changing the default in Preferences deletes
both pane entries, so both panes follow the new default.
- **Custom toolbar display:** `SETTINGS/customtoolbarstyle` (0 icons and
titles, the previous look and default; 1 icons; 2 titles). Preferences →
Appearance → **Custom Tool Bar** has Icon size and Show rows. Right-clicking
the custom toolbar (empty space, an action/folder button or the Settings
button) opens a menu for display, size, Edit Custom Actions and Show Custom
Toolbar. Menu choices apply immediately; the rebuild runs as a chore because
the right-clicked button itself is replaced. The built-in toolbars are
unchanged. The old beta 1 keys (`CUSTOM ACTIONS UI/display_mode`,
`icon_size`) stay ignored.
- Tests: `custom-actions-ui-regression` covers the per-pane switch, default
reset, the right-click menu on all three targets and the Preferences Show
row. Its `mouseClick()` flushes X requests first, because freshly rebuilt
buttons may not yet exist on the X server. `run-search-window-regression.sh`
now links `-lXrandr` when configured, like the UI runner.
- **ISO Open as Folder permission error:** reproduced with an ISO built
without Rock Ridge (`bsdtar --options '!rockridge,joliet'`). libarchive
then reports entries as `root:root` with modes 0400/0500, so a normal user
could not enter folders; root could. Linux ISOs with Rock Ridge were fine.
`onCmdArchiveOpen` now passes `-o uid=,gid=` to archivemount for
every archive (mode bits are unchanged; only displayed ownership).
`search-window-regression` mounts such an ISO for real when archivemount,
FUSE and bsdtar exist; it must register SIGCHLD like `main.cpp`, otherwise
FOX crashes in `File::mount()`. Verified the check fails without the fix.
The user confirmed the ISO now opens.
### 3.60. File operation speed (12 November 2026)
Measured with a test harness that runs the real `File` copy/delete/move code
under Xvfb (10,000 × 4 KiB files in 100 folders; 2 × 500 MiB files). Caja
and Thunar are not installed here, so `cp`/`rm`/`mv` were the baseline.
| Operation | Before | After | Command line |
|---|---|---|---|
| Copy 10,000 small files | 0.90 s | 0.33 s | `cp -a` 0.24 s |
| Copy 2 large files | 1.9 s | 2.0 s | `cp -a` 1.9 s |
| Delete a folder in Trash (10,000 files) | 1.5 s | 0.20 s | plain delete 0.15 s |
| Move 10,000 files to another drive | 1.08 s | 0.36 s | `mv` 0.40 s |
- **Copy/move/delete progress:** each file or 1 MiB block updated the
progress labels, ran `runModalWhileEvents` and called `repaint()`, about 13
X server round trips per file. `File::uiUpdateDue()` limits this to about
ten times a second, also in `computeSourceSize`. Cancel still responds.
- **Delete inside Trash:** `xf_cleanuptrashinfo` ran `xf_trashlocation` (reads
the mount table and checks each mount's trash) for every deleted file. It
now returns first unless the parent folder is named `files`, because only
top-level Trash items have restore information. Slower still with many or
network mounts.
- **Move to Trash:** `fmove` scanned a whole folder's size before trying a
same-drive `rename`, only to feed a progress total. It now skips the scan
when no total was given (Move to Trash passes none).
- Not changed yet: archive-folder copies still read through
archivemount/FUSE. (Trash on other drives: see 3.61.)
### 3.61. Move to Trash on USB and other drives (12 November 2026)
Before, Move to Trash always used Home Trash, so trashing from a USB stick or
another partition copied the whole item to Home and deleted the original:
slow, and it filled the Home drive. Caja and Thunar use the drive's own trash.
- `xf_trashfor(path, files, info, topdir)` in `xfeutils.cpp` picks the trash
can per item, following the freedesktop Trash spec. It uses the drive's
own trash when the item's folder is on another device from Home Trash. It
finds the drive's top folder with the deepest mount-table entry on the
same device, the same table `xf_trashlocations()` reads, so the combined
Trash view, Restore, Trash Size and Empty Trash find these items. It
prefers a sticky, non-symlink `$top/.Trash/$uid`, otherwise
`$top/.Trash-$uid` (mode 0700). Each folder must be a real folder owned by
the user on that device. It falls back to Home Trash for read-only mounts,
unsafe/symlinked trash, or if the folders can't be created (for example
`/` without permission).
- `xf_create_trashinfo` takes an optional `topdir`; drive trash stores
`Path=` relative to the drive, so restore still works if the drive mounts
elsewhere later (`xf_readtrashinfo` already resolved relative paths).
- Used by the three Move to Trash commands: FilePanel, DirPanel (folder tree)
and SearchPanel. Drag/paste *into* the Trash folder still targets Home Trash.
- Regression in `folder-expansion-regression.cpp`: a simulated drive on
`/dev/shm` (a real second device). The real Move to Trash command keeps the
inode (a rename, not a copy), writes a relative path, and Restore puts the
item back. An unsafe (symlink) drive trash and same-device items use Home
Trash. It skips if `/dev/shm` is on the same device as the test folder.
### 3.62. Archivemount alternative test (12 November 2026)
Compared the installed `archivemount 0.8.7` with a privately extracted Debian
`archivemount-ng 1c-1` and FUSE 3.18.3. Neither Swordfish nor the alternative
was built or installed system-wide. The standalone FUSE mounts used Swordfish's
`uid`/`gid` options. Each result is the median of two alternating warm-cache
runs, copying with 1 MiB reads/writes and verifying the resulting contents.
The 32 MiB inputs were synthetic random data; the ZIP small-file test used
300 files of 4,000 bytes each.
| Copy out of archive | archivemount 0.8.7 | archivemount-ng 1c-1 |
|---|---:|---:|
| 32 MiB ZIP | 2.733 s | 0.114 s |
| 32 MiB tar.gz | 1.247 s | 0.065 s |
| ZIP with 300 small files | 0.516 s | 0.540 s |
This is a backend benchmark, not a Swordfish GUI or cold-cache test. In an
isolated writable ZIP test, 1c preserved ZIP format and correctly saved shorter
overwrites; the earlier 1b release did not truncate overwrites. Both the
existing tool and 1c stored a new entry with a leading `/`: reopening through
archivemount worked, but `unzip` warned and returned status 1 when extracting
it. The 1c write test also emitted nonfatal ownership warnings for entries
reported as root-owned. The existing 0.8.7 rewrote the modified ZIP as a tar
archive while retaining its `.zip` extension. The `.orig` backup was verified
in the 1c test. Do not switch implementations without further archive-format,
write, and Swordfish integration testing.
### 3.63. Archive workflow decision and design notes (12 November 2026)
After the archivemount comparison in 3.62, the user decided that data
integrity matters more than speed. The new archive-folder workflow is **not**
being implemented yet. The only shipped change: ZIP archives (by extension or
file signature) always open read-only as folders, with a "ZIP archive opened
read-only" notice saying this protects the user's data, because archivemount
0.8.7 can rewrite a saved ZIP as a tar archive. Tar archives stay read/write;
formats archivemount can't write stay read-only as before. The regression in
`search-window-regression.cpp` checks the notice and that writes fail.
All the ideas, workarounds and possible solutions from the discussion are in
[docs/design/archive-workflow-ideas.md](/Swordfish-FM/docs/design/archive-workflow-ideas.html):
what `archiveVerifySave` does and doesn't catch, alternative FUSE backends,
extracting with 7-Zip or libarchive instead of archivemount, an
archive-manager-style virtual folder that saves by writing and testing a new
archive before replacing the original, disk-space checks (including
`fallocate` reservation), and drop-menu Extract Here / Compress Here.
A draft of the disk-space checks and the drop-menu entries was written,
syntax-checked but never built, then removed at the user's request. It is kept
as [docs/design/archive-extract-compress-here.patch](/Swordfish-FM/docs/design/archive-extract-compress-here.patch).
Test build (12 November 2026): building revealed that `archiveVerifySave` and
`archiveMountProcess` were defined but never called, so closing a writable
tar archive neither waited for archivemount to finish saving nor checked the
result. `onCmdArchiveClose` now finds the archivemount process before
unmounting, waits up to 10 minutes for it to exit (warning if it is still
saving), then runs `archiveVerifySave`, which restores the `.orig` backup if
the saved archive is missing, empty, in another format or unreadable. A new
regression edits a mounted `.tar.gz`, closes it and lists the archive
immediately. The generic read-only notice for ISO/7z/RAR was dropped; only
ZIP shows a notice. Regressions passed: search-window, folder-expansion,
custom-actions (+UI), preview, command-link, network-discovery, icon-links,
portable-launcher, native-directory-helper. system-integration fails on
unchanged files ("modified owned desktop entry must report a verification
error"); not investigated.
Tab and column drag were redone after the user compared them with Firefox. A
tooltip that trailed the cursor plus an insertion line did not look right.
Observed Firefox behaviour: the grabbed tab stays in the strip at its grab
offset and its neighbours slide into the gap, with no marker. The Library's
column headers only draw a drop line. Swordfish now uses the tab behaviour
for both. `TabDragButton` moves the real tab frames while the pointer stays
within the strip (half a strip height of slack). XDND starts only once the
pointer leaves the strip, when the tooltip preview appears for drops on
Bookmarks or the other panel; returning cancels XDND and resumes sliding.
`ColumnHeader` paints the header itself during a drag: the other headings
shift and the grabbed one is drawn at the pointer in the selection colour.
`FXHeaderItem::draw` is protected and is reached via `HeaderItemPainter`.
Leaving the header cancels the drag. A folder-expansion regression checks the
tab slide, cancel and drop; the search-window column test no longer expects
a tooltip.
### 3.64. Accepted drag feedback, local test bundle and cleanup (12 November 2026)
The user confirmed that archive-as-folder testing passed, then that tab and
column reordering passed after the Firefox-style rework. They explicitly
requested keeping archivemount's `.orig` backup after successful archive-save
verification; this is intentional, not pending automatic cleanup.
Built the current working tree with `portable/build-portable.sh` against
Debian 10 / glibc 2.28 for Linux x86_64. The test bundle still reports
`0.0.3-beta2`; it is an unreleased test build, not a new published release.
The downloadable `Swordfish-Portable-test-20261112.tar.gz` contained no
`portable-data` profile. Validation checked required files, archive paths,
internal symlinks, extraction, `AppRun --version`, and a visible GUI using
an isolated profile and Xvfb. All six portable-launcher regressions passed.
The complete HTTP download matched the packaged checksum:
```text
610a85a6b54bface62fe550537fe1a66d5ff050184a7e280be539e44f538f6a4 Swordfish-Portable-test-20261112.tar.gz
```
The archive was 81,241,947 bytes and was served through private Codespaces
port 8765. The user confirmed downloading and opening it, requested closing
that port, and will test locally later. Opening the local bundle is confirmed;
further local testing remains pending.
At the user's request, the download server was stopped and generated package
archives, expanded application payloads, compiled binaries/objects, and
temporary drag-test assets were cleaned up. Discussion documents, reference
images, themes and saved portable settings were retained rather than treated
as disposable build output. Source changes remain uncommitted and were
preserved; no release was published. The separate noVNC desktop on port 6080
was left running.
Cleanup reduced `build/` from about 2 GiB to 2 MiB and reclaimed about 2 GiB
on the workspace filesystem, leaving 5.3 GiB available. A content-and-mode
comparison of 8,300 source/resource files confirmed no changes apart from
this intentional history update. Port 8765 was verified closed and the
retained noVNC desktop remained responsive.
### 3.65. Clearer copy/move conflicts and numbered Rename (13 November 2026)
During the theoretical texture-folder discussion, the user requested clearer
general file-operation conflicts and explicitly approved implementing them.
They chose automatic unique names for Rename, including Apply to all, and
specified numeric suffixes rather than requiring a typed name for each item.
The gradient/texture ideas themselves remain unimplemented.
Copy/move conflicts now identify the incoming source and existing destination
with names, scrollable/copyable locations, types, sizes and modification dates.
Folder contents are explicitly not counted for the size display, avoiding
recursive scans just to show a prompt. Actions are Replace (or Merge for two
real folders), Rename, Skip and Cancel. Rename keeps both using unused names
such as `report (1).txt`, preserving compound tar extensions and skipping
occupied names, including dangling symbolic links.
The unchecked-by-default Apply to all checkbox remembers the action only for
the current operation and matching source/destination item types. Merge All
does not authorize replacing conflicting files inside. Nested conflicts are
handled individually or by their own remembered choice. Merged moves process
children separately and remove source folders only when empty, preserving
skipped source files on both same-drive and cross-device paths. Cancel stops
remaining work without promising to undo completed transfers.
Rename/link commands use the same conflict resolver where applicable. Existing
delete/Trash confirmations and the overwrite-confirmation preference remain
unchanged. The changelog and beginner's manual describe the new behavior.
Validation passed: a clean native build, the search-window suite with new
actual-dialog/file-operation cases (including simulated EXDEV fallback), and
the folder-expansion suite covering Trash/restore, archive commands and tab
dragging. No new portable bundle was produced; the user's previously
downloaded bundle is unchanged. These changes remain local and uncommitted,
with real-user acceptance of the new conflict dialogs still pending.
### 3.66. Experimental file-list gradients, patterns and textures (13 November 2026)
The user asked to test gradients, textures and patterns in the Codespace build
with example themes and high-resolution screenshots. The prototype is limited
to the file-list (IconList) background; text, selection fills, the tree,
Places, headers and other widgets keep solid colours.
One optional theme key drives it, `list_background_effect`, a space-separated
`key=value` list: `fill=solid|gradient|pattern`, `colors=#RRGGBB,...`,
`direction=vertical|horizontal|diagonal|radial`, `pattern=stripes|
vertical-stripes|diagonal-stripes|checks|grid|dots|diamonds|crosshatch`,
`size=4..256`, `texture=NAME`, `strength=0..100` and `rows=on|off`. Textures
are greyscale tiles whose luminance modulates the colours underneath. Bundled
tiles (`/share/swordfish/textures`, generated reproducibly by
`textures/generate-textures.py`) win over user tiles in
`~/.config/swordfish/textures`; missing names are ignored. Theme export/import,
saved custom themes and Accept carry the key; a theme change still restarts.
Rendering builds server-side images lazily per widget size: plain, alternate
row (adds `highlight - list_background`), sorted column and both. The effect is
fixed to the window, so scrolling repaints the viewport instead of blitting.
Big-icon thumbnail tiles stay solid. The agreed texture palette, user-folder
name-clash message ("Texture name already exists. Please use another name.")
and bundling PNGs with exported themes are not implemented.
Validation: clean native build; 13 example themes rendered at 2560x1440 under
Xvfb with detail and big-icon panes, selection and scrolled checks; the
search-window and folder-expansion suites passed. The preview package lives in
`build/theme-effects-preview/`. Nothing was committed; user review is pending.
### 3.67. Theme editor workflow agreed (13 November 2026)
The user described a separate Theme Editor with startup choices to edit the
current theme, create a new theme from the built-in Swordfish default, or
duplicate an existing theme. The mockup's appearance follows the chosen theme,
but its folders, files and layout always come from the user's current view.
The mockup is display-only for file operations and uses selectable editable
areas, property sheets and appropriate colour, texture/pattern and font tools.
The user approved the other proposed workflow improvements: hover/highlight
and an editable-area outline toggle; an element tree; preview states;
immediate mockup feedback with Apply/Cancel and cumulative changes;
inherited values; multi-step undo/redo; scoped resets, distinct Restore
Original and Restore Defaults actions; before/after comparison; readability
warnings; Save/Save As and unsaved-change warnings; bundling custom textures
with exported themes; an extensible user texture palette and the agreed
duplicate-name message; and fit-to-window/zoom.
The intended scope is all themeable interface areas. Delivery may be phased
(file list, tree/Places, tabs/headers, then toolbars/controls and remaining
areas) without reducing that goal. The mockup should update without restart;
any properties that still require restarting the main application must be
identified clearly. Full design and implementation notes are in
`docs/design/theme-editor-workflow.md`. This is a design agreement only; no
theme-editor code has been implemented.
The user then chose keshavbhatt/ColorPicker as the colour-picker model, with
all features. It and its successor ColorSmith are Qt apps (MIT archived and
GPLv3 respectively), so the agreed approach is a native FOX picker extending
`src/ColorSelector.*` with ColorPicker/ColorSmith-style features (design §6).
The user clarified that Apply changes only the mockup, without saving or
restarting. Save applies all cumulative changes to the running file manager and
restarts it if needed. An element's property sheet offers only supported
properties/effects; unsupported ones are hidden or disabled. Transparency
should be supported wherever possible. When saving edits to an existing theme,
ask each time whether to overwrite it or save a copy. Copy textures selected
from other folders into Swordfish's user texture folder; texture files should
be PNG only and at most 1024 x 1024 pixels. Colour palettes should include
both shared and theme-specific palettes, with optional names for individual
colours and gradients and a list of recent choices. If the screen eyedropper
is unavailable, explain this and allow manual colour selection. Readability
warnings should use WCAG AA, show the stricter AAA rating and offer an optional
fix rather than changing colours silently. An optional mockup privacy switch
can mask file and folder names and paths while sharing the screen. Textures
combined with colours or gradients can use the theme's colours or their PNG's
original colours, with a preview for each option. Gradient-stop changes remain
separately undoable even when several are made before the same Apply.
### 3.68. Preferences layout agreed (13 November 2026)
The user asked to replace Preferences' ten-tab row with a left category panel
and tabbed pages on the right, giving Double Commander and JDownloader 2 as
references. Agreed: a JDownloader-style left panel with large icons, a filter
box, a page title bar, OK/Cancel/Apply buttons, and reopening on the last page.
The existing settings are regrouped into General, Panels & Tabs, File List, File
Operations, Appearance, Language, Programs, Key Bindings, Custom Actions and
System. Theme colour editing moves to the Theme Editor; Preferences only manages
the theme list. Details are in `docs/design/preferences-layout.md`. Not yet
implemented. All dialogs and child windows, including file lists inside them,
will use a fixed palette instead of the theme. It will be built together with
the Preferences redesign. The palette is background #29353B, fields #1E242D,
borders, active tab and selection #0F56D9, and text #FFFFFF.
### 3.69. Importable test theme packs (13 November 2026)
The user wanted several generated full themes to test with the next build,
as importable packs rather than built-ins. An image model drafted 14 concept
sheets; they were turned into `.swordfish-theme` files (Arctic Aurora,
Autumn Leaves, Carbon Fiber, Desert Canyon, Desert Dusk, Forest Mist,
Graphite Copper, Indigo Weave, Linen Sage, Midnight Tide, Ocean Depth,
Porcelain Blue, Rose Quartz, Warm Parchment). Every list text/selection pair
meets WCAG AA (4.5:1). Four use new custom textures (autumn-leaves,
canyon-strata, marble, carbon-fiber). Generators, screenshots and a README are
in `build/swordfish-test-themes/` (git-ignored, not installed).
Code changes so the pack imports cleanly:
- `texture_colors=original` in `list_background_effect` draws a colour or
RGBA texture in its own colours (mixed over the fill by strength and alpha)
instead of tinting it by luminance.
- Import theme… accepts several files at once (`importThemeFile`).
- `importThemeTexture` copies a custom texture from `/textures/` or
the theme's own folder into `$XDG_CONFIG_HOME/swordfish/textures/`. Built-in
names are skipped; PNGs are checked (signature, at most 1024×1024). A missing
texture only warns. A different file with the same name blocks that theme
with "Texture name already exists" so another theme's texture is never
overwritten. Verified in Xvfb, including the name clash.
The portable test archive carries the pack as `test-themes/`.
Validation: the multi-import and texture-name collision were exercised in
Xvfb; all 14 themes were imported, and the portable bundle rendered Autumn
Leaves with its custom texture. Full-size screenshots and a contact sheet are
in the pack. `tests/run-search-window-regression.sh` and
`tests/run-folder-expansion-regression.sh` both passed. The portable test
archive is `build/Swordfish-Portable-test-20261113.tar.gz`; the standalone
theme archives are `build/swordfish-test-themes.zip` and
`build/swordfish-test-themes.tar.gz`. The user will test these and provide
feedback later. That archive predates the fixed dialog colours and editor
implemented in section 3.70.
The portable build initially failed due to a corrupt Docker build cache.
`docker builder prune -af` allowed it to complete. After delivery, temporary
build products and Docker images/cache were removed to address the user's
low-disk warning; approximately 2 GB was freed. The portable bundle can be
rebuilt with `./portable/build-portable.sh`.
### 3.70. Theme Editor, Preferences and fixed child-window palette
After learning that the earlier build contained the theme-effects prototype,
not the designed editor, the user explicitly requested implementation of the
Theme Editor, Preferences redesign and fixed dialog colours.
Implemented locally:
- Preferences now has the ten scrolling icon categories, filter below them,
category header, right-side tabbooks, remembered navigation and
OK/Cancel/Apply. The approved SVG/PNG icon set is installed with the app.
- **Preferences > Appearance > Theme > Edit / New theme / Duplicate and edit**
opens the separate Theme Editor. Its display-only snapshot copies current
panes, visible files, columns, tabs, tree, icons, fonts and column mappings;
it contains no operational file panels.
- Supported main-window areas expose their supported properties only.
File lists support solid/gradient/pattern/texture backgrounds, positioned
RGBA stops and movable midpoints. Fonts, inheritance, supported transparency,
zoom, privacy masking, comparison, state previews and readability warnings
are available. Window opacity requires an X11 compositor.
- Apply affects only the cumulative mockup. Undo/redo, separate gradient
changes, resets and restores are supported. Save includes pending and
previously applied edits, persists the theme and activates it live.
Cancelling Preferences does not undo an explicit editor Save.
- Native FOX colour tools add format parsing/copying, alpha, palettes,
tints/shades, contrast suggestions, random colours, image palette extraction
and a magnified X11 picker, without a new library dependency.
- Dialogs, choosers, operation/progress windows and companion child windows
use background #29353B, fields #1E242D, borders/active tabs/selection
#0F56D9 and white text. Main-window popups retain their theme. Shared
modern-control colour caches were removed so per-window palettes and
live theme changes actually paint correctly.
Validation: the native `make` build passed, as did
`bash tests/run-theme-workflow-regression.sh`, the search and folder-expansion
regressions, the Custom Actions model regression, and
`SWORDFISH_TEST_WM=1 bash tests/run-custom-actions-ui-regression.sh`.
The new workflow harness checks actual preview/button pixels, native gradient
controls, preview isolation, separate undo, disk-persisted cumulative Save,
Preferences Apply/Cancel, late popups, fixed choosers and palette scope.
An isolated `DESTDIR` data install also verified the ten category SVGs,
twenty normal/selected category PNGs and ten bundled textures. The manual's
Preferences instructions and screenshot now match the new layout.
Like the existing GUI harnesses it exits without directly deleting the main
window; it does not claim to validate the pre-existing destructor cleanup.
These are local build/Xvfb results. Real-compositor opacity and interactive
screen picking still need desktop acceptance, as do the remaining manual
palette/texture import-export paths. No commit, push or release was made for
this work.
Portable delivery (13 November 2026): `./portable/build-portable.sh` built
`build/Swordfish-Portable-Theme-Editor-20261113.tar.gz` (Debian 10 / glibc
2.28 baseline, 96 MB, SHA-256
`241b1dca3b7ae7022e2c674728df57e50f3b21ab78117f6f4a8c0a5a73da58cf`). It
includes the 14 sample themes and their 4 textures under `test-themes/`, plus
updated portable README instructions. The extracted archive launched under
Xvfb. The user downloaded it and will test later; feedback is pending.
Afterwards, the superseded `Swordfish-Portable-test-20261113.tar.gz`, the
extracted bundle folder, and this build's Docker image and cache were removed
to free disk space (about 2.3 GB). Keep the new archive and its `.sha256`
until the user finishes testing.
### 3.71. Fixed dialog rules and built-in themes (16 November 2026)
The user supplied a new master task list and requested related work be grouped,
tested locally and committed one group at a time. The baseline and shortcut
work are recorded in the preceding commits; desktop confirmation of the
shortcuts is still pending.
**Fixed-dialog rules** (local commit `9ca0552`):
- Fixed-palette dialogs are resizable, maximizable and wrapped in a scroll
area so their contents remain reachable in small windows.
- Checkboxes and radio buttons have larger controls inside a framed,
hover-highlighted clickable area. Active tabs use the accent fill.
- Buttons use the field colour; sibling buttons and check/radio controls
receive equalized widths without fixed sizing.
- The Theme Workflow regression checks the decorations, scroll wrapper,
control size and equal button widths. Theme Workflow, Custom Actions and
folder-expansion regressions passed. Dialog hover and maximize still require
desktop confirmation.
**Built-in themes** (local commit `0367f77`):
- Removed the Swordfish, GNOME, KDE, XFCE and Gray On Blue colour themes.
- Promoted the 14 previously importable sample themes to built-ins, including
Ocean Depth, Autumn Leaves and Desert Canyon, and added dark/light
red-green-accessible palettes. New themes and custom texture PNGs install
under `share/swordfish/themes` and `share/swordfish/textures`.
- Ocean Depth is the first-run colour and list-background default. Existing
per-user settings remain authoritative.
- Built-in entries are protected from rename/remove; the default theme editor
basis and whole-theme reset now use Ocean Depth.
- Theme Workflow regression checks the full built-in set, removed names,
Ocean Depth defaults and built-in protection. All theme text/selection
pairs exceed WCAG AA contrast; the regression, native build and staged
install passed.
These are local codespace checks. The group-3 commit and subsequent groups are
not pushed or released. Themes were tested through the Theme Workflow harness;
real desktop visual acceptance remains pending.
### 3.72. Tab groups restore complete panel layout (16 November 2026)
Local commit `2913124` extends the existing Bookmarks > Tab Groups snapshot.
Saving a group now includes the panel layout (tree with one/two panels), panel
orientation and the four splitter proportions, in addition to the already
saved pane tabs and each tab's path, view type, column widths and selected tab.
Opening a group restores the layout first, then both panes' tab states and
active pane. Groups saved by older builds lack layout metadata and continue to
open using the current layout. Invalid orientation, panel modes and splitter
ratios are logged and do not replace the current values.
The Theme Workflow regression saved and reopened a group after changing from
one horizontal pane to a vertical tree-plus-two-panel layout. It verified the
restored layout, orientation, both panes' tab paths, selected tabs and
per-tab Details/Icons modes. The native build and regression passed. No
desktop acceptance has been performed.
### 3.73. Rounded upper tab corners (16 November 2026)
The tab strip's outer frame now has rounded upper corners, with its existing
size, spacing, themed background and border color preserved. The Theme
Workflow regression checks the corner background and the border at the end of
the rounded edge. The native build and regression passed, and the captured
codespace screenshot shows the updated tab shape. Real desktop acceptance is
still pending.
### 3.74. Right-button drag-and-drop menu (16 November 2026)
Right-clicking an unselected file now adds it to the selection without
clearing other selected items. Releasing the right button without dragging
continues to open the normal context menu. Dropping a right-button drag opens
a Copy Here / Move Here / Link Here menu, with Extract Here for one recognized
archive and Create Archive Here for the dragged items. New archives default to
`.tar.gz`; supported output formats are tar variants, zip, 7z and rar. The
archive actions are dispatched to the active file panel, while normal
copy/move/link drops continue through the existing file-list path.
The native build passed. The folder-expansion regression passed, including its
right-click multi-selection assertion, and the Theme Workflow regression
passed. The automated checks do not exercise a real native right-button
drag/drop or archive operation; desktop interaction testing remains pending.
### 3.75. Optional copy/move checksum verification (16 November 2026)
Preferences > File operations > Copy and move (renamed from Copy suffix) has a
new option, off by default because it slows operations: "Verify copied and
moved files with MD5 checksums (slower)" (`OPTIONS/verify_copy`). When enabled,
each copied file's MD5 is computed while it is read; the new copy is flushed to
storage, its cached pages are dropped and it is read back and compared. MTP
copies made through `gio copy` hash both files afterwards. Same-drive moves
are renames and need no check; cross-device moves are verified before the
source is deleted. A mismatch is logged and reported, the damaged copy is
removed, the source is kept and date preservation is skipped. Cancel works
during verification.
The search-window regression interposes `fdatasync` to corrupt a copy on
demand. It checks that verification is skipped when disabled, that verified
multi-megabyte copies and cross-device moves succeed, and that damaged copies
and moves are reported once, removed and never replace their source. The
native clean build and Theme Workflow regression passed. The search-window
runner's later Preferences wheel-scrolling assertion also fails on the
previous commit and was not changed here. Desktop testing remains pending.
### 3.76. Readable dialog scrolling and Firefox-style wheel chaining (16 November 2026)
Long-standing complaint (most visible on the old Appearance page): in fixed-colour
dialogs the page barely moved with the wheel, and a nested list grabbed the wheel
even at its end, so the page around it never scrolled.
- Cause of the slow page: `DialogScroller` (the scroll window wrapped around every
fixed-colour dialog) kept FOX's 1-pixel scroll line, so one wheel notch moved
about 5 px. New `xf_readablescrolling()` sets font-height/width line steps; it is
used by `DialogScroller`, the Custom Actions editor, the Font dialog preview and
the Theme Editor view/sheet. Preferences pages already had readable steps.
- Wheel chaining (user choice: "chain", like Firefox): the application object is
now `XFApp` (main app plus the archive, image and package helpers). For an
unmodified wheel press with no mouse button held and no grab,
`xf_wheeltarget()` finds the innermost scroll area under the pointer; if it is
already at its top/bottom in that direction, the wheel goes to the nearest
enclosing scroll area in the same window that can still move. Spinners,
sliders, dials, combo and list boxes keep the wheel (they use it to change
their value); Ctrl/Shift wheel behaviour is unchanged.
- Test: `tests/search-window-regression.cpp` `checkWheelChaining` dispatches real
X wheel events: a list at its top passes the wheel to the page, a list that can
still move keeps it, and spinners are never bypassed.
Desktop acceptance pending: wheel over Preferences/Theme Editor lists and pages.
### 3.77. USB MTP discovery (16 November 2026)
The Devices list previously discovered MTP devices only after another desktop
application had mounted them. Unlike USB disks, MTP phones are not block
devices, so `lsblk` cannot find them. A host-side GIO volume monitor now reports
advertised MTP volumes asynchronously, including phones that are not mounted.
Opening such an entry mounts it with host `gio` and opens its GVFS FUSE path.
Existing mounted MTP entries and ordinary disk handling remain in place.
The monitor runs through `swordfish-network` with the host's GIO environment,
restarts after failure, and stops when Swordfish exits. Incomplete or invalid
inventory snapshots do not erase the previous inventory. The host GVFS MTP
backend itself uses libmtp; no competing direct USB mount is created. GVFS
MTP, its volume monitor, FUSE, a desktop session bus and the phone's USB file
transfer permission remain necessary. Other protocols such as iOS AFC are
not covered by this change.
Validation in the codespace: native build, folder-expansion/device integration
regression (mocked MTP connect/disconnect, duplicate names, malformed snapshots,
sidebar activation, mount failure and success), network helper regression and
portable launcher regression. The real helper starts, but no USB device or
desktop session is available here. Physical Android testing, including unlock,
plug/unplug, mount/unmount and comparison with Thunar/Caja, remains pending.
### 3.78. iOS AFC device discovery (16 November 2026)
The host GVFS volume monitor now reports supported AFC volumes alongside MTP
devices. Swordfish lists the host-provided device name, opens and unmounts AFC
mounts through host `gio`, and keeps a connected device available after
unmounting. Mounted AFC volumes are represented by their GVFS path rather than
duplicated as an unmounted activation entry; AFC is not treated as an ejectable
USB disk.
This depends on the host's GVFS AFC/libimobiledevice support, a trusted and
unlocked iOS device, and GVFS FUSE. AFC exposes only the content made available
by iOS and the host backend (typically app file-sharing documents), not the
general iOS filesystem. Physical iPhone/iPad acceptance remains pending.
Validation in the codespace: clean native build and folder/device integration
regression covering AFC inventory, mounted/unmounted transitions, mount error
and success flows, sidebar behavior, and GVFS URI reconstruction.
### 3.79. USB phone discovery diagnostics (16 November 2026)
The Devices sidebar now gives setup guidance when no MTP/AFC phone is detected.
Host backend warnings and monitor failures are surfaced as a notice with
details on hover, in addition to the existing application log. Phone mount
failures continue to show an error dialog and are logged. This does not claim
that a connected phone was detected when its host backend does not advertise
it.
Validation in the codespace: clean native build and folder/device integration
regression covering the no-device hint, visible AFC backend warning, inventory
recovery, and MTP/AFC mount flows. Physical device validation remains pending.
### 3.80. Network discovery refresh clarity (16 November 2026)
Discovery protocols, record formats and click behavior are unchanged; the user
asked that existing network discovery must not break. Additions only:
- `swordfish-network --discover` skips interfaces that are up but have no link
(`IFF_RUNNING` unset, e.g. an idle `docker0`) and prints `INTERFACE name
address` records. Bridges with a link (VMs/containers) are still searched.
- Hovering the Network status line lists the searched interfaces.
- Refresh keeps earlier entries, greyed (`SidebarItem::muted`, same dimmed
drawing as unmounted devices), until the new search confirms them. Only a
complete, successful search (DONE, exit 0) removes unconfirmed entries; a
stopped, timed-out or failed search leaves them greyed with a tooltip.
- The sidebar timer compares the IPv4 interface list every two seconds. A
change stable for one more check starts a new search only if the user
already searched this session and Network is expanded; disconnecting (no
interfaces) never searches. Nothing new runs at startup.
IPv6 discovery was deliberately not added: SMB/FTP/DLNA/browser paths would all
need bracketed-literal handling and link-local addresses rarely work in URIs.
Validation in the codespace: clean native build, network-discovery regression
(interface rule) and folder/device integration regression (interfaces tooltip,
greyed results after Stop, settled-change auto-search, no search on
disconnect). Real Wi-Fi switching remains to be checked on a desktop.
### 3.81. Network device headings (16 November 2026)
Display-only change; discovery, records and clicks are unchanged.
- Other devices are sorted by kind, then name, under inert NOTICE headings:
Media servers, File servers (FTP/SFTP), Printers, Routers / access points.
FTP and SFTP entries for the same host now sit together.
- A "Computers sharing files" heading appears only when other devices are
also listed, so a computers-only Network list looks exactly as before.
- Clicking a heading does nothing; its context menu offers Refresh like the
status line.
Validation in the codespace: native build, network-discovery regression and
folder/device integration regression (heading order and texts, inert heading
click, computers-only list without headings).
### 3.82. Persistent custom theme library (16 November 2026)
- Custom themes are saved as `theme.swordfish-theme` in per-theme folders under
`$XDG_DATA_HOME/swordfish/themes/colors/`; portable runs use
`portable-data/themes/colors/`. Referenced textures are copied alongside
each theme.
- Export creates a folder containing the theme file and texture assets. Imports
and the Theme Editor now use the user data texture directory, while retaining
fallback lookup for textures in the legacy config directory.
- Existing custom themes stored in the settings registry are loaded for
migration and saved to the file library; subsequent loads use the files.
Validation in the codespace: native build and theme workflow regression,
including custom-theme save and reload.
### 3.83. Theme Editor user manual (16 November 2026)
- Added a beginner-oriented Theme Editor guide to the bundled offline manual,
covering the mockup, edits and saving, colour tools, background effects,
storage and sharing. It identifies bundled texture locations and explains
that patterns are generated in code and category subfolders are not yet
scanned.
- User Manual buttons in the editor, file-list background dialog and colour
dialogs opened from the editor reach this guide from every tab. The main
Help menu continues to open the beginning of the manual.
Validation in the codespace: clean native rebuild, manual anchor check and
theme workflow regression with a fake browser launcher checking both the
theme guide and the original manual URL. Desktop browser behavior remains
to be checked.
### 3.84. Protect unrecognized theme folders
The first file-library implementation could remove a theme file merely
because it was not in the current list, including invalid or duplicate files
that were deliberately skipped while loading. Saving now removes only files
that this Preferences instance actually loaded or saved and that still match
the expected theme name. It does not follow symlinked theme folders. A save
failure explicitly warns that the library may have been partially written.
The theme workflow regression checks that unrecognized and duplicate files
survive removal of a loaded theme.
### 3.85. Independent theme textures
Each loaded theme now resolves its own texture copies to absolute paths at
runtime before consulting shared or bundled textures. The saved setting
records only the library folder name, so portable data can move between
machines. A copied theme folder may contain either `theme.swordfish-theme` or
one other `.swordfish-theme` file. Import validates textures without replacing
shared files; saves avoid adopting unrecognized folders and following links.
Validation in the codespace: clean native rebuild and theme workflow regression
covering same-named textures, live rendering, imports, copied folders, portable
relocation and linked destinations. Desktop acceptance remains pending.
### 3.86. Categorized theme textures
The texture gallery scans nested category folders and can import tiles into
them. References preserve spaces and non-ASCII names safely, distinguish
same-named tiles in different categories, and reject traversal. Saving and
exporting a theme retains the category hierarchy with its local graphics.
Export now asks for a parent directory and creates a theme-named folder.
Validation in the codespace: native rebuild and theme workflow regression
covering rendered thumbnails, live backgrounds, reload, export, category
collisions, unsafe paths and symbolic links. Desktop acceptance remains pending.
Categories for patterns and background images remain separate future work.
### 3.87. Help in Theme Editor property dialogs
The font, percentage, theme-name, texture-name and editor decision dialogs now
offer the same User Manual link as the editor and its background and colour
tools. The button is optional in shared dialogs, so other callers retain their
existing layout.
Validation in the codespace: clean native rebuild and theme workflow regression
exercising the links from each dialog type. Desktop acceptance remains pending.
### 3.88. Categorized pattern graphics
The existing procedural patterns remain compatible. The Pattern gallery can
also import PNG masks into a separate categorized user library; lightness and
transparency blend the two selected pattern colours. Referenced PNGs, including
those in named presets, are copied into theme folders and exports, with
theme-local copies taking precedence over shared files.
Validation in the codespace: native rebuild and theme workflow regression,
including pixel-level mask rendering, visible gallery samples, category
filtering and import, collisions, links, reload and sharing. Additional
public-domain samples and background images remain future work; desktop
acceptance remains pending.
### 3.89. Public-domain theme samples
The bundled galleries include 21 additional patterns and 21 additional
textures adapted from Poly Haven's CC0 assets. Category folders are preserved
on installation, and source, author and transformation details are installed
with the application. The original downloads were checked against Poly
Haven's metadata; thumbnails were checked for visibility.
Validation in the codespace: the theme workflow regression and a staged
installation passed, with 21 pattern PNGs and 35 texture PNGs installed.
Desktop acceptance and the portable build remain pending. Background-image
support remains future work.
### 3.90. Theme background images
The Theme Editor can import categorized PNG and JPEG backgrounds and preview
Fit, Fill and Tile for file lists, the tree, Places, tabs and toolbars. Active
tabs and selections remain visible; fixed-colour dialogs are not themed.
Themes and exports carry referenced images in their own `images/` folders.
Image dimensions and file size are bounded, theme-local paths take priority,
and graphics are loaded on demand rather than retaining decoded source images.
Validation in the codespace: clean native build and theme workflow regression,
including compositing pixels, gallery import, preview and cancel, active tabs,
resize, theme-local paths, reload, sharing and portable-data relocation.
Desktop acceptance and the portable build remain pending.
### 3.91. Load saved themes when needed
The custom theme list retains only names, tips and folder references for
unused saved themes. Full settings are loaded as needed for selection, editing
and library operations, then released; unsaved edits remain in memory until
saved or cancelled. Files that disappear, change their theme name or become
symlinks are reported instead of silently opening another theme.
Validation in the codespace: clean native rebuild and theme workflow regression
covering switching, duplication, cancellation, stale files and save rollback.
Desktop acceptance and the portable build remain pending.
### 3.92. True-colour pattern and texture thumbnails
User review found that gallery thumbnails looked monochrome or dark rather
than like the PNGs in an image viewer. Textures had been previewed through the
greyscale tint, and bundled patterns had been converted to greyscale masks.
Thumbnails are now area-averaged reductions of the original PNG over a
transparency checkerboard. Bundled patterns were restored from the verified
Poly Haven colour maps. PNG patterns keep their own colours by default
(`pattern_colors=original`); clearing the option recolours them with the two
pattern colours by lightness. Built-in shapes are unchanged.
Validation in the codespace: clean native rebuild and theme workflow regression,
including a true-colour comparison against the source PNG. Desktop acceptance
and the portable build remain pending.
### 3.93. Thumbnail-grid theme graphic choosers
User review asked for the pattern, texture and background-image choosers to
match the file list's thumbnail view (`texture-grid.png`). A shared
`ThemeGallery` (an `FXIconList` in big-icon column mode) draws file-list tile
borders and stretches its cell width so the grid fills the view, including when
maximized. Category drop-downs were replaced by folder navigation: folders
first, a `..` tile, an Up button, Backspace, and a Location label. Clicks and
Enter open folders; arrow keys only move the cursor. FOX's browse-mode
auto-selection of the first folder is cleared so only the applied graphic is
highlighted. The chooser opens in the applied graphic's folder, and "Save in
category" follows the current folder.
Validation in the codespace: clean native rebuild and theme workflow regression
(folder order, grid fill and resize, keyboard and Up navigation, imports into
the current folder). Desktop acceptance and the portable build remain pending.
### 3.94. 16 November task list closed for desktop testing
`build/feedback and tasks.txt` (16 November) superseded the earlier
discussion and road-map documents. Every error, user-feedback item and task in
it is now done and committed locally (sections 3.70-3.93), apart from four
open items: shred/encrypt in the context menu (needs discussion of
implications), periodic update checks, tray options, and the .deb installer
(after desktop testing). The obsolete `build/for discussion.txt` and
`build/road map.txt` were removed. Their icon-theme plan (multi-size icons,
bundled FOSS themes, device-control icons) and archive-as-folder notes were
kept in `build/retained notes - icon themes and archive folders.txt`, as the
task list requires. A single portable test build of this state was made for
desktop acceptance of the keyboard shortcuts, USB/network discovery and theme
work.
### 3.95. Startup colours, chooser fit and a window-wide background image
The first test build started with black text on black. `swordfishrc.in`
stored colours as decimal integers, which FOX's `readColorEntry` cannot parse;
they loaded as 0 and were saved back as `None`. The defaults are now
`#RRGGBB` values from Ocean Depth. (Users of that build should delete
`portable-data`, or the `None` colour lines in `xferc`.)
The background image chooser created its Add image / Refresh / Save in
category row after the gallery, so a short dialog cut it off; it is now packed
at the bottom first and the gallery takes the remaining space.
Desktop feedback showed per-area images repeated in each file panel. The user
asked for the whole UI to look transparent over one picture. The image is
now a single `main.background_image` (with `image_mode` and a new
`image_opacity`, 5-100% in the chooser). `BackgroundImage::setWindowBackground`
renders one straight-alpha overlay at the main window size; packers, frames,
labels, headers, toolbar buttons, tree rows, tab frames and the file list
blend their window-space slice over their own colour. Packers draw it only in
the gaps between their shown children, so nested containers do not repaint
the same area repeatedly. Window origins are computed client-side; a moved
but not resized child gets no expose, so origin changes are tracked and its
descendants are repainted. Dialogs are separate shells and keep solid colours.
Legacy per-area images migrate to the window on load. A regression applies a
horizontal colour ramp and checks that the left and right panels show their
own window positions of a single image, plus opacity and migration.
### 3.96. Removing theme graphics (17 November 2026)
The user reported that the No pattern, No texture and No background choices
did not remove graphics. The bordered No texture and No image tiles had no
icons, and FOX accepted clicks only on their text, not the empty tile. All
gallery tiles now respond across their bordered area. The pattern gallery had
no No pattern choice; it now has one. Removing an active pattern switches its
fill to Solid, without removing a texture; an existing gradient is preserved.
The theme workflow regression checks pointer clicks on the empty tile areas,
keyboard selection, pattern/texture independence, cancellation, undo/redo,
preview isolation and saving, reloading and applying a theme with all three
graphics removed. Desktop confirmation is pending.
### 3.97. Importing multiple theme graphics (17 November 2026)
The user requested selecting multiple files when adding patterns, textures and
background images, preserving each source filename. All three Add flows now
accept multiple selections and keep each selected file's name. They continue
after an individual failure and report which files could not be imported; the
first successful import becomes the active graphic. Selecting one file retains
the existing name prompt.
The theme workflow regression selects two files in each chooser and verifies
the imported names and active selection. It also checks that the original
single-file naming and cancellation flows still work. The native build and
theme workflow regression passed.
### 3.98. Importing graphic folders (17 November 2026)
The user requested folder import for patterns, textures and background images.
The selected folder becomes a category at the gallery root; nested folders
become subcategories, and supported images are imported recursively. Unsupported
files and individual import failures are reported without stopping other files.
If the destination category already exists, the user can merge non-conflicting
files, rename the imported category, or enter a parent category under which to
save it. Existing files are not overwritten. Regression coverage imports nested
PNG/JPEG structures in all three galleries and exercises each category-conflict
choice, including unsupported files.
The native build and theme workflow regression passed.
### 3.99. Previewing files before theme import (17 November 2026)
The user clarified that Add files should show previews in the chooser, without
a separate review dialog, for patterns, textures and background images. Those
choosers now open in thumbnail mode, which loads image previews in the file
list. Regression checks verify that thumbnail display and preview loading are
enabled in each Add flow, and that files remain selectable when a thumbnail
cannot be generated.
### 3.100. Resolving graphic import name conflicts (17 November 2026)
The user requested side-by-side comparison for name conflicts while importing
pattern, texture and background graphics. The new dialog previews both files
and provides Replace, Replace all, Skip, Skip all, Rename (keeping the file
extension) and Cancel. It is used by single-file, multi-file and folder imports;
category-folder conflicts retain their existing Merge, Rename, Save under
another folder and Cancel choices. Delete actions were omitted at the user's
request.
The import APIs now allow explicit replacement only when the conflicting file
is the writable user asset, leaving built-in and theme-owned graphics
protected. Regression coverage exercises replacement, renaming, skipping all
remaining conflicts and folder merges.
### 3.101. Resetting an element to inherited defaults (17 November 2026)
Reset this element now removes all overrides for the selected element instead
of restoring overrides present when the editor opened. This lets users remove
a saved background image and return that element to inherited defaults without
changing other elements. The manual and theme workflow regression cover the
behavior.
### 3.102. Choosing a theme export folder (17 November 2026)
Theme export now prompts for an export-folder name and parent location, widens
the directory chooser so its controls are visible, and returns to the choices
after an existing-folder conflict is declined. This allows exporting under a
different name or location without manually creating the destination first.
Regression coverage exports categorized assets and retries an existing name
with a new folder name.
### 3.103. Removing obsolete saved-theme graphics (17 November 2026)
The supplied My theme archive contained four old background images although
its theme file referenced none. On successful Theme Editor save, unused PNG
and JPEG copies are removed from that theme's graphics folders; referenced
effects and presets remain. Shared libraries and original imports are not
cleaned. Symbolic links are not followed, and cleanup is skipped with a warning
if another theme file shares the folder. Graphics needed by the editor's undo
history or original snapshot remain available until the editor closes.
### 3.104. Portable custom-action image icons (17 November 2026)
Portable custom-action definitions are stored in `config/swordfish/xferc`.
Selected image icons are copied into `icons/custom-actions/` and stored with
movable references; the image chooser starts there when no image is selected.
Accessible old absolute image references are migrated on startup. Missing
old paths are also matched to the same relative location in a copied portable
profile, as approved by the user. Missing or ambiguous images and copy failures
are reported without discarding the old references; failed saves remove only
newly created copies. System icon names, external programs and absolute command
paths still depend on the target host.
The native build, model, launcher and GUI regressions passed. Xvfb smoke tests
also launched the native application through `AppRun` in isolated test AppDirs.
They ran an action before and after moving a profile, and recovered and ran
actions from older moved directory and AppImage-style profiles after the old
icon paths became unavailable. The subsequent running-destination reproduction
is documented in section 3.105. No new portable bundle has been built for this
change.
### 3.105. Portable settings changed while a window is open (17 November 2026)
The user reported copied Custom Actions disappearing and later clarified that
at least one portable copy was open during copying; whether the destination
was open was uncertain. A local reproduction showed that an open destination
could keep its old settings in memory and overwrite the copied `xferc` on exit.
This is a demonstrated failure mode, not confirmation of the user's exact
sequence.
The user approved detecting external settings changes, blocking stale reads and
writes, and offering restart, quit without saving, or continued use without
saving. A later clarification established that Swordfish instances sharing a
profile should synchronize shared preferences, while each window keeps its own
browsing and layout state. Peer saves are now distinguished from external
changes, serialized, and merged: unsaved local edits are retained during a save,
and the last saved value wins for a preference changed in both instances.
Immediately applied settings refresh in open peers; settings already marked
restart-required keep that behavior. Portable settings saves use an atomic
replacement or a no-replace fallback that preserves competing versions;
unsupported primitives and I/O failures are reported instead of silently
overwriting. Restart waits for the replacement window to be created and reports
failures without closing the old window.
Startup reports leftover settings versions after an interrupted save and no
longer rewrites already-migrated bookmarks unnecessarily.
Native model and Xvfb GUI regressions cover external edits, saves from another
window, replacement races, fallback filesystem operations, modal editors,
quit and restart. A disposable FAT filesystem also passed a real self-save
and external-copy check. The existing Custom Actions GUI suite passed in
isolation after one concurrent run failed an image-chooser assertion.
AppImage-style launch behavior was simulated, not tested with a real AppImage
runtime. This is local automated validation, not a new
portable bundle or user confirmation. Closing all source and destination
windows remains the reliable way to copy the entire profile; this guard covers
the main settings file, not a whole-profile snapshot, and older builds lack it.
### 3.106. Current handoff and pending reports (17 November 2026)
The user wants a copied `portable-data` folder to reproduce the original
portable profile and wants users to be able to add content by dropping it into
the appropriate folders. Portable built-ins belong to the bundle's own
`usr/share/swordfish/`, not the host's `/usr/share/swordfish/`; writable user
content belongs under `portable-data/`. Exact shared-asset name collisions
currently prefer bundled items, as the user chose; theme-local graphics retain
their own precedence. Do not treat this goal as fully verified: external
programs, saved paths, named host icons, desktop integration and host Trash can
depend on the machine. Discuss any requested change to those behaviors first.
Custom-action icon relocation (`974bc12`) and running-profile copy protection
(`b60ad0b`) are committed locally. Their automated checks passed, but no new
portable bundle has been built and the reported scenario has not been confirmed
on the user's machine.
The user's `build/Test and fix.txt` is ignored by Git. Reports not yet
addressed from that list are recorded here so they are not lost:
- A connected Android phone may disappear from Devices when clicked to mount
or after unmounting, while Caja can still mount it. The user wants it to
remain muted and remountable, and asked whether safe removal is possible.
Diagnose and confirm this with a physical device; earlier mocked MTP work is
in section 3.77.
- The list asks to remove Wi-Fi Android phone discovery. This needs discussion:
the earlier network-discovery direction differed, and existing discovery must
not be changed on an assumption.
- Fixed-colour dialogs and child windows reportedly leave old tabs highlighted
after another tab is selected. This still needs investigation and desktop
confirmation.
Continue one item at a time: clarify anything unclear, fix and test it, then
commit locally. Do not assume which report the user wants next, build a new
portable bundle, or push without asking.
### 3.107. Portable profile follow-up and test build (18 November 2026)
The portable-profile and Custom Actions follow-up was committed locally in
`9501af6` and `f75cf90`. User content has separate portable-data folders;
bookmarks, tab groups, file associations and preferences remain in config.
The profile-copy safeguards do not replace closing both copies before copying.
The user chose not to add separate Wi-Fi phone discovery or wireless debugging
support. Existing FTP/SFTP and other network discovery and USB phone support
remain in place. The always-present USB setup hint was removed, while actual
USB discovery errors remain visible. In fixed-colour dialogs, switching tabs
now repaints the previous tab as well as the selected one. These changes and
the reset-property regression were committed locally as `19d6368`; signing
failed and the user approved an unsigned commit for that commit only.
A clean native build, the theme workflow regression and the folder/device
regression passed. They cover tab repainting, a selected-property reset, the
phone notice, and existing multiple-file graphic imports and chooser previews.
These are automated checks; USB behavior still needs a physical-phone test.
At the user's request, a Linux x86_64 portable test bundle was built against
Debian 10 (glibc 2.28), extracted and smoke-launched under Xvfb. The portable
launcher regression passed and the archive checksum was verified. The archive
is `build/test-download-20261118/download/Swordfish-Portable-Test.tar.gz`
(SHA-256 `c8b349c3506d443ba7e2347ff9a8375890c59fcee6a56798cd8b14c60aa0b781`).
The user downloaded and opened it; feature and desktop acceptance testing
remain to be done. The temporary download server was stopped, and the
extracted build and its dedicated builder image and large cache layer were
removed; the archive and checksum were retained.
Casting selected media to network TVs/renderers is an idea for a future
version, not an implemented feature.
### 3.108. USB phone permission wait (19 November 2026)
The Android phone screenshot showed GIO reporting a local GVFS path that was
not yet accessible while the phone awaited permission. The USB phone mount
flow now shows an unlock/allow dialog, retries temporary failures and opens
the phone when its folder becomes accessible. Ordinary USB drives and network
discovery are unchanged.
GVFS can cancel a client call without stopping the backend mount. Cancel
therefore stops retries and waits for an in-flight host request, undoing a
late mount only if this request created it. If the result cannot be confirmed
in time, a warning is shown and the helper continues the cleanup. This is
best-effort cancellation, not a guarantee that every host backend can abort
immediately. A real Android phone is still needed to verify the reported
permission flow and device-list behavior. The simulated-device regression now
also checks that a successful phone can be unmounted and mounted again through
the same connected-device URI, after both a failed attempt and an earlier
successful mount.
### 3.109. Custom Action scripts are no longer copied (19 November 2026)
Feedback: script actions broke after copying into action folders, because
copied scripts lost their relative paths. Hand-edited `action.ini` fixes only
lasted for one session; startup re-copied the script and rewrote the command.
The script copying and command-rewriting code has been removed from both editor
save and the startup migration, along with its hidden settings backups.
Commands, programs and working directories are saved exactly as entered.
Manual `%a` and `%r` references remain supported for scripts deliberately
kept with the portable profile. Earlier script copies are left untouched and
are not reverted automatically; the user edits those commands. A moved script or
Swordfish install now produces the normal script-not-found or command-not-found
error.
Removing an action or group in the editor did not delete its folder. Save
builds a staging copy and keeps unclaimed folders as user content, so the
removed entry's folder was copied back and reloaded. The model now records
removed storage paths; save omits them unless a remaining entry (such as a
duplicate sharing the folder) still uses that path. The confirmation states
that the folder and its files are deleted on save.
An audit of the other editor commands (new, edit/rename, move up/down,
duplicate, group rename) found one more stale-path use: Move to Folder. A group
only skipped folders of its current children, so an action moved out of a group
(or from the top level into one) was copied to its new place and its old folder
was kept, reloading as a duplicate. Save now skips every folder owned by a
current or removed entry, wherever it now lives.
### 3.110. Icon chooser without pages (19 November 2026)
Feedback: the custom-action icon chooser showed only 40 icons per page. The
Previous/Next paging was removed; all icons matching the filter are listed in
one scrollable `FXIconList`. To keep large host themes responsive, icons are
decoded lazily: a timer loads up to 24 visible, not-yet-loaded items per tick
(`FXIconList::isItemVisible`), polling every 100 ms for scrolling once idle.
The filter row shows the mini search icon beside the text field. The Custom
Actions UI regression checks more than 50 icons on one page, no paging
buttons, the filter icon, and that scrolling decodes more icons.
### 3.111. Media-folder import progress, cancellation and status (19 November 2026)
Theme Editor folder imports for patterns, textures and background images now
share a modal progress dialog. It displays "Importing your folder, This may
take some time depending on the size of your folder", scanning activity, the
current file and a file-count progress bar, with Cancel as its only button.
Events are serviced while scanning and between files; an in-progress file
finishes before cancellation cleanup.
Cancel during scanning, copying or a file-conflict prompt rolls back the
whole folder import. Newly copied files and newly created category folders
are removed. During a merge, existing graphics are kept in temporary hidden
backups beside their destinations until the import completes; cancellation
restores replaced originals without deleting unrelated content. A failed
individual import also restores its original, and cleanup failures are
reported rather than silently discarded.
Every completed import opens a scrollable Import status dialog listing
successes, skipped files and errors, even when everything succeeded.
Cancellation also reports its cleanup result. The theme workflow regression
covers successful pattern/image imports, mixed successes and invalid files,
scan/copy cancellation, nested-folder cleanup and restoration after a
cancelled merge. `make -C src -j4 swordfish` and
`bash tests/run-theme-workflow-regression.sh` passed.
### 3.112. Background image distortion while scrolling (19 November 2026)
The user reported that a theme background image smeared after horizontal
scrolling and streaked after vertical scrolling in file panels; Refresh
cleared it. Scroll areas reused on-screen pixels by blitting them by the
scroll offset and repainted only the newly exposed strip. The image is fixed to
the main window, so blitted pixels carried parts of it to the wrong positions.
`IconList::moveContents` already repainted for list background effects; it
now also repaints whenever a window image overlay is visible. Trees and other
plain FOX scroll areas use a `FXScrollArea::moveContents` override in
`moderncontrols.cpp`, which repaints when `showsBackgroundImage()` reports
that the widget paints the image, and otherwise keeps FOX's original blit.
`showsBackgroundImage()` respects `BackgroundImageOwner` exclusions, such as
the active tab. `FXText` keeps its own scrolling.
The theme workflow regression adds a 256×256 gradient image without a list
effect, scrolls the file list horizontally and the folder tree vertically, and
compares the scrolled screen with a full repaint. Both checks failed with the
old code and pass with the fix.
### 3.113. Background-image display scope
The Theme Editor's Background image dialog now offers three scopes: Whole UI
(the backward-compatible default), File panels, and All panels. File-panels
scope shares one image across both file panels. All-panels scope shares it
across the sidebar/tree and both file panels. In both scoped modes the image
is fitted, filled or tiled against the combined panel bounds, rather than
restarting separately in each panel. Existing themes without an
`image_scope` property continue to use Whole UI; supported values are `window`,
`files` and `panels`.
The mockup preview uses the same selected scope. The theme workflow regression
checks scope serialization/validation, editor selection, the shared image
across both file panels, inclusion of the tree/sidebar only in All panels,
exclusion of the toolbar from both panel scopes, and unchanged Whole UI
coverage. `make -C src -j4 swordfish` and
`bash tests/run-theme-workflow-regression.sh` passed.
### 3.114. Background-scopes portable test build and cleanup (19 November 2026)
Committed the scope work locally as `3a64628` (not pushed) and built
`build/Swordfish-Portable-Background-Scopes-20261119.tar.gz` (Debian 10 /
glibc 2.28 baseline; SHA256 `6da53239cd3f27441e4bb808e3928d15677d52655b4074f26aa94295c43f1c60`). The first build attempt hit a transient
Docker build-cache lease error and succeeded on retry. A 5-second Xvfb launch
of the bundled AppRun ran without crashing. Visual scope testing is left to the user.
Serving through Codespaces port 8765 was too slow (about 20 minutes for 83 MB),
so the archive and checksum were also uploaded to a **draft** GitHub release
(untagged, visible only to collaborators, title "TEST ONLY — Background image
scopes (20261119)"). Drafts are a faster delivery option for large test builds.
Delete the draft when it is no longer needed and never publish it as a release.
After the user confirmed the download, the port-8765 server was stopped and its
forwarding set back to private. Cleanup removed the extracted bundle,
the superseded 20261113 Theme Editor archive, `test-download-20261118`, the
duplicate `swordfish-test-themes.zip`, and screenshots of fixed bugs. Docker
builder images and the Docker build cache were pruned (about 1.9 GB). The
next portable build re-downloads the Debian base image. Design references,
user-supplied themes and images, notes and the current archive were kept.
### 3.115. Phone recovery, media discovery and 0.0.3 stable release (20 November 2026)
After the background-scopes build, four changes were tested on real hardware:
theme galleries load thumbnails progressively and the Theme Editor file
chooser keeps its buttons visible (`ca18cd3`); phone mounts wait for readable
storage (`1870a22`); UPnP AV discovery also accepts NOTIFY-only, non-default
port and device-type announcements, plus Jellyfin and Emby discovery
(`86733ea`); and the phone helper recovers when allowing access restarts the
GVFS MTP backend (`58c134c`). That last change treats vanished mounts and
D-Bus `SERVICE_UNKNOWN`/`NAME_HAS_NO_OWNER` as cancelled or remountable, stops
the waiting dialog's EOF loop that left the error dialog blank, and redesigns
the waiting dialog (heading, numbered steps, fixed-width status, Cancel always
visible, minimum size equal to its default size). The user tested the build
and asked to publish it as stable **0.0.3**.
Release changes: `configure.ac` version 0.0.3; README, portable README,
manual, RELEASE-NOTES and CHANGELOG updated, the CHANGELOG backfilled with
features committed since beta 2 without entries. The release workflow's
changelog extraction now matches the whole tag heading, so `swordfish-0.0.3`
no longer also matches `swordfish-0.0.3-beta2`. The user manual ZIP is added
to the release by hand and SHA256SUMS regenerated to cover all four assets,
as for beta 2.
### 3.116. Concept .deb wrapping the portable build (20 November 2026)
To present the idea to MX Linux moderators, `packaging/deb-portable/` builds
`swordfish-portable_-_amd64.deb` from a released portable tarball
(`build-deb.sh [-r REV] [-o OUTDIR] Swordfish-Portable-VER.tar.gz`). The
package ships the tarball in `/usr/lib/swordfish-portable/`, a menu entry and
icons. `postinst` finds the desktop user (SUDO_USER, PKEXEC_UID or the active
loginctl session), asks for a parent folder with yad/zenity (debconf fallback,
default `~/Applications`), refuses system folders, folders the user cannot
write to and foreign `Swordfish-Portable` folders, then extracts a
user-owned copy (AppRun needs writable `portable-data`), writes a marker and
links `/usr/local/bin/swordfish-portable`. Upgrade reuses the location and
keeps settings; `dpkg-reconfigure` moves it; remove/purge deletes only a
marked folder. Debconf messages must stay on one line (multi-line REASON hung
the Teletype frontend); GUI messages use explicit line breaks so `--fixed`
yad dialogs stay narrow. Verified in a Debian 12 container: 30 functional
checks plus GUI screenshots at 1366x768 and 1024x600. Committed locally as
`a372b85`, not pushed until the user tests it. The README lists the policy
questions for reviewers (files outside dpkg, `/usr/local/bin`, interactive
postinst, bundled libraries without security updates).
### 3.117. Portable .deb staging safety follow-up (21 November 2026)
Before publication, an isolated Debian test showed that the revision 1
installer unconditionally deleted an existing `.Swordfish-Portable.installing`
folder, which could contain user data. The installer now creates a uniquely
named staging folder instead. The regression in
`tests/run-portable-deb-regression.sh` fails with the original package and
passes for the revised package, checking installation, reinstallation,
removal and preservation of existing staging data. A separate container test
upgraded revision 1 to revision 2 and preserved both settings and staging data.
The original downloadable .deb was removed from the workspace during the
previous cleanup without checking whether the user wanted it retained; the
user's downloaded copy and the 0.0.3 release remain untouched. The package
was rebuilt from the verified official 0.0.3 portable tarball as
`swordfish-portable_0.0.3-2_amd64.deb` (SHA-256
`6c253a87ea849e33783bccb24656bcac3247110429110416a7eb07ebc2872cec`).
The desktop-entry source, accidentally excluded from the earlier local commit
by the `*.desktop` ignore rule, is now included.
The user tested revision 2 and approved publication. The exact tested .deb was
added to the existing `swordfish-0.0.3` release, along with
`Swordfish-Portable-deb-0.0.3-2-source.tar.gz` and a separate
`Swordfish-0.0.3-deb-SHA256SUMS`. The packaging source rebuilds to identical
control scripts and payload files. The published downloads were retrieved and
their checksums verified; the .deb is byte-identical to the tested file.
Existing release archives, the original checksum file and the tag were not
replaced. The release notes identify the installer as a concept and warn that
removal deletes the portable folder and settings. The packaging commits remain
local; their source is available in the new release asset.
The temporary port-8765 server was stopped and its forwarding set to private.
The local test package is retained in `/tmp/swordfish-deb-publish.RT3YVb/`;
the published release is its durable copy.
### 3.118. File context menus and sorting (21 November 2026)
The user approved a shorter selected-item menu and requested a Sort submenu
in the folder menu. Copy to and Move to now group Other Pane, Home, Desktop
and Choose Folder; Link groups Other Pane and Choose Folder. Existing archive,
execution, script and panel commands remain available. Direct Home/Desktop
destinations are checked before a transfer, so a missing Desktop cannot be
mistaken for a new filename. Other Pane commands remain disabled when only one
pane is visible.
Sorting choices and their existing handlers are grouped under Sort both for
blank folder space and under the selected-item Panel submenu. Folder Sizes
remains separate. Cascades open left at the screen edge and preserve their
direction for nested menus. Menu-local contrast adjustments make disabled
text and unchecked indicators readable in dark themes. Existing translations
are reused for Copy to, Move to and Rename; new labels fall back to English
until the translation catalogs are updated. The manual and its context-menu
illustration were updated.
Validation used a clean staged build under `/tmp` and the window-manager
Custom Actions UI regression. It checks sort state and ordering, screen-edge
placement, contrast, single-pane availability, direct Home/Desktop transfers
and a missing Desktop.
Xvfb previews covered dark/light themes, changed sort states, German long
labels and the application's minimum supported window width. An independent
visual review passed after fixing contrast and recapturing the manual image;
the disabled Other Pane choices in one-pane mode were also reviewed.
The user approved the selected-item menu preview but has not tested this code.
No new portable test package or release was made.
At this point the other requested fixes were still open.
### 3.119. Places wrapping and unplugged-device refresh (21 November 2026)
Long sidebar labels now wrap at UTF-8 character boundaries and reflow when
the sidebar is resized. Selection, hit testing and device controls follow the
wrapped row. In a narrow sidebar, the mount/unmount and eject controls move
below the label so they do not squeeze the text into single characters;
a small gap separates those controls from the next row. Names also wrap at
hyphens, underscores and slashes when possible.
A simulated eject/unplug sequence reproduced a stale device: the kernel
topology changed before udev removed the device node and `lsblk` updated its
inventory, so no later scan was guaranteed. Device refresh also observes
`/dev` and `/dev/mapper` and omits missing nodes. The last successful
inventory is retained if `lsblk` fails, without listing a cached unmounted
device that is already mounted.
Testing with the user's physical USB device is still needed.
Validation used a clean staged build in `/tmp` and the folder-expansion
regression, including selection and scrolled device actions, narrow resizing,
UTF-8, delayed device-node removal and reconnect, and inventory failures.
An earlier run exceeded the UI-latency limit under concurrent load; repeated
synchronous inventory retries were removed, and the final full regression
passed. Xvfb previews cover light and dark themes, wide and narrow sidebars,
and selected and unselected mounted/unmounted devices.
The separate-process transfers and sorted target updates were still open at
this point; they are covered in the next section.
### 3.120. Independent transfers and destination refresh (21 November 2026)
Regular copy and move actions now start a separate Swordfish worker with its
own progress window, including file panels, the folder tree, search results,
paste and URI drops. The worker continues if the main window closes. Pause,
Resume and Cancel remain available during transfer; completed, cancelled and
skipped operations show a status for three seconds before closing. Errors and
warnings remain visible. Cancellation does not undo completed items and may
leave an incomplete destination file.
Active panes refresh as items arrive, retaining their current sort order;
inactive tabs refresh when selected. Overlapping transfers wait for one
another, and queued sources and destination folders are checked before use.
Cross-drive moves keep and report a source changed during copying. Newly
added folder contents remain at the source and are reported as skipped;
selected hard links remain movable without hiding subsequent changes.
These checks are best effort and cannot prevent every concurrent filesystem
change. URI drag moves acknowledge a copy to prevent external applications
from deleting sources before the worker finishes.
Validation used a clean build staged in `/tmp`, the search-window transfer
regression in dark and light configurations and again without screenshots,
and the folder-expansion/device regression. Tests cover three-second
completion, pause/cancel, main-window exit, sorted refresh, conflicts, hard
links, changed sources, GIO errors and simulated device unplug/reconnect.
Default and narrow Xvfb screenshots were reviewed for transfer states in both
theme configurations. The new warning also uses short lines so its button
remains visible at narrow widths. The user manual and translation extraction
inputs were updated. The fixes were committed locally as `d4a7ccd`.
The generated source archive contains the new transfer files, but the
pre-existing archive omits `swordfish-open`, so a clean root build fails until
that tracked script is supplied. With the script supplied, the archive built
and installed in a temporary prefix. `make distcheck` also fails when the
existing dist hook makes the translation template newer than the compiled
catalogs in its read-only source tree; a separate out-of-tree build hits
existing literal `*.png` icon targets. These packaging issues were not
changed. Real USB eject/unplug and external GTK/Qt drag interoperability
still need physical testing. No new portable build was published.
### 3.121. Optional automatic fitting and persistent manual column widths
Preferences now has a File List / Column widths page for each panel. One
optional checkbox fits every displayed Details column to its widest heading
or item, including the Name icon and expanded-folder indentation. Automatic
fitting updates when rows change and caches measurements between updates.
Clearing the checkbox enables nine pixel-width fields with sensible defaults.
Manual sizing is not overridden by relative window resizing. Disabled fields,
borders and spinner arrows are visibly muted.
Apply and OK change the selected panel's current tab and defaults for new
tabs, without overwriting other tabs or existing bookmarks. Each tab carries
its own sizing mode and semantic-column widths through switching, reordering,
closing, tab-group snapshots and startup restoration. Existing saved tabs
retain the legacy sizing policy until explicitly changed.
New bookmarks capture the source tab's sizing snapshot, including an inactive
tab bookmarked from its context menu or dragged to the sidebar. Opening a
bookmark in the current tab, a new tab or a new window restores its snapshot;
rename/reorder preserve it and removal cleans it up. The new-window route uses
the quoted executable, bookmark name and folder, with a documented
`--bookmark name` option. Old bookmarks without sizing metadata keep their
previous behavior.
A clean native build staged in `/tmp` and the full search-window regression
passed. Focused tests cover widest-item fitting, shrinking after removal,
exclusive controls, Cancel, manual resize/reorder/hidden columns, independent
tabs, new-tab defaults, bookmark restore/rename/removal and fresh-process
startup. A follow-up check confirms that a bookmark saved before Preferences
changed still restores its own auto-fit setting afterwards. Default and narrow auto/manual screenshots were captured under
Clearlooks and Dark; Preferences intentionally retains its existing fixed
dialog palette under both themes. An independent visual review prompted the
disabled-state contrast improvement; final screenshots also verify access to
all fields and action buttons through the existing narrow-dialog scroller.
The user manual and command-line help were updated. This work is local and
unreleased; no portable build was published.
### 3.122. Brighter fixed-palette outlines and scrollbar thumbs
The fixed dialog palette gains `DialogColors::outline` (RGB 86,148,255) for
field and frame borders, fixed toggle and tab edges, the enabled column-width
field edge and the colour-picker selection. The scrollbar thumb changes from
RGB 102,111,115 to 140,150,156. Contrast against the dialog background rises
from 2.0:1 to 4.3:1 for outlines and from 2.5:1 to 4.2:1 for thumbs. Fills,
text and disabled text are unchanged because they were already readable.
A clean staged build passed the full search-window regression under Clearlooks
and Dark; before/after screenshots of Preferences, transfer progress, conflict
and error windows were reviewed and approved by the user. Local, unreleased.
### 3.123. Collapsible, compact Custom Actions tree
The Custom Actions editor list used 42 px two-line rows with 32 px icons and
faint dotted lines. Top-level folders had no expand box, and every edit
re-expanded all folders. Rows now show one line: a 16 px icon, the name and a
dimmed description. A small `ActionTree` subclass paints solid grey connector
lines and 11 px expand boxes, including on root folders. Collapsed folders
stay collapsed after add, edit, move and duplicate; the selected item's
parents are expanded so it stays visible. Left/Right keys and box clicks
collapse and expand; double-click still edits. The UI regression also now
waits for the asynchronous copy/move introduced in 3.120 (it had been failing
since then). Its new assertions cover root box hits, real-click collapse,
preserved collapse state and compact row height. Default and narrow
screenshots passed an independent review. Local, unreleased.
### 3.124. Extension model and cloud-first direction (21 November 2026)
The extension brainstorm is recorded in
[docs/design/extensions.md](/Swordfish-FM/docs/design/extensions.html), including the original
cloud/email/casting candidates, host API ideas, provider setup, authentication,
portability, updates and unresolved decisions. This is planning, not an
implemented extension system.
The user confirmed separate downloads, language-independent modules and one
self-contained portable folder per extension. All dependencies and all
extension-owned data nest under that folder. rclone ships with the Cloud
extension, not with Swordfish. The earlier separate `extension-data/cloud/`
proposal is superseded. Updates must preserve nested user data.
Cloud integration is the first priority: an rclone front end with a separate
left-pane Cloud tab for many accounts. Start with provider presets and account
configuration, including backend-specific login and 2FA; full synchronization
is deferred. Writable mounts can still have pending uploads, which must not
be confused with a completed local copy. Credentials, the exact manifest and
API, host prerequisites and safe update/unmount behavior remain to be designed.
Casting as the first proof of concept was reconsidered in favor of a small
test extension exercising cloud-facing APIs. Casting and email remain ideas.
### 3.125. Four-architecture portable build support (21 November 2026)
Local commit `dbbadcb` adds amd64, i386, armhf and arm64 targets to the portable
scripts and release workflow, architecture-specific linuxdeploy downloads and
checksums, generalized multiarch library paths, and `.deb` architecture
metadata/ELF checks. Required 32-bit FOX numeric-conversion fixes are included.
The workflow builds each architecture separately and publishes only after
all build jobs succeed, without replacing an already-populated release.
Related portable/package documentation was updated.
Initial checks covered shell syntax, YAML parsing and whitespace only because
the shared workspace volume was nearly full. The commit is local; it was not
pushed, and no release or tag was published. Build targets in a matrix are not
proof of runtime validation on all four architectures.
### 3.126. Downloaded amd64 test build and cleanup (21 November 2026)
The user requested a test build from `dbbadcb`. Source, compilation and
packaging were staged under `/tmp/swordfish-test-20261121-dbbadcb`, preserving
earlier workspace builds and archives. A Debian 10 root was exported and
prepared in temporary storage to avoid installing a large Docker builder on
the nearly-full workspace volume. Initial user-namespace package setup hit
ownership limitations; setup was completed through an isolated container/chroot.
The unchanged portable build entry point then compiled the amd64 bundle
against glibc 2.28.
The archive is
`Swordfish-Portable-0.0.3-test-20261121-dbbadcb-amd64.tar.gz` (87,157,726 bytes),
with SHA-256
`ea5fba2e57df10dfa77228c42939a3144d3714aa23372983b8b082532ab4f62d`.
It excludes `portable-data`. An extracted copy opened visible GUI windows
under Xvfb and remained running. Seven portable-launcher tests passed;
amd64 `.deb` metadata and rejection of an arm64 label on amd64 programs passed.
The `.deb` was checked locally, not offered as an installed-package validation.
The first search/transfer test combined Debian-compiled objects with the host
test harness. Its slow-stat fixture could not intercept the older `__lxstat`
symbol and failed a marker assertion. A fresh native build with matching
headers/compiler passed all 51 search/transfer checks; the folder/sidebar/device
suite passed 61 checks. The search harness emitted missing-helper and X11
BadWindow warnings despite passing. i386, armhf and arm64 were not built or
runtime-tested in this delivery; physical USB and external drag testing remain
outstanding.
The portable archive and checksum were served privately on port 8765. A full
local HTTP download matched the checksum. The user confirmed downloading it,
not yet completing real-machine testing, and requested port closure. The
server was stopped and the forwarded port disappeared.
Cleanup removed five identified, inactive Swordfish Docker build-cache records
(about 1.0 GB), the temporary Debian image, and three unopened, regenerable
IntelliSense cache files (about 338 MiB). The shared workspace's reported free
space increased from about 1.8 to 2.2 GiB (94% to 93% used); Docker's reclaimed
cache size is not added to that filesystem measurement. Working builds,
download archives, nested user data and session history were preserved.
Named temporary apt-index and autotools metadata caches were also removed;
the test archive's checksum was rechecked after cleanup.
A verified follow-up pass confirmed nothing was listening on port 8765 and the
port was no longer forwarded. It cleared the regenerable Go, pip and npm caches
and the remaining Docker build cache, which freed a further 72 MiB on the
workspace disk; 2.3 GB was then free. It also removed about 1.2 GB of scratch
from the `/tmp` test build: the exported Debian build root, source snapshot
and smoke-test extraction. The downloaded archive and checksum, built bundle,
test `.deb` and logs remain in `/tmp/swordfish-test-20261121-dbbadcb`. The
active Copilot package cache was kept. Most of the space in use on the
workspace disk lies outside this repository (about 0.5 GB) and the user's
home folder (about 3 GB).
Later the user removed Firefox, and the C/C++ VS Code extension was
uninstalled. Generated previews, older test builds and archives, user
screenshots, test themes and the `My theme` archive were deleted from `build/`
with the user's approval. About 3.2 GB was then free; `build/` holds only
notes, logs and `MX Blue.swordfish-theme`.
### 3.127. Cancel cleanup deferred for 0.0.4 beta 1 (21 November 2026)
The user reported that Cancel can leave a partial destination file and
requested removing that file while retaining the source of an unfinished
move. A local implementation and regression were committed as `22fa864`.
Review then found that pathname-based cleanup could remove a replacement made
by another program, and that cleanup errors were not surfaced. The MTP
cleanup was not tested on a real phone.
The user asked to omit this change and release the previously tested version.
The commit is reversed without rewriting history. Cancellation may therefore
leave a partial destination file, which is documented in the beta notes.
The four-architecture workflow will stage beta releases as drafts for review
and check the version and Debian install, reinstall and removal per target.
The first beta build succeeded for amd64, i386 and arm64, including those
checks, but armhf failed to verify a download certificate under x86 QEMU; a
retry failed the same way. An ARM64 runner with ARM32 emulation is being
tried without disabling TLS verification, but it failed in the same way.
Diagnostics showed curl using the certificate directory while the Debian
certificate bundle was present and readable. The builder now explicitly
uses that bundle for its verified downloads; the result remains to be tested.
The original source-archive step also included stale generated autotools
files. The release workflow now
regenerates them from the tagged source before archiving; a locally regenerated
archive configured and built successfully, reporting 0.0.4-beta1.
### 3.128. Swordfish 0.0.4 beta 1 release (22 November 2026)
With the user's permission, the unpublished beta tag was moved to the
corrected source. Explicitly selecting Debian's CA bundle resolved the
armhf download failure without disabling TLS or checksum verification.
All four architecture jobs then built portable ZIPs, tarballs and Debian
packages and passed their version and package install/reinstall/removal
checks; armhf ran under QEMU. The tagged application source matches the
previously tested `dbbadcb` code, with the cancelled-file cleanup omitted.
The regenerated source archive configured and built locally; the native
search/transfer regression passed 51 checks and the folder/device regression
passed 61. The final amd64 binary matched the executable smoke-tested with
a visible Xvfb window. Physical i386, armhf and arm64 desktop testing, real
phones and external drag interoperability remain outstanding.
GitHub renamed `~` in Debian asset filenames to `.` on upload. Before
publication, the draft checksum manifest was corrected to match the actual
asset names, re-downloaded and checked against all 13 server asset digests.
All 14 uploaded asset digests matched their locally downloaded copies. The
workflow was updated afterward to normalize package names before computing
checksums for future releases.
The 0.0.4 beta 1 prerelease was published with all 14 assets; 0.0.3 remains
the latest stable release. Its notes warn that Cancel can leave an incomplete
destination file and that removing the portable Debian package deletes its
installed folder and settings.
### 3.129. Beta feedback (23 November 2026)
The user reported the following in [the beta feedback file](build/0.0.4-b1.txt);
these are reports and requests; the Scripts work is recorded in section 3.130:
- Scripts are present but greyed out, although they run from
Custom Actions or a terminal. Once fixed, add a script context-menu action.
- Custom Action appearance conditions do not work as expected; check all of
them. The toolbar needs an overflow button while keeping Configure visible.
- Multiple instances, including a root window, produce a settings-save
conflict. The user identifies a regression between the 16 and 19 November
portable test builds.
- Fixed-colour windows and dialogs open undersized and have inconsistent button
placement. Startup takes over five seconds.
- Unrelated applications place their caches and settings under portable-data.
Auto-sizing the Name column exceeds the width needed for the name.
### 3.130. Scripts menu (23 November 2026)
The user clarified that a script may accept one file, one folder, multiple
selections or no selection, and requested its context action under Tools.
The main Scripts menu now rebuilds before sizing, targets the active pane and
passes the selected paths. The file-pane context menu offers Tools → Scripts
for both selected items and blank space. Search scripts receive full result
paths, and an unavailable working folder produces an error without executing
the script elsewhere. Script submenus are cleaned up when rebuilt or closed;
low-contrast selected text in these menus is corrected without changing
already-readable theme colours.
A clean native build staged in `/tmp` and focused Xvfb tests verified actual
menu clicks, both panes, nested scripts, file/folder/mixed or empty selections,
special-character paths, menu refresh, search results and working-folder
errors. The staged theme workflow regression also passed. Light/dark and
normal/narrow screenshots were independently reviewed; a highlighted-text
contrast problem found in that review was corrected.
This is local work, not part of the published beta; portable and real-machine
testing remain outstanding. The broader Custom Actions GUI regression reaches
an existing tree-collapse assertion that also fails without the Scripts test.
### 3.131. Custom Action appearance conditions (23 November 2026)
The reported folder-only, single-selection action was eligible without any
selection because checking Folders bypassed the separate Show without selection
checkbox. That checkbox is now authoritative. Folders still permits selected
folders and, when Show without selection is also checked, supplies the current
folder to selected-path placeholders.
The user chose to keep inapplicable toolbar and main-menu entries visible but
greyed out; context menus continue to filter them. No toolbar overflow or
unrelated layout changes are included. The properties help and manual describe
the corrected conditions.
The model regression passes, and a clean native build staged in `/tmp` passes
a focused GUI matrix covering all 32 combinations of file, folder, single,
multiple and no-selection flags across eight selections in both panes. These
checks cover mixed types, a nonmatching file among matching files, nested group
enablement and filtered context menus. The focused mode avoids the previously
reported failures elsewhere in the broader GUI suite. This fix is local and
not part of the published beta.
Independent screenshot review confirmed the toolbar's enabled/disabled states,
long labels and Settings button at normal/narrow sizes in light/dark themes.
The initial review incorrectly classified the Details-view background-click
gutters as redraw artifacts. Duplicated panes and black blocks in some captures
were investigated after the user challenged leaving them unresolved. The
screenshot helper had pumped nonblocking events without allowing FOX's idle
layout to finish. It now runs a bounded real event loop before capture, and the
regression checks that pane geometry matches X11 and stays within its parent.
All 16 corrected captures passed independent review. The intentional gutters
remain, and no application repaint code was changed.
### 3.132. Custom toolbar overflow (local work)
The custom toolbar now reserves its far-right Settings/Configure button and
places a `>>` overflow button immediately before it when the actions do not all
fit. Excess actions and nested groups appear in their original order in the
popup, with clean separator boundaries. Widening the window restores buttons
and removes `>>` once everything fits. Applicability still follows the active
pane, with inapplicable entries disabled rather than removed.
A clean native build staged in `/tmp` and focused GUI regressions pass all nine
display-style/icon-size combinations, the exact one-pixel fit threshold,
shrinking and widening, Configure bounds, overflow order and real nested-action
clicks in both panes. The same focused checks pass with Fluxbox, including opening
the editor through the pinned Configure button. The existing 512-case appearance
matrix also passes. Popup checks verify every displayed row is mapped, contiguous
and within a shrink-wrapped menu; these checks caught missing first rows and
unused popup space during implementation.
All 14 normal/narrow, light/dark, long-label, selected/background and
no-overflow screenshots pass independent review. Captures park the pointer
outside the application to prevent hover popups from occluding it. The focused
mode is `SWORDFISH_TEST_OVERFLOW_ONLY=1` on the existing Custom Actions GUI
runner; the overflow checks also run in its default mode.
This is local work, not part of the published beta. Portable and
real-machine testing remain outstanding; no full GUI-suite pass is claimed.
### 3.133. Keep launched applications out of portable profile (local work)
The portable launcher now records the host cache and state directories as well
as config and data. External commands launched through the shared command
runner, command output windows, search windows, custom scripts, background
commands, custom actions, and `swordfish-open` receive the host XDG directories
and host library/module environment. Swordfish and its bundled companion
programs retain the portable profile. The portable README documents this
boundary.
The portable-launcher regression covers host XDG capture, nested launches and
`swordfish-open` restoration. A focused Custom Actions GUI regression exercises
an external launch and verifies that a bundled helper still receives portable
settings. This is local work, not part of the published beta; a packaged
portable build has not been tested.
### 3.134. Fixed-colour dialog sizing and persistent actions (local work)
Reproduced the sizing fault: a dialog opened at 240 by 120 while its natural
content required 954 by 123. The shared wrapper also put its action buttons
inside the scrolling area. Dialogs now fit their natural content on initial
creation, preserve larger requested sizes, and stay within the display.
Later user resizing is preserved. Space for a necessary scrollbar is included.
Footer rows use `DialogButtonBox`. The wrapper lifts those rows out of nested
selectors as well as direct dialog children, leaving only the body scrollable.
This covers the input, file/font/colour, Preferences, properties, rename,
connection, key-binding, message, conflict, command/text/progress, Theme Editor
and Custom Actions dialogs, including the FOX search/replace/input dialogs.
Help/options stay left; Cancel precedes the primary action at the right.
Preferences uses Cancel, Apply, OK. Narrow footers wrap without overlapping or
hiding actions; long action labels do not force every button to the same width.
Event targets, confirmation defaults and saved file selections are preserved.
Focused geometry checks cover natural initial sizing, screen-constrained
content, narrow windows, long status/action text, nested selectors and
Preferences/Theme Editor footers. The full theme workflow and focused
column/preferences regression passed in an isolated clean native build.
The focused Custom Actions dialog workflow passed, including icon/legend
dialogs, Apply, Save/disk reload and unchanged Cancel. Both dialog runners
support `SWORDFISH_TEST_DIALOG_LAYOUT_ONLY=1`. All 44 default/narrow,
long-status and display-constrained screenshots were independently reviewed
in light/dark host environments; the review's Preferences ordering issue
was corrected and re-reviewed.
The full Custom Actions suite still fails its Scripts-menu popup assertion
after the overflow/appearance sequence. The same failure was reproduced in a
clean build of unchanged HEAD; the focused Scripts check passes. No full
Custom Actions-suite pass is claimed. The manual describes the layout.
This is local work, not part of the published beta; packaged portable and
real-machine checks remain outstanding.
**Follow-up findings and deferred independent audit:** the user requests a full
independent audit and design review by a specialist AI model of every screen,
window, box and dialog, but only once all functions are stable. Do not start
that full audit now. Inventory all UI surfaces and states at that point, and
review alignment, sizing, spacing, contrast, typography, icons, action
placement, narrow layouts and menu positioning. Earlier focused screenshot
passes are not a substitute for this full audit.
The subsequent review of `build/Image 1.png` identified unreadable sidebar
headings, oversized buttons in that screenshot, poor selected-file icon
legibility, and inconsistent bottom-row alignment: File Name and File Filter
have different field widths and left/right edges, and the filter's right edge
does not align with the action row. These observations remain follow-up items;
the shared footer fix is not a claim that every control's layout is correct.
The nested Custom Actions overflow submenu positioning report was addressed
separately below; it does not bring forward the deferred full UI audit.
### 3.135. Overflow submenus choose an available side (local work)
The shared popup override previously clamped a right-opening submenu to the
screen boundary, covering its parent. Parent-owned menu panes now choose a
side before clamping: open right when there is room, otherwise fully left
when that side fits. Deeper cascades continue left after their parent has
opened left, while space permits. Non-menu popups, vertical positioning,
grabbing and focus behavior are unchanged. If neither side fits, the existing
screen-clamping fallback remains.
The focused overflow regression reproduced the parent overlap before the fix.
It now covers both screen edges, deeper nesting, an exact right-side fit and
a one-pixel shortage, in light and dark themes. It passes with and without
Fluxbox, including real nested action clicks in both active panes, menu
dismissal, and the pinned Configure button opening the editor. The focused
Scripts regression also passes. Light/dark screenshots of both edge cascades
were inspected for on-screen placement and no parent-body overlap.
Validated in an isolated clean native build. No full GUI-suite pass, packaged
portable check or real-machine check is claimed. The specialist audit and the
file-chooser alignment/contrast findings above remain deferred.
### 3.136. Downloaded amd64 test build of local commits (23 November 2026)
The user requested a test build containing all local commits through
`56999f1` (Scripts menu, portable settings sync, appearance conditions,
toolbar overflow, host environment for launched applications, dialog sizing
and submenu side selection). A `git archive` snapshot was built in
`/tmp/swordfish-test-20261123-56999f1` with the unchanged
`portable/build-portable.sh` for amd64 in the Debian 10 container (glibc 2.28).
The archive is
`Swordfish-Portable-0.0.4-beta1-test-20261123-56999f1-amd64.tar.gz`
(87,450,928 bytes, SHA-256
`ed17b0b9add08d19b0d0c713a34137f0e8d118f7e897f0e7c4ea6aabb6aabf55`).
As in releases, `portable-data` was excluded. The bundle reported
`0.0.4-beta1` and stayed running under Xvfb until the smoke timeout. It was
served privately on port 8765, checksum-verified over HTTP, downloaded by the
user, and the port was closed. No `.deb` was built, and full regression suites
were not rerun on the bundle.
The workspace volume (which also holds Docker data) dropped to 1.4 GB free
during the build. Unused builder images, Docker build cache, the source
snapshot and package caches were removed afterwards; builder images are
rebuilt automatically by the portable build script when needed. The downloaded
archive and its checksum remain under `/tmp` on the separate large volume.
### 3.137. Remaining multi-window settings conflicts (24 November 2026)
The user confirmed that the `56999f1` test build still shows "Portable settings
changed" when using multiple instances or a root window. The supplied
`build/same-error.png` identifies the "changed outside this window" branch.
They identified `Swordfish-Portable-Test-20261116b` as working and the later
`Swordfish-Portable-Test.tar.gz` as the first affected build.
The original two archives were not available locally, so the comparison used
the retained source history across those dates and the user-provided Xfe
2.1.11 source. The earlier Swordfish and Xfe writers used a temporary file
and atomic rename without the portable guard. Commit `b60ad0b` introduced
that guard on 17 November; `0845c15` later added peer merging based on an
X-root-window property. A full rollback would also remove unrelated fixes,
so only the settings-saving mechanism is corrected:
- Startup now takes the same lock as writers before inspecting temporary
saves or loading the registry. A focused reproduction previously mistook
another window's active, locked save for an interrupted one.
- Peer recognition uses an atomically replaced `xferc.saved` record under the
existing lock, not an X-server property. Its token binds the saved content
digest to the file identity and metadata, so copied records do not authorize
a different file. Peer saves work before an X display is available or across
separate displays. A new no-display two-process check failed before this fix.
- Metadata or inode changes alone do not block saving when the settings
contents are unchanged.
- Root saves retain the existing settings owner and permissions. An actual
root-process check with umask 077 reproduced a root-owned replacement before
this correction. The save record remains readable across user IDs.
Shared-preference merging, per-window browsing state, external-copy protection,
interrupted-save recovery and the safe filesystem fallbacks remain in place.
No theme, gallery, phone, transfer, toolbar, dialog or other later feature code
was rolled back. Close all older windows before using an updated build; old
and new peer-recognition protocols must not share a live profile.
Validation in a clean native build staged under `/tmp`: 27 core profile checks,
20 real-window profile checks under Xvfb (including the opt-in sudo root
process), and eight portable-launcher checks passed. Coverage includes three
simultaneous writers retaining all their changes, startup during a save, peer
preference updates, restrictive root saves, copied profiles, modal-editor
protection, persistence, portable relocation, restart and injected save races
and failures. Four pre-existing GUI fixture failures were traced to the fixture
disallowing no-selection actions after section 3.131; the fixture now explicitly
allows its intended no-selection invocation. Manual and portable notes updated.
These are local automated results, not desktop acceptance. No replacement
portable package, commit or push was made for this fix.
### 3.138. Safer local copy and cross-filesystem move (24 November 2026)
The user accepted the recommendation to check free space, reserve space where
supported, stage unfinished files under a `.part` name, retain the previous
destination until the replacement completes, and remove temporary files on
ordinary failures. This is a focused change to regular-file transfers on local
Linux filesystems; MTP and recognized network/FUSE filesystems keep the prior
copy path.
- Before a transfer starts, estimate its data size and check available space
for each destination filesystem. Same-filesystem moves are excluded because
they use rename and need no copy space. Reservation is performed per file
with `posix_fallocate` when supported; unsupported filesystems fall back to
normal writes, while real allocation errors stop the copy.
- Regular files are written to `destination.part`, synced, and renamed into
place only after copy and optional checksum verification succeed. Existing
non-directory destinations remain in place through copy and cancellation.
Cross-filesystem moves remove the source only after the staged copy succeeds.
- Normal copy errors and cancellation remove the partial. A process crash or
power loss can leave a `.part` file, but the prior destination is not
replaced until the rename.
- Existing transfer directory locks remain in effect. They coordinate
Swordfish transfers, not unrelated programs; free-space estimates cannot
prevent other applications from consuming space afterward.
Validation: clean native `make` in `/tmp` and the focused Xvfb copy regression
passed. The regression checks successful staging, preservation of an existing
file during replacement, and cleanup/preservation after cancellation for both
regular-file and symlink destinations. It does not simulate a full disk or
verify device/network filesystem behavior. The user-facing manual now
documents temporary files and the supported-filesystem limits. No package
was built or pushed.
### 3.139. Small screens and minimum window size (24 November 2026)
User feedback on 0.0.4 beta 1 (32-bit build): the main window could not be
made smaller than about 1080x440, which does not fit 1024x600 netbook screens.
Cause: the main window was created with `DECOR_STRETCHABLE` but not
`DECOR_SHRINKABLE`. FOX then publishes the content's default width and height
as the window-manager minimum size. That default is the sum of the menu bar,
toolbar row and panel splitter widths, so it grows with panel mode, toolbars,
font size and translation length.
- The main window now uses `DECOR_RESIZE`, so it publishes no minimum size.
Toolbars already collapse into their overflow buttons when narrow.
- New `xf_fitwindowtoscreen` limits the restored or default size, and the
saved position, to the screen. New `xf_maximizeifscreensized` then
maximizes a window that fills the screen so the window manager fits it to
the work area, including the title bar and panels. This applies to the main
window, text editor, image viewer, archive viewer and package viewer, which
all defaulted to 1024x768.
- Known limit: the FOX 1.6 menu bar does not wrap. At default fonts it needs
about 640 px, so menus to the right are clipped only below that width.
- A second AI review of the report reached the same diagnosis. Its
suggestions for a narrow Custom Actions toolbar width, shrinkable path
fields and toolbar wrapping were already in place.
- Stopgap for 0.0.4 beta 1 users before this fix ships: scale the desktop
with `xrandr --output