dmikushin / tray

Cross-platform, super tiny C99 implementation of a system tray icon with a popup menu.
MIT License
87 stars 16 forks source link

Left mouse button support on kde #16

Closed jinzhongjia closed 2 months ago

jinzhongjia commented 10 months ago

May I ask, can this library support this function? I checked several libraries, and none of them did not realize the support of the left mouse button.

dmikushin commented 2 months ago

Hi @jinzhongjia , I assume you have tested tray for KDE? If you did, kindly please share an answer to your own question. Also, if possible, please kindly contribute a screenshot of KDE similar to the other screenshots that we have! :pray:

jinzhongjia commented 2 months ago

Well, I've switched back to windows now, so I can't provide screenshots of kde now.

dmikushin commented 2 months ago

OK, just in case you return to KDE anytime later, please keep this request in mind.

dmikushin commented 2 months ago

I don't use KDE myself, but others do, so sharing your experience is very valuable!

jinzhongjia commented 2 months ago

Great, now left-click support is complete

jinzhongjia commented 2 months ago

image

jinzhongjia commented 2 months ago

I believe this screenshot is enough

jinzhongjia commented 2 months ago

But the quit in the example seems to be set to checkbox, but this is a minor problem.

dmikushin commented 2 months ago

Hi @jinzhongjia , thank you very much for your contribution, I've pushed your screenshot here: https://github.com/dmikushin/tray/commit/9db55bd7a8130b931025b8485c7887e1a989dd56

jinzhongjia commented 2 months ago

But the quit in the example seems to be set to checkbox, but this is a minor problem.

Oh, this seems to be a bug, all text is rendered as a checkbox, under kde

dmikushin commented 2 months ago

Yes, this is not what we intend.