<br><br><div class="gmail_quote">On Wed, Apr 6, 2011 at 11:57 AM, Michal Suchanek <span dir="ltr"><<a href="mailto:hramrach@centrum.cz">hramrach@centrum.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 6 April 2011 18:34, Jerome Glisse <<a href="mailto:j.glisse@gmail.com">j.glisse@gmail.com</a>> wrote:<br>
> 2011/4/6 Michal Suchanek <<a href="mailto:hramrach@centrum.cz">hramrach@centrum.cz</a>>:<br>
>> 2011/4/5 Kristian Høgsberg <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>>:<br>
>>> On Tue, Apr 5, 2011 at 5:59 AM, Michal Suchanek <<a href="mailto:hramrach@centrum.cz">hramrach@centrum.cz</a>> wrote:<br>
>>>> Hello,<br>
>>>><br>
>>>> what is the plan for screensave/screenlocker support in wayland?<br>
>>>><br>
>>>> The support in X is a fail in several ways.<br>
>>><br>
>>> It sure is. The plan for Wayland is that the lock screen is just part<br>
>>> of the compositor. There are no problems with detecting idle or other<br>
>>> applications having grabs this way, and the compositor completely<br>
>>> controls what goes on the screen so you don't have other applications<br>
>>> raising their window over the screensaver. There doesn't even have to<br>
>>> be a screensaver window, the compositor can just paint a black screen.<br>
>>><br>
>>> It is of course possible to define a plugin or an out-of-process (fork<br>
>>> a special Wayland client and give it a special surface to render to,<br>
>>> similar to your second option below) mechanism for rendering fun<br>
>>> screensavers.<br>
>>><br>
>><br>
>> IMHO having anything that requires somewhat uncommon functionality as<br>
>> part of the compositor is lame. The same if a new plugin is required<br>
>> for any new function somebody comes up with.<br>
>><br>
>> Eventually there should be multiple compositors to choose from and<br>
>> they should *not* each include everything and the kitchen sink.<br>
>><br>
>> Thanks<br>
>><br>
>> Michal<br>
><br>
> I don't think it's lame, a good compositor with good theming<br>
> capabilities and you will only need one. Moreover you can add very<br>
<br>
</div></div>Seriously, it's not just look what makes the difference between a good<br>
window manager and a bad one.<br>
<br>
Maybe with wayland there is need only for one but I doubt that, there<br>
is no one-size-fits-all application of any kind I know of.<br>
<br>
Yet if you insist on the compositor doing anything that a "normal"<br>
application is not allowed to do instead of a modular system that<br>
allows authorizing applications to do something you effectively make<br>
developing a new compositor very hard, and switching between different<br>
compositors as well.<br>
<div class="im"><br>
> usefull feature in the compositor regarding locked screen, for<br>
> instance you can force the compositor to always composite a small<br>
> picture (some kind of icon) on top of fullscreen app so no app can<br>
> malisiously present itself as being a screensaver and spy on user<br>
> password. Only the compositor would paint without the icon. This is<br>
> just one example.<br>
<br>
</div>Sure. Or you could grant your movie player the privilege to paint<br>
without an icon as your screensaver does when you are bothered by it.<br>
But that requires putting the movie player into the compositor, eh?<br>
<div class="im"><br>
><br>
> I think wayland design is to avoid redoing X and trying to add new<br>
> protocol for screensaver or whatever new application one might come up<br>
> with, is to be avoided. Of course that means that piece like the<br>
> compositor will have to include bunch of code that were previously<br>
> "standalone".<br>
<br>
</div>Oh, so also VNC client and server must be in the compositor (to spy on<br>
and inject events), and so must be x2x (or w2w), any application that<br>
needs to manipulate clipboard in unusual ways (such as providing<br>
format conversion), and the hotkeys application that launches your<br>
media player when you press |> on the keyboard. And rdesktop that<br>
requires raw keycodes.<br>
<br>
And a bunch I missed, I am sure.<br>
<br>
It's not like it should be a separate scrensaver protocol. It should<br>
be a protocol that any application can use to do its thing.<br>
<br>
Thanks<br>
<font color="#888888"><br>
Michal<br></font></blockquote><div>my understanding is that wayland is suppost to be a simple protocol, not the end all be all hub of the desktop, attributes could be nice but I think the overall result is that things like screen locking should be left up to the implimentation. wayland needs to be a base for putting stuff on the screen and giving input. screensavers could be setup to work <font class="Apple-style-span" color="#4D4E51" face="verdana"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px;">different viewports or a second protocol could be used to operate the many features of the desktop</span></font></div>
<div><font class="Apple-style-span" color="#4D4E51" face="verdana"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px;">the server could keep a whitelist of programs that inhibit the screen while running so that a malicious program doesn't leave the screen unlocked for intruders or scrape your password. There are some situations that these programs/features don't make sense .</span></font></div>
<div><font class="Apple-style-span" color="#4D4E51" face="verdana"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px;">so that </span></font></div></div>