D7323: Expose Cursor position to DeclarativeScripting

Martin Flöser noreply at phabricator.kde.org
Tue Aug 15 16:56:42 UTC 2017


graesslin requested changes to this revision.
graesslin added a comment.
This revision now requires changes to proceed.


  I'm very concerned about this from a security perspective. This would allow to globally get notifications about the cursor positions and thus destroy one of the design goals of Wayland. I'm not against it in general, but I think we need to come up with a good solution to address the security implication.
  
  Why do you want to do things like MouseMark, Trackmouse with a declarative KWin script? This would be very bad from performance consideration. If you want to do these effects in a scripted approach we need to extend the scripting API.

INLINE COMMENTS

> cursortest.qml:9
> +            workspace.slotToggleShowDesktop();
> +            console.log("DAVE DAVE DAVE");
> +        }

?

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D7323

To: davidedmundson, #plasma, graesslin
Cc: graesslin, anthonyfieroni, plasma-devel, kwin, #kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170815/351b22f3/attachment.html>


More information about the Plasma-devel mailing list