Repository navigation
Merge upstream Arkha 1.3.0, Voyager 1.3.0 - #4
Merged
Merged
Conversation
Comparing items meant closing the Properties window and opening one for the next (the Media Info of one video, then of another). Items dragged into an open Properties window, from Arkha or another program, are now shown in it, on the tab chosen last if they have it (else Basic, the choice kept for the next ones); several at once as a group. Switching saves a note being typed and stops checksums being worked out (their tabs now end what they had going when they go, not only with the window). Drops on the name and note fields count too: the name field takes no drops, the note field passes files on to the window. tools/gui-tests/props-drop.sh drags videos and a folder into the window and checks the tab kept and a note being typed saved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The tabs made anew for an item dropped into the window, which is already shown, kept the look of tabs without a header (no page background, the window's grey showing through) once their tabs came. Their style is now worked out again after they're shown. props-drop.sh checks the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The manual is written in Markdown in docs/manual/en (13 pages: the window, finding your way, views, tabs and split view, working with files, searching, renaming, Properties, drives and network places, Preferences, customizing, keyboard shortcuts, questions and problems), which GitHub shows as it is. build.rs (build/manual.rs, with the pulldown-cmark crate) makes HTML pages of it in target/release/manual, in the order the contents link to them, with GitHub's heading anchors, the README's screenshots in light and dark, and warnings for links that lead nowhere. Help → Manual opens them in the browser: from the build folder, or <prefix>/share/arkha/manual, where install.sh and every package (Arch, AUR, .deb, .rpm, the prebuilt tarball) put them; in Arkha's language when the manual has it, else in English. The shortcut tables are made from src/keys.rs, and a test keeps them so. manual.sh tests Help → Manual and F1. Also: search described as it works since it's Caja's (Enter searches, typing doesn't filter), and the FAT32 messages translated into German. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every package (Arch, AUR, .deb, .rpm) and install.sh now check that the build made the manual before installing it: the loop that installs its pages passed without any, which would have given a package without it and Help → Manual saying it isn't installed. install.sh checks before installing anything. The message that the manual isn't installed names only <prefix>/share/arkha/manual for an installed Arkha, not /usr/bin/manual (next to the program it's only looked for in a build folder or an unpacked tarball). arkha-git's pkgver is today's master's, with its .SRCINFO: with the old one unchanged, the AUR didn't update its package, and AUR helpers kept building with the PKGBUILD they had, which doesn't install the manual. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/manual/de: the 13 pages in German, with Arkha's German names for menus, settings and buttons (from po/de.po) and German key names (Strg, Umschalt, Bild auf …). Help → Manual opens them when Arkha runs in German, from Preferences or the system. The German shortcut tables are made from src/keys.rs with the actions' names from po/de.po, and the test checks them as it does the English ones. manual.sh: German opens the German manual, French the English one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The message that the manual isn't installed now offers Read It Online: this version's manual on GitHub (a release's tag, a development build's commit), in Arkha's language when the manual is written in it, else in English. The build notes the languages (ARKHA_MANUAL_LANGUAGES). A package can lack the manual when an AUR helper builds with its old copy of the PKGBUILD; the manual's problems page says how to fix that. manual.sh: a copy of the program with no manual installed, its message and the address Read It Online opens. a11y.py's labels and buttons queries see message boxes too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The manual: Help → Manual (F1), 13 pages in English and German, installed with Arkha and read offline, or online when it's missing; Properties showing what's dropped into the window, on the tab chosen; the FAT32 messages in German. Version 1.2.0 in Cargo.toml (and Cargo.lock), the release in the AppStream metainfo, and the README's speed table measured again with it, together with Caja and Nemo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
arkha and arkha-bin at 1.2.0 with their checksums (arkha-bin's matches the release's SHA256SUMS) and .SRCINFO, both test-built; arkha-bin now fails without the manual like the others (1.1.0's tarball had none). arkha-git's version is the release commit's, 1.2.0.r225.g51ef377. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The search's Location row has "including subfolders": unticked, a search (after Reload) looks only at what the folder itself holds, not inside its folders. Preferences → Behavior → Search → "Include subfolders" sets how a new search starts; it's on to begin with, so searches look in the subfolders as before. German texts, and the manual in both languages (Searching and selecting → Only this folder). search-subfolders.sh tests it, and the Preferences box; a11y.py's press-in presses check boxes too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The check box in the search's Location row is now "include subfolders" (German "Unterordner einbeziehen", as the Preferences setting), in the program, the manual in both languages and the feature list. tools/update-po.sh no longer keeps texts dropped from the code as obsolete entries at the end of the catalogs (git has them), and the three po/de.po had are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ticking or unticking it runs the search again, without Reload (the other criteria, typed or picked bit by bit, still wait for it). Its tooltip no longer mentions Reload; the manual says so in both languages, and search-subfolders.sh checks the results right after each toggle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ark has no files to offer while dragging and doesn't use XDS: its drag carries its D-Bus connection name and an object path, and the drop target calls org.kde.ark.DndExtract.extractSelectedFilesTo with the folder, as Dolphin does (src/arkdnd.rs). Arkha now does so in the file views, the column view and on the path bar; if Ark doesn't answer, it says so. Tested with Ark 26.08 on X11 and Wayland. The manual described all archive managers as unable to drag files out on Wayland: it now names Ark (X11 and Wayland), the XDS ones (Engrampa, Xarchiver, File Roller before 44: X11, or on Wayland both programs through XWayland, GDK_BACKEND=x11), and File Roller 44 and later, which can't drag files out at all (it said 43), in both languages. archive-drag.sh and xds-drag.sh drag out of a stand-in archive manager (fake-archiver.py, as Ark or with XDS) in Weston's desktop shell; on Wayland xds-drag.sh runs both programs in XWayland. lib.sh takes extra Weston options (GT_WESTON_ARGS). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
KDE's Ark joins Engrampa, File Roller and Xarchiver: Extract Here runs its batch extraction next to the archive (in a folder of its name unless it holds one file or folder), Compress opens its dialog for name and type (--add alone only shows an error). Which one Arkha uses: Preferences → Behavior → Archives → Archive manager, the installed ones or Automatic, the one set as the application for archives, else the first one installed, Ark first on KDE. German texts; the manual in both languages; Ark among the packages' optional dependencies. archive-manager.sh checks the choice with stand-in archive managers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preferences → Behavior → Split View: "When closing split view, keep:" the pane in use (as before) or the other pane, like Dolphin's option; "The extra pane opens in:" the same folder as the pane in use (as before), the home folder, the folder it showed when last closed, or a folder of one's own (a local one that's gone: the same folder). German texts, the manual in both languages. A GTK 3 bug it brought up: a removed tab's accessible object (a closed tab, the closed pane's tabs) forgets its notebook but still asks it for its state, name and index in its parent, failing GTK assertions whenever a screen reader reads the window. src/a11y.rs answers those three for removed tabs (defunct, no name, -1). split-settings.sh checks both settings, accessibility asked between the steps. archive-manager.sh and search-subfolders.sh scroll further down the now taller Behavior page, over its labels (a choice under the pointer changes with the wheel). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preferences → Behavior → Tabs → "New tabs open in:" the current tab's folder (as before), the home folder, the folder of the last closed tab (kept across restarts) or a folder of one's own; a folder opened in a new tab (middle-click, Open in New Tab) is still shown there. It shares the choice of folder and its Preferences row with the extra pane. The "New tabs go" tooltip is now translated too. German texts, the manual in both languages. Also fixes the folder button of both: a folder picked from its own list (File System, Home, Desktop) wasn't stored, only one from its dialog (stored now on selection-changed and file-set, not current-folder-changed); with "This folder:" and none stored, the one the button shows is. tab-settings.sh checks the four choices, a folder opened in a new tab, and File System picked from the button's list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
extra_pane_opens_where_preferences_say expected "smb://nas/share/", as GIO writes it with GVfs; CI's runner has none, and without it GIO keeps "smb://nas/share" as given, so the test failed there. It now compares with GIO's own spelling of it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From a review of the code written since 1.1.0: - The folder buttons of New Tab and the extra pane store a folder only when one is picked (file-set, which comes for their list and their dialog alike), not what they show while set up. - Ark's Extract Here with archives from several folders (search results) runs once per folder: Ark extracts next to the first one it's given. - A web link dropped into Properties is left out (no properties, and looking it up was a download while the window waited); metadata read for items no longer shown isn't put in tabs that are gone. - Drags from Ark show copy whatever the keys (Ark only extracts). - A remembered or chosen folder that's now a file isn't opened as one. - A closed tab or pane saves the settings only when its folder is new. - Help → Manual opens in the web browser (the application for web links), the one for HTML files only without one (on some systems an editor, showing the page's source). Unit tests for the folder choice, Ark's runs and web links; manual.sh checks browser and editor, tab-settings.sh a network place kept when Preferences opens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
config.rs: a settings! macro makes the Settings struct, its defaults and the reading and writing of arkha.conf from one line per setting; a Stored trait says how each type is kept, and checked() does what reading used to check field by field. A new setting is now one line. A test checks that the checks leave the defaults as they are; the user's real settings file reads the same as before. GUI tests: lib.sh gets gt_go, gt_title, gt_conf, gt_prefs, gt_prefs_page, gt_prefs_scroll and gt_thumbs, used in place of the copies 22 tests had of their own. gt_conf also copes with a missing file or [General] group, keys that start another key's name, the same key in [Keybindings], and | or & in values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
60 clones that clippy's redundant_clone finds: widgets, strings and callbacks copied for a closure or a struct, then never used again. Reading the clipboard hands its callback down the chain of requests (each runs once) instead of sharing it through an Rc, so it takes an FnOnce. The context menu's copy of the click stays: unsafe code rewrites that event. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Leaving a big folder took 6.7 s for 20,000 files: GtkListStore.clear() removes the first row each time and the filter model on top renumbers every following row. Rows are now removed from the end, with the model detached (0.7 s). New GUI test leave-big. - Extract Here was missing for .tar.bz2, .bz2, .zst, current .iso files, lz4, lzip, .tar.Z, cab, arj and lzop: shared-mime-info 2.3+ uses new type names. Both the old and new names are known now. - A renamed file's thumbnail was sometimes made again instead of moved: small renames move the cache entries right away, and the maker skips files that are gone. - A picture loaded by extension left its PixbufLoader open when the file disappeared; the file is read before the loader is made, and the loader is always closed. Unit tests for sorting by every column, mouse back/forward buttons, archive types, job titles, thumbnail sizes, search criteria, mount roots and checksum names; GTK tests now share one thread (testutil:: on_gtk). soak.py gets --fatal-warnings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With Show thumbnails: Always, files on places GVfs opens (smb://, sftp://…) get thumbnails under those URIs, but the cache skipped every URI that wasn't file:///: renamed, moved or deleted, their thumbnails stayed behind, and a renamed file's was made again over the network. The cache now follows files at any URI; a renamed folder's contents are found through GVfs's path but named by the place's own URIs. A rename moves the items' thumbnails at once and those in folders on a thread, without asking a network place which items are folders. Moves into or out of the trash leave the cache alone, as before: a restore was taking away the thumbnail kept for it. New GUI test thumb-network (SFTP to an sshd of the test's own; with ARKHA_TEST_MOUNT=DIR on a mounted share); thumb-move also restores. gt_title and gt_prefs marked as taking an optional argument for shellcheck. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A file cut or dragged from the trash into a folder had its thumbnail made again and the old one left in the cache: it is kept under the file's original URI (trash::orig-path), and only the trash:/// URI was looked for. Moves and deletes from the trash now use the original URI, also for files inside a trashed folder. thumb-move does it. - soak.py closes tabs once a window has more than 8 (counted through AT-SPI; shown in the status line and report): tabs opened more ways than they closed, and piled up over long runs. - About 60 older shellcheck findings fixed or marked where meant; tools/.shellcheckrc holds the settings. CONTRIBUTING.md has the command. - run-all.sh: the suite takes 25-30 minutes per backend. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A soak run hung for over 30 s adding search results. Two causes, as GtkIconView walks all its items for every row inserted or changed: - A new row got the chosen details (owner, access time...) and the time trashed in a second change. They now go in with the row: 4,000 files into a folder of 20,000 sorted by owner took over 25 s, then 1.1 s. - A batch under a quarter of the rows shown was added one row at a time. The icon and compact views now add at most 500 that way (except while a name is edited), more with the view detached: those 4,000 files take 0.2 s, and a search in /usr/share pauses up to 1.7 s at some 50,000 results instead of 14 s. The list view is as before. New GUI test arrive-big: the window answers, the selection stays and a rename begun before isn't disturbed. Its 5 s limit catches the first cause, not the 500-row limit being lost (about 1 s). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since 45574f7 batches over 500 are added with the icon view detached. That lost the keyboard cursor (the next arrow key went to the first item) and moved the view by part of a row, or from the top to the selected item. Batches over a quarter of the rows did so before. detached() asked for two scrolls that replaced each other while nothing was laid out yet. It now notes the cursor and where the items in view are, selects again without scrolling, and gives both back after GtkIconView's layout, before it paints. A scroll asked for meanwhile (to pasted items) goes first. The list view is as before. arrive-big checks the view to the pixel in the middle, at the top and in the compact view, and the cursor. 45574f7 fails it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Five overnight soak runs each ended in a hang of over 30 s. GtkIconView lays out every item whenever its size changes, also in tabs not shown, which get the window's new size too (a tiling window manager changes it whenever any window opens or closes). With one item a row (a narrow window, zoomed in) it frees a row context per item, each found in a list: about 0.5 s for 5,000 items, and a few such tabs added up. Off screen the icon view now only keeps its size, and answers size requests with the last measured ones; laid out once it shows, before it paints (nothing of an old layout meanwhile). A scroll waiting for its item doesn't use up its tries in a tab not shown. New GUI test hidden-tab: three hidden tabs of 8,000 files while the size changes: slowest answer 1.3 s before, 7 ms now. soak.py: the window and tab limits gave up for good after five closes refused by a dialog (a run went on to 40 windows and 133 tabs); they try again every 50 actions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GtkIconView lays out every item after each change: seconds at 100,000 items, in a folder or a search's results. An icon or compact view with more than 20,000 items now shows them as a list for the while, and goes back below 10,000 (the gap keeps it from flipping at one count). The status bar says so: "— shown as a list: too many for the icon view" (German: "— als Liste angezeigt: zu viele für die Symbolansicht"). The list isn't remembered for the folder; another folder or search starts with its own view again. Icons the user picks meanwhile stay until then. Not switched while a name is being edited. New GUI test auto-list. a11y.py's window-labels doesn't look inside views of more than 500 items (they used up its limit before the status bar). The manual's Views page and FEATURES.md describe it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As About shows it, now from one function (util::version): with the
revision when built in a git checkout ("1.3.0 (r247, e5bfe19)"), plain
from sources without one ("1.3.0"). Then it quits: handled before any
window, and before a running Arkha would be asked to open one. --help
lists the option and names what Arkha takes: "arkha [OPTION…]
[FOLDER…]". German texts; the bug report form and the manual's
troubleshooting page mention it.
New test version.sh (no display needed; with Arkha running, no window
opened).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Debian, Fedora and Arch packages and the prebuilt program are kept as artifacts (arkha-deb, arkha-rpm, arkha-arch, arkha-prebuilt) for download; a last job deletes older CI runs' builds, keeping this run's and the two newest earlier successful ones on master. The release workflow's artifacts aren't touched. A pull request's builds aren't kept for download (anyone can send one); its .deb only goes to the Ubuntu job, for a day. The README says where to find them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each artifact is one already compressed file: uploaded with archive: false (upload-artifact v7), it's named after the file. The Ubuntu job finds the Debian job's .deb by pattern; download-artifact v8 doesn't unzip such files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The .deb, .rpm and prebuilt program from CI were all "1.3.0~dev" on
every push (only the Arch package counted the commits), so builds of
different commits looked the same, and apt or dnf wouldn't update from
one to the next. The Debian, Fedora and prebuilt jobs now fetch the
whole history and write VERSION with packaging/build-version.sh
("1.3.0-dev+r249.g1a2b3c4"; plain "1.3.0" on a release tag), which
version.sh already reads; remote-build.sh uses the same script.
tarball/build.sh names the tarball after VERSION where there is one
(releases don't write it). The README no longer says the downloads are
zipped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dtolnay/rust-toolchain was taken from its branch "stable" and Swatinem/rust-cache from its tag "v2": whoever controls those could change what runs in the release builds (arkha-bin's tarball, the packages on the release page) and in CI's downloadable builds. They're pinned to the commits those pointed to (rust-toolchain's stable of 2026-11-15, rust-cache 2.9.3); a newer one takes a change here. GitHub's own actions/* stay on their major versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Search with or without subfolders; files dragged out of KDE's Ark extracted, and Ark for Extract Here and Compress, the archive manager chosen in Preferences; which pane split view keeps and where the extra pane and new tabs open; folders and searches of more than 20,000 items shown as a list; no more freezes when many items arrive or when tabs not shown get a new size; thumbnails on network places and out of the Trash go with their files; arkha --version. Version 1.3.0 in Cargo.toml (and Cargo.lock), the release in the AppStream metainfo, and the README's speed table measured again with Caja and Nemo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pkgver 1.3.0 with the checksums of the release's source archive (its contents identical to the tagged commit) and prebuilt program (the release's SHA256SUMS); arkha-git at 1.3.0.r251.g1598db8. All three test-built; each built program reports 1.3.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Takes over: search without subfolders, KDE's Ark for dragging out and extracting, split view and tab settings, big folders shown as a list, thumbnails on network places, Help → Manual (English and German), voyager --version, and the settings kept in one declaration (config.rs), with Voyager's own settings added to it. Names are Voyager's. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Takes over the 35 new commits of dekart811/arkha (search without subfolders, Ark support, split view and tab settings, big folders as a list, thumbnails on network places, a manual in English and German, voyager --version, settings declared in one place), with Voyager's names; Voyager's own settings (menu bar, This PC at start, own mount names, font) are in the new settings declaration. Version 1.3.0. Checked locally: clippy, 208 tests, release build and the screenshot run.
🤖 Generated with Claude Code