Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to show the current progress in the window titlebar #159

Open
sergio-costas opened this issue Jun 21, 2023 · 1 comment
Open

Allow to show the current progress in the window titlebar #159

sergio-costas opened this issue Jun 21, 2023 · 1 comment

Comments

@sergio-costas
Copy link
Contributor

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: canonical/snapcraft#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
@sergio-costas
Copy link
Contributor Author

@tigarmo I made a proposal implementation in #160

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

No branches or pull requests

1 participant