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

[miniature pannel] Change on click #3

Closed
ochurlaud opened this issue Jul 27, 2015 · 7 comments
Closed

[miniature pannel] Change on click #3

ochurlaud opened this issue Jul 27, 2015 · 7 comments

Comments

@ochurlaud
Copy link

Currently, in the miniature pannel, clicking opens a popup where there is just one icon... It would be better, not to popup anything.

When you click, it change the status.

@kotelnik
Copy link
Owner

That was my first intention but I just couldn't come up with a way to do it. It seems onClicked action is overridden by the system-tray in Plasma 5. But I'll try to figure it out... For now left click works only when you put this plasmoid to panel (outside system-tray).

@ochurlaud
Copy link
Author

See here: https://github.com/simgunz/redshift-plasmoid/blob/plasma5-porting/src/applet/package/contents/ui/

I began to do a porting but didn't go far.... My compactRepresentation was a mouseArea....

@kotelnik
Copy link
Owner

Thanks. I tried to do it as the MouseArea (and various other ways) but my clicked-event was still stolen by the system tray... So for now I'm stuck on this. If you by any chance will have an idea/solution please let me know :)

@kotelnik
Copy link
Owner

I've also asked in KDE forums (https://forum.kde.org/viewtopic.php?f=64&t=127451) about the left click in systray but no answer so far...

@ochurlaud
Copy link
Author

The Middleclick si good enough IMO.

@kotelnik
Copy link
Owner

System tray in Plasma got rewritten (by Marco Martin I believe) so that left-click is handled by plasmoids themselves. As soon as this version of Plasma is released I'll make use of that.

@kotelnik
Copy link
Owner

kotelnik commented Feb 9, 2017

In the latest commits redshift plasmoid is left-clickable in tray. Please reopen this issue if it misbehave :).

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

No branches or pull requests

2 participants