← Back to issue list

Allow to show the current progress in the window titlebar

View original Github issue

Metadata

Project
craft-cli
Number
#159
Type
issue
State
open
Author
sergio-costas
Labels
—
Created
Updated
Closed
—

Current evaluation

Feature request to add a bool param to Emitter.progress() that also sets the progress text as the terminal window title via ANSI OSC codes; proposed implementation PR #160 is open but stalled for ~3 years.

Suggested action: keep open

Reason: Verified the feature is still absent: Emitter.progress() in craft_cli/messages.py is still `def progress(self, text: str, permanent: bool = False)` with no titlebar option, and a repo-wide grep for 'titlebar'/OSC sequences returns no matches, so nothing has been implemented. The request is a valid, clearly-scoped UX enhancement with a concrete API proposal (boolean kwarg on `progress`) and even a candidate name list, plus a proposed implementation in the author's own PR canonical/craft-cli#160, which remains open with unresolved reviewer concerns (Konsole compatibility, title persistence). Caveat driving lower confidence: the issue carries no labels, no assignee, and no maintainer reply — the only comment is the author tagging @tigarmo in 2023 — so it has never actually been triaged and needs a maintainer decision on the design (parameter naming, terminal-support matrix, restoring the original title on exit).

Evaluated by: mr-cal-bot

Impact: 32 Quick Win: 13 Complexity: 45 Confidence: 76 Actionability: 76

Issue body

When building a snap with several parts using -v, it's usually not possible to know which part is being built due to the long text output. An idea (with a much-to-be-desired proposal here: https://github.com/snapcore/snapcraft/pull/4217 ) would be to allow to show the progress text in the window titlebar, by using the ANSI codes for that. A proposal would be to add a new boolean named parameter to the `progress` method, that, when set to True, will not only show the string in the screen, but also set it as the window title. These are some ideas for that named parameter: - update_titlebar - set_titlebar - set_on_titlebar - titlebar - on_titlebar - copy_on_titlebar - dup_on_titlebar

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 32
Quick Win: 13
Complexity: 45
Confidence: 76
Actionability: 76
keep open Feature request to add a bool param to Emitter.progress() that also sets the progress text as the terminal window title via ANSI OSC codes; proposed implementation PR #160 is open but stalled for ~3 years.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 13
Complexity: 30
Confidence: 60
Actionability: 60
keep open Feature request to display progress text in terminal window titlebar using ANSI codes. Associated PR #160 exists but is stalled with unresolved reviewer concerns.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 14
Staleness: 85
Complexity: 30
Confidence: 75
Support Request: 0
close stale Feature request to add a titlebar parameter to the progress method so build progress is shown in the window titlebar via ANSI codes. No maintainer response, no labels, and the feature was never implemented in the codebase.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
close stale Feature request to display build progress in the terminal titlebar using ANSI codes. Untriaged and inactive for over three years with no maintainer response or implementation progress.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 75
Support Request: 0
close stale Feature request to display build progress in the window titlebar using ANSI codes. Proposed implementation linked in a PR. No maintainer response or labels after over three years of inactivity.

Update history

No update history recorded yet.

Related work

  • Blocked By: canonical/craft-cli#160 (confidence 88%)

    Author's proposal implementation 'messages: allow to set the terminal window title' — still open and inactive, so the issue is effectively stalled behind it.

  • Related To: snapcore/snapcraft#4217 (confidence 45%)

    Cross-referenced in the issue body as the earlier, admittedly much-to-be-desired upstream proposal for the same titlebar feature.

Related issues

No related issues found above the similarity threshold.