Skip to content

qt: Expand sync progress bar in status bar#288

Open
SpectrGen1 wants to merge 1 commit intobitcoinknots:29.x-knotsfrom
SpectrGen1:issue-177-better-progress-bar
Open

qt: Expand sync progress bar in status bar#288
SpectrGen1 wants to merge 1 commit intobitcoinknots:29.x-knotsfrom
SpectrGen1:issue-177-better-progress-bar

Conversation

@SpectrGen1
Copy link
Copy Markdown

Fixes #177.

Keep the existing single-row status bar layout and make the sync progress bar expand across the available space, so it reads like a normal left-to-right progress bar.

Root cause:

  • The sync progress bar was added to the status bar without stretch, so it remained near its minimum width.
  • This made the fill appear visually truncated, as if progress only moved from the far left toward the middle.

Change:

  • Keep the existing single-row status bar layout.
  • Give the sync progress bar an expanding size policy.
  • Add the progress bar to the status bar with stretch so it occupies the available space up to the permanent right-side widgets.

This keeps the patch tightly scoped and avoids the previously discussed two-row redesign.

Manual testing:

  • Ran bitcoin-qt in syncing state with a fresh signet data dir.
  • Verified the progress bar spans the available single-row sync area left-to-right.
  • Verified the normal non-sync state still hides the progress bar cleanly.
  • Verified resize behavior remains sane as the main window grows and shrinks.
  • Verified status text/icons still display sensibly.
  • Spot-checked Windows styling via QT_STYLE_OVERRIDE=windows.

Visuals:

  • Before/after screenshot:
combined_vertical

Give the sync progress bar an expanding size policy and add it to
the status bar with stretch so it occupies the available horizontal
space in the existing single-row layout.

This fixes the visual truncation reported in bitcoinknots#177, where the bar
appeared to fill only from the far left toward the middle.
@luke-jr luke-jr added this to the 29.3 (2nd) milestone Apr 3, 2026
luke-jr pushed a commit that referenced this pull request Apr 13, 2026
Give the sync progress bar an expanding size policy and add it to
the status bar with stretch so it occupies the available horizontal
space in the existing single-row layout.

This fixes the visual truncation reported in #177, where the bar
appeared to fill only from the far left toward the middle.

Github-Pull: #288
Rebased-From: 45e89ee
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.

Better progress bar (small gui feature)

3 participants