Code Monkey home page Code Monkey logo

Comments (7)

kotelnik avatar kotelnik commented on July 16, 2024

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).

from plasma-applet-redshift-control.

ochurlaud avatar ochurlaud commented on July 16, 2024

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....

from plasma-applet-redshift-control.

kotelnik avatar kotelnik commented on July 16, 2024

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 :)

from plasma-applet-redshift-control.

kotelnik avatar kotelnik commented on July 16, 2024

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...

from plasma-applet-redshift-control.

ochurlaud avatar ochurlaud commented on July 16, 2024

The Middleclick si good enough IMO.

from plasma-applet-redshift-control.

kotelnik avatar kotelnik commented on July 16, 2024

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.

from plasma-applet-redshift-control.

kotelnik avatar kotelnik commented on July 16, 2024

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

from plasma-applet-redshift-control.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.