[KWin Question] - KWin authorize external docks to manipulate tasks and windows

Martin Gräßlin mgraesslin at kde.org
Wed Dec 21 19:16:32 UTC 2016


send from wrong address...(or kmail is broken)

Am 2016-12-21 20:15, schrieb Martin Gräßlin:
> Hi,
> 
> currently every window gets access. This will change soon. The
> implementation for authorization is already on the whiteboard left to
> me :-)
> 
> Basically the required interface will be restricted. The
> identification will be based on process ids with a root (!) owned
> global configuration file.
> 
> At runtime any access without authorization will simply abort the
> application. It will raise a Wayland protocol error which will result
> in application termination.
> 
> There might be a protocol added to ask the user for authorization. But
> that will be runtime, that is every time the user restarts the
> application it will be asked again. But that's a secondary step. The
> first will be to just shut down any access to these privileged
> interface.
> 
> Most likely this will be introduced with Plasma 5.10 or 5.11.
> 
> Cheers
> Martin
> 
> Am 2016-12-21 18:47, schrieb Michail Vourlakos:
>> Hello everyone,
>> 
>> as it appears, in the following versions of Now Dock the dock will try
>> to live outside plasmashell as a standalone separate executable. It
>> will still use all plasma technologies from frameworks etc. but there
>> is an issue with that design decision change as the plasma developers
>> informed me.
>> 
>> In wayland world only the plasmashell executable gains access through
>> kwayland to manipulate tasks, get information about the windows and
>> even move its own window.
>> 
>> I would like to ask you what are the policies and guidelines in order
>> for another executable to gain such access. This is the case of course
>> for all docks living outside plasmashell.
>> 
>> thanks a lot for your time.
>> 
>> regards,
>> 
>> michail


More information about the Plasma-devel mailing list