linuxmint / cinnamon-spices-applets

Applets for the Cinnamon desktop
http://cinnamon-spices.linuxmint.com
592 stars 505 forks source link

sticky@scollins: Notes do not reply to Alt-click move/resize commands #2063

Open jonathanwin opened 5 years ago

jonathanwin commented 5 years ago
 * Applet version/Build date: v1.2
 * Cinnamon version : 3.2.7 
 * Distribution : debian stretch
 * Graphics hardware :
    * VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    * i915, xserver-xorg-video-intel 2:2.99.917+git20161206-1; libdrm-intel1 2.4.74-1
    * VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1100M] (rev a1)
    * nouveau , xserver-xorg-video-nouveau 1:1.0.13-3; libdrm-nouveau2 2.4.74-1

Issue Hi @collinss, first of all, Thanks for developing this applet! :) Now on to the problem : On my system (and cinnamon at large AFAIK), Alt+Left-click triggers a window move, regardless of the mouse position in the window, and Alt+Right-click triggers a resize from the closest edge/corner, but this doesn't work with notes.

Steps to reproduce Perform an Alt+click action on a note.

Result The note seems to receive the Left-click or Right-click. I suspect that the window manager should handle the event normally (I doubt that applications are expected to implement this functionality themselves)

Nothing seems to happen in ~/.cinnamon/glass.log or ~/.xsession-errors other than the following: (cinnamon:2453): Clutter-WARNING **: Attempting to remove actor of type 'StEntry' from group of class 'StBin', but the container is not the actor's parent., which happens with all clicks on the notes' outline/title.

collinss commented 5 years ago

The problem here is that the sticky notes aren't part of their own window, and so this would need to be implemented separately in the sticky notes applet.