Skip to content

Feature request: option to remove profile icon completely #17943

Closed

Description

Description of the new feature/enhancement

Provide an option in settings.json to remove the icon for a profile completely, and reclaim the space in the tab bar to display (more of) the profile's name/tab title.

Use case: I routinely work with a large number of open tabs, in which case the profile icon takes up between 1/3 to 1/2 of the available tab width, meaning only the first 3-4 characters of the window title are shown. This is insufficient for me to quickly identify and switch between open tabs.

While I do appreciate the cute row of Tux-en at top of my screen :) (most of my tabs are ssh sessions to remote Linux machines), I'd rather have the real-estate used more productively.

Tried the following to achieve this in 1.21, without success:

  • Setting "icon": "" in the profile definition -> causes WT to throw an error about invalid icon path
  • Setting "icon": null in the profile definition -> does nothing; the inbuilt default icon for the profile will still be used
  • Setting the icon path to a 1x1 pixel transparent .png (thought I was being clever here) -> does achieve "blanking out" the profile icon (the default icon will no longer be shown), but does not move the profile title any further to the left in the tab.

Proposed technical implementation details (optional)

  • Allow some variant of "icon": "none", "icon": "" or similar to be set in the profile definition
  • When configured, the icon should be removed from the tab completely, and the tab title shifted as far left as possible.

Activity

  1. added
    Issue-Feature
    on Sep 21, 2024
  2. added
    Needs-Tag-Fix
    Needs-Triage
    on Sep 21, 2024
  3. added
    Issue-Bug
    Area-Settings
    Product-Terminal
    and removed
    Issue-Feature
    Needs-Triage
    Needs-Tag-Fix
    on Oct 2, 2024
  4. DHowett commented on Oct 2, 2024

    @DHowett
    Member

    Huh. 4ff38c2 should have introduced support for "icon": "none".

    We've marked this up as a bug. Thanks!

  5. LouizaMak commented on Oct 10, 2024

    @LouizaMak

    Carlos Zamora (@carlos-zamora) I would be interested in working on this!

  6. carlos-zamora commented on Oct 10, 2024

    @carlos-zamora

    I would be interested in working on this!

    Thanks for you interest Louiza Mak (@LouizaMak)! I'm already working in this space though with #17965 (and I plan on fixing it as a part of that PR). I suggest working on a different issue. Issues tagged as "Help-Wanted" (see this query) would be a good place to start 😊

    Also, we're happy to take PRs, so no need to comment on the issue you're interested in. Just get coding and open a PR on our repo. Excited to see it come in!

  7. added
    In-PR
    on Oct 10, 2024
  8. added a commit that references this issue on Oct 11, 2024
    36f064c
  9. added 2 commits that reference this issue on Oct 17, 2024
    90a9d15
    8fa98f6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area-SettingsIn-PRIssue-BugNeeds-Tag-FixProduct-Terminal

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions