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

[Feature request] Add tooltip on window title in top bar, when titile is long #178

Closed
eugene-rom opened this issue May 4, 2020 · 3 comments

Comments

@eugene-rom
Copy link

If long title does not fit, show tooltip with full title text.

screenshot

@HubKing
Copy link

HubKing commented May 19, 2020

Haha. I just came here to suggest almost the same thing.

Since the monitor is wide, the long title bar area seems to be wasted. So, I integrated the "favourites applications" into the top bar. Most of the time, it is fine, but the problem is that some applications could have a REALLY long title. For example, FireFox shows the page's title on the title bar, and YouTube shows the video's title on the page title. So, a YouTube video with a long title can cause this.

Of course, I could disable the title feature and make it show only the application name (e.g., just "FireFox"), but then the top bar space is wasted, and I cannot read the title text of the application.

How about having a "Maximum title bar length" option? Like a 50 characters or something. Then, if the title is longer than that, it could cut it, with a predefined trim option like "Cut last, Cut middle, or Cut start".

  • Original: This is a stupid YouTube video. Do not watch - YouTube - Mozilla FireFox
  • Cut last: This is a stupid YouTube video. Do not watch - YouTu...
  • Cut middle: This is a stupid YouTube .... YouTube - Mozilla FireFox
  • Cut start: ....video. Do not watch - YouTube - Mozilla FireFox

Showing the full title when the mouse pointer is hovering over it and the title has been cut would be a nice feature to have, but I do not think it is that essential, I think. I do not need to see the full title that often, and if I do, I could just restore the window to see the title.

@eugene-rom
Copy link
Author

"No Title Bar" extension show tooltip on hover, maybe adapt this code? - https://github.com/poehlerj/no-title-bar/blob/master/app_menu.js#L150

@jonian
Copy link
Member

jonian commented Feb 4, 2021

This is fixed in #222. To enable the tooltip, you should set a value greater then 0 in Appearance > Max width for the app menu.

@jonian jonian closed this as completed Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants