Repository navigation
0.9.6: in-place updates for files being written, long paths, wrapping panels, README keys - #102
Closed
crustovsky wants to merge 5 commits into
Closed
crustovsky wants to merge 5 commits into
crustovsky wants to merge 5 commits into
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
This was referenced Nov 26, 2026
Owner
Author
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 #100, which ended one branch lower.
Merging this one closes the three 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, and the sixteen README shots rendered and looked at, plus renders of the sync and multi-rename panels at 760 px.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