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

Custom tooltip/OnMouseOver ineffective in system tray popup window (Show when relevant) #16

Open
Sadi58 opened this issue Jan 30, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@Sadi58
Copy link
Contributor

Sadi58 commented Jan 30, 2023

I've just noticed this, although it's not a big problem.
I don't know if this is a result of how KDE Plasma panel/system tray behaves, of if this can be fixed in the plasmoid code.

@tubbadu
Copy link
Owner

tubbadu commented Jan 30, 2023

wheel up and down are correctly recognized in my system, on mouse over instead does not work but I think I can fix or at least workaround this
the tooltip is instead the description field in the metadata.desktop file, so it will be harder to fix, but there's surely a way (night color widget for example has a custom tooltip, I'll try to understand how does it work)

thanks for the report!

@tubbadu tubbadu added the bug Something isn't working label Jan 30, 2023
@Sadi58
Copy link
Contributor Author

Sadi58 commented Jan 30, 2023

It surely doesn't work here when the widget is not displayed in system tray, but only in system tray popup window.
They all work normally when the widget is displayed in system tray otherwise.

@Sadi58
Copy link
Contributor Author

Sadi58 commented Oct 28, 2023

Wheel up and down scripts now work in my Debian Testing system, too.
So there's now only this minuscule problem of showing the description in the .desktop file instead of custom tooltip when the widget is passive, i.e. in systray popup window.

@Sadi58 Sadi58 changed the title Custom tooltip/OnMouseOver/WheelDown/Up ineffective in system tray popup window (Show when relevant) Custom tooltip/OnMouseOver ineffective in system tray popup window (Show when relevant) Jan 24, 2024
@Sadi58
Copy link
Contributor Author

Sadi58 commented Jan 24, 2024

I think now perhaps plasmoids are expected to behave this way (at least when they are in passive state) on MouseOver: A popup notification is displayed with the "Name" entry in "metadata.desktop" file as title, and "Comment" as text...

@tubbadu
Copy link
Owner

tubbadu commented Jan 26, 2024

sadly yes, I'm not aware of any way to change it except for actually modifying the desktop file. It would be cool to implement a way to add custom .desktop files with custom name and comment, all pointing to the same scriptinator installation, all automatically handled by the configuration GUI (so no need to modify the .desktop file manually). I don't know when I'll have time to do this, but It would be useful for sure

EDIT: perhaps with Plasma 6 things will change, who knows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants