Repository navigation
0.9.6: in-place updates for files being written, long paths, wrapping panels, README keys - #107
Merged
Merged
Conversation
While a file downloaded into the folder a pane showed, the whole list was reloaded about as often as GIO reported the file (every 800 ms or so): a new listing, a model reset, cursor, marks and scroll put back, item counts and free space asked again. The monitor forwarded no detail, so a file that only grew looked like any other change, and the 400 ms quiet timer could not coalesce events that far apart. core::Monitor now tells the two apart. Entries that came or went (created, deleted, renamed, moved, the folder itself) are changed() as before. CHANGED, CHANGES_DONE_HINT and ATTRIBUTE_CHANGED on an entry are entryChanged(name, settled), at most once a second however fast the writes come; settled when the writer closed the file, or after three quiet seconds for backends that never say so. The tab answers with one stat (core::queryEntry, the listing's own attributes and flags) and ListModel::updateEntry: size, date, mode and owner in place, dataChanged for the row, no reset. A row under an order by size, date, mode or owner keeps its place while the file is written and the list is sorted again once it is settled, cursor and scroll kept as on any resort. Free space is asked again at the same pace. A folder row that changed has its item count asked again, as the reload did. An inactive tab only goes dirty (rule 13), and so does one with an editor open. tab.cpp was at its limit: the monitor's two slots live in tab_monitor.cpp. Closes #83 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A label that named a folder or an item asked for the full width of its text, and the window followed: where it could grow it grew and stayed that wide, where it could not (a tiling or scrolling layout) the content was cut at the edge. Pack in a deep folder took a 1100 px window to 1647 px; the conflict bar asked for over 3000 px around a long name. What names something now gives way. FittedLabel (beside ElidedLabel) asks for the width of its text when there is room and is cut in the middle when there is not, so the start of the sentence and the end of the path both stay. It carries the messages of the prompt, choice, check, mount, conflict, error and log bars, the title of open with, a job row's title and the job panel's current name. The pack panel's title elides and its destination box no longer sizes itself to the other pane's path. A job row's current name elides. The job panel's From and To stay plain labels, since they can be selected; they are cut at the edge instead of asking for their width. The error bar's text no longer wraps: a path has no spaces to wrap at, so wrapping never helped the case that was too wide. test_window opens every panel and bar twice, in short folders and in two some 230 characters deep around a 120 character name, and asks for the same minimum width both times. Closes #93 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The Keys section listed every key a second time, by subject, in six tables of some sixty rows. The grid above them and F1 inside the window already say what the function keys do, so those tables go. What stays is the part the bar cannot show: one table of the keys without a function key (panes, marks, filter, tabs, clipboard, the command line, paging the preview) and a sentence for the chords other file managers use that still work. What the tables said beyond a key's name moved to the feature table: open with and the editor F4 picks get a row. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The bars and panels changed how they show long texts (#93); the set is rendered again so the README shows what the release looks like. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
With the sync or the multi-rename panel open the window's minimum width was about 1060 and 1090 px at a 12 pt font: each row of controls was one line that did not give way. In a 1400 px window the pane with the panel took what it needed and the other pane was left a sliver; in a window narrower than the minimum the content was cut at the edge. FlowLayout is a row that wraps: what does not fit the width goes on the next line, room left on a line goes to the items that can expand, and the least it asks for is its widest single item. A label and its field travel together as one cell. The sync panel's options and actions, the multi-rename panel's names, options and presets and the pack panel's choices are such rows now. In a wide pane they read as before; the two panes stay even. The sync panel's two paths elide, a line each, where they used to wrap over as many lines as it took: ElidedLabel cuts each line of its text on its own. test_window: no panel or bar makes the window ask for more than 75 average characters of width; the README shots of the two panels are rendered again. Closes #96 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KxLwQtp3yonrpxnzSFpc3w
A file of one byte read "1 bytes" in the Size column and everywhere else a size is shown: QLocale::formattedDataSize has no singular. The same wart as the "1 items" of #64. jobfmt::bytes() says "1 byte" for one and is now the one place a size is put into words: the list model and the tab's free space call it, where they called QLocale themselves. Closes #103 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KxLwQtp3yonrpxnzSFpc3w
Since #91 a layer wider than the window is cut instead of widening it, and the style did the cutting, in the middle: "F1 About" became "F1...ut". The start of the word is what tells the commands apart. The bar's buttons paint their own label: cut at the end, so the key and the start of the word stay ("F1 Ab…"), given all the button has but its frame. Dots alone are never shown: a slot too narrow for more shows its key, and a free key nothing. The size hint is still the whole label's, so with room to spare nothing changes. Closes #104 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KxLwQtp3yonrpxnzSFpc3w
…ssume a font CI failed on two tests written on a desktop with a 12 pt monospace font; CI has a smaller, proportional one. The bound on what a bar may ask of the window (75 average characters, #96) caught a real one there: the conflict bar's two notes, "Source ... Target ..." and "There is no trash here ...", were plain labels as wide as their text, and a narrow font makes the bound tighter than the buttons' padding allows for. Both notes give way now, and the answers of the conflict and the error bar are rows that wrap, as the panels' are. "Apply to all" follows the buttons instead of sitting at the far edge. The test of the function bar's cut labels (#104) set the window to 760 px, where CI's font lets the whole layer fit. It takes three quarters of what the layer's labels measure instead. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KxLwQtp3yonrpxnzSFpc3w
…is the panels' The commit before this made the answers of the conflict and error bars wrap. They sit in the job strip, which a vertical splitter sizes by hints alone: a wrapped row there is not given its height, and the bar's lines end up over one another. Wrapping the strip is its own piece of work (#109); the two rows are plain again. The bars' notes still give way. The bound of 75 average characters (#96) is asked of the panels that take a pane's place: pack, sync, multi-rename and properties. With a job running the window's minimum is the job row's, which CI's font and style put past the bound. FlowLayout honours its contents margins. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KxLwQtp3yonrpxnzSFpc3w
This was referenced Nov 26, 2026
Closed
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.
The tip of the stack, into main in one merge. It replaces #102, which ended two branches lower.
Merging this one closes the five issues from their commits. The PRs below it describe each change; they can be closed once this is in.
Checked on this tip: ctest (8 suites), the same under
-fsanitize=address,undefined,tools/smoke.sh, renders of the bar's four layers and of the sync and multi-rename panels at 760 px. The sixteen README shots were rendered and looked at two commits below.Not checked: a real download in ~/Downloads (the tests write a file by hand), a light theme, the tab soak and
tools/bench.sh.🤖 Generated with Claude Code