Bug#783964: Info received (gnome-screenshot: Spurious triggers of activity menu while validating screenshot region)

Ludovic Pouzenc ludovic at pouzenc.fr
Fri May 1 19:52:50 UTC 2015


Hi again and again,

I went wrong, it seems the offending code is now in JavaScript in 
gnome-shell (may in js/ui/screenshot.js).
It's purely unreadable and uncommented. Worst, I have no clue to dump 
out values in code like :

>     _onMotionEvent: function(actor, event) {
>         if (this._startX == -1 || this._startY == -1)
>             return Clutter.EVENT_PROPAGATE;
>
>         [this._lastX, this._lastY] = event.get_coords();
>         let geometry = this._getGeometry();
>
>         this._rubberband.set_position(geometry.x, geometry.y);
>         this._rubberband.set_size(geometry.width, geometry.height);
>
>         return Clutter.EVENT_PROPAGATE;
>     },

I could try to keep calm and trace this if you have any pointers for me 
about overring things in gnome-shell :)

Ludovic



More information about the pkg-gnome-maintainers mailing list