twitch-indicator icon indicating copy to clipboard operation
twitch-indicator copied to clipboard

Title shows on systray icon using Cinnamon

Open ColetteDiskette opened this issue 1 year ago • 3 comments

When I'm running Cinnamon on my Arch install, the systray icon also has the text "Twitch Indicator" alongside it. From what I've seen, only Cinnamon seems to do this, so at first I was thinking of considering it a Cinnamon issue, but then I realized it's also true that only Twitch Indicator does this to me in Cinnamon.

My best guess is that removing self.set_label("Twitch Indicator") at line 25 in indicator.py would fix it, but I have it installed via AUR and so I'm not even sure how to check that on my end or if that's even a good idea in general.

This occurs while running Cinnamon 6.2.7 on Arch Linux.

EDIT: Adding image of systray area of panel: systray-area

ColetteDiskette avatar Aug 13 '24 12:08 ColetteDiskette

This feature is part of the Desktop Environment you're using. 🤷

There may be an option in the Cinnamon status icon applet to disable the label. If not, consider reaching out to the Cinnamon project for help.

Alternatively, I'd accept a PR to make the label toggleable within twitch-indicator if necessary.

buzz avatar Aug 13 '24 19:08 buzz

I would gladly reach out to the Cinnamon project if I had more examples of the label being printed to the systray applet (which has no settings) but Discord, streamdeck_ui, OBS, and literally every other program I've used thus far don't show a label there. This puts me between a rock and a hard place.

ColetteDiskette avatar Aug 14 '24 02:08 ColetteDiskette

Well, looking at the docs for XApp.StatusIcon.set_label, it seems showing a label next to the icon is the intended behavior:

Sets a label, shown beside the icon

My guess is, most Desktop environments don't support this. So, maybe it's okay to just remove the call to set_label altogether as you suggested?

buzz avatar Aug 17 '24 20:08 buzz