kotelnik / plasma-applet-active-window-control

Plasma 5 applet for controlling currently active window.
GNU General Public License v2.0
119 stars 18 forks source link

Feature request: show full title on hover #23

Open protist opened 7 years ago

protist commented 7 years ago

Hi, I don't have a lot of room for this plasmoid in my panel. Generally that is fine; I can get the gist of the window title from the plasmoid.

screenshot_at_20160914_16 32 49

However, in some cases, it's useful to know the full title of the window. For these rare cases, perhaps it would be possible to show the full title of the window when I hover over the plasmoid?

kotelnik commented 7 years ago

It's a good idea, I'll work on it, thanks!

kupiqu commented 7 years ago

I actually like this too, and it could be combined with issue #21 so, if enabled as an option, just the app appears in the applet and full title on hovering... does it sound appropriate?

protist commented 7 years ago

I personally would only ever want the window title displayed; I find the application icon sufficient to work out what application is running. However, as long as a fix to #21 is just an option, I'm not adverse to it.

kupiqu commented 7 years ago

I don't actually use the icons, nor in the windows neither in the applet, I prefer the name, that is why I ask for that option :)

kotelnik commented 7 years ago

Implemented (tooltip or text shrink) in latest commits. Please reopen when necessary.

protist commented 7 years ago

Works great! Thank you for the quick and effective fix. I also love the automatic text shrink option. It's a very elegant solution IMO.

kotelnik commented 7 years ago

Thanks, I'm glad You like it. :)

protist commented 7 years ago

Definitely! However, I have one minor quibble with the text shrink. Would it be possible for users to specify a minimum font size? In some cases, the text is way too small to be useful.

img tiny text

It looks like you've restricted it to two lines, which seems reasonable for a horizontal panel, at least. However, once the font size gets beyond threshold points, perhaps an ellipsis could be shown, as per the elide option. (Also, thank you for introducing me to a new word. :smiley: )

kotelnik commented 7 years ago

You're right, it needs to be tuned, thanks for feedback!