Closed ghost closed 10 years ago
Yeah, I'm aware of the bug, but I haven't got around to fixing it yet. It has to do with the way that Cinnamon handles focusing and HID inputs.
My sticky note applet is handled differently and I don't have those problems. At some point I'll probably be switching my desklets such as soundbox over to that method as well. Also, I have implemented it in such a way that you can drag and drop, even when in raised mode, though I'm not sure this will be as simple for a desklet. If you want to see what I did there:
https://github.com/collinss/Cinnamon-Sticky-Notes.git
Please note that my code is a bit of a mess, and not everything works perfectly yet, but the drag and drop part is working fine, even after leaving raised mode.
ok, i really don't know what i do, but i using
on rise:
_untrackMouse();
and on lower:
_trackMouse();
and all appear work better (only better) you can test this on: https://github.com/lestcape/Sticky-Notes.
I really don't understand your applet stiky... "new" have not effect... I can not see any note, so it impossible see if the new way works it's ok...
The only think that i see it's your plan, and i like this, i tell you here: https://github.com/linuxmint/Cinnamon/issues/2607 "Then I would say it would be good if the sound applet can understand your desklet and spend on player control as the user want."
Your idea it's to much better, controling with the applet the "desklet", if i can call "desklet", because really you need to redefine all the desklet behaviors (more less)...
Can also do more lees the same if you remove the boxpointer and controling the x-offset and y-offset of the popup menu, allowing drag and drop... But it's only if you need one panel on the desktop...
I'm not sure why the sticky note applet isn't working for you. I just uploaded a new version to github, so that may fix it. If not, check the logs and see if there are any errors when you try to add a new note. Also you could check that the theme is set to 'yellow' in the settings. That is the only one I have defined in the stylesheet currently, so everything else would be invisible.
Can happend that drag and drop can create a problem? When you out of RaisedBox you can not drag and drop de desklet. In fact it's fully inactive... I also do more less the same with sticky notes and the same happend to me... Exist any way to break the drag and drop proccess while desklet it's on RaisedBox?
Can be my graphics drivers?