Skip to content

0.9.6: in-place updates for files being written, long paths, README keys - #100

Closed
crustovsky wants to merge 4 commits into
mainfrom
readme-keys
Closed

crustovsky wants to merge 4 commits into
mainfrom
readme-keys

Conversation

@crustovsky

Copy link
Copy Markdown
Owner

The tip of the stack, into main in one merge.

Issue PR What
#83 #97 A file being written updates its row; the folder is not listed again
#93 #98 A long path or name no longer widens the window
#99 README: one short table for the keys not on the bar; screenshots rendered again

Merging this one closes the two 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 (the sync, multi-rename and find shots compared side by side with those of v0.9.0: the same layout).

Not checked: a real download in ~/Downloads (the tests write a file by hand), a light theme, the tab soak and tools/bench.sh. Open and not in this: #96.

🤖 Generated with Claude Code

crustovsky and others added 4 commits November 26, 2026 11:58
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>
@crustovsky

Copy link
Copy Markdown
Owner Author

Replaced by #102, which ends one branch higher (the wrapping panels, #96).

@crustovsky crustovsky closed this Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant