Skip to content

The job's row and the answers under it wrap - #111

Merged
crustovsky merged 3 commits into
funcbar-two-rowsfrom
strip-wraps
Nov 26, 2026
Merged

crustovsky merged 3 commits into
funcbar-two-rowsfrom
strip-wraps

Conversation

@crustovsky

Copy link
Copy Markdown
Owner

Closes #109. Stacked on #110.

The job's row is two cells that share a line where there is room and take two where there is not; the answers of the conflict and the error bar wrap the same way. With a job running and a conflict shown the window asks for no more than the panels do (75 average characters, #96).

What kept the first attempt from working:

  • The strip sits in a vertical splitter, which only reads size hints. The strip now reports the height its layout needs at the width it has.
  • A box layout caps a Fixed widget at its one-line hint. The job's row and the bars are Minimum instead.

test_window holds a copy at a conflict and checks what is on screen at both widths, with the job's panel open as well: nothing in the strip lies over anything else or outside it.

🤖 Generated with Claude Code

…its width needs

While a job ran, the window could not be narrower than the job's row:
title, progress bar, rate and time left and five buttons on one line,
about 640 px at a 12 pt font, and the conflict or error bar's row of
answers under it was another line that did not give way. In one column
of a scrolling layout the content was cut at the edge.

The row is two cells in a FlowLayout: what the job is and how far,
then the numbers and the buttons. They share a line where there is
room and take two where there is not. The answers of the conflict and
the error bar wrap the same way; "Apply to all" follows the buttons.

Two things kept the first attempt (7a5c703, taken back in afd4241)
from working, the bars' lines over one another:

- The strip sits in a vertical splitter, which reads size hints and
  never asks for a height for a width. The strip's hints now give the
  height its layout needs at the width it has, and it tells the
  splitter again when its width changes.
- A box layout caps a widget whose vertical policy is Fixed at its
  hint, which for a row that wraps is the height of one line. The
  job's row and the bars are Minimum instead.

The job's panel needed nothing: with it open the window asks for no
more than before.

test_window: the bound of 75 average characters (#96) is asked of
every panel and bar again, the conflict bar with its job running
among them. A new case holds a copy at a conflict and looks at what
is on screen: wide, the row is one line; in a window as narrow as it
may be the buttons are under the progress bar, the strip is higher,
and no button, label or bar in it lies over another or outside it,
with the job's panel open as well; wide again, the strip gives the
second line back.

Closes #109

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
crustovsky and others added 2 commits November 26, 2026 20:41
With the packaging container's small font the job's row fits one line
in the narrowest window the panes allow. That nothing overlaps is
asked at any font; that the buttons are under the bar, where the row
is wider than the line it has.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The first progress bar found under the strip is one of the job's
panel, hidden until Details is pressed; where the row wrapped, the
buttons were compared with a bar that is nowhere. Seen in the
packaging build (Fusion, no fonts installed), where the row needs its
second line and has it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@crustovsky
crustovsky merged commit e9b1da2 into funcbar-two-rows Nov 26, 2026
2 checks passed
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