Re: [Usability] SM UI plan

On 13Oct2001 11:10PM (-0400), Havoc Pennington wrote:
> Maciej Stachowiak <mjs noisehavoc org> writes: 
> > (Side note - is it really necessary for the logout dialog to grab the
> > server? What's so bad about letting users click on other apps while
> > it's up?)
> It makes sense to me that the logout dialog is globally modal. If
> you're logging out, why would you want to do anything else?

Maybe you remembered one last quick thing you have to do before you
log out. Happens to me all the time.

> I'm guessing the main reason gnome-session grabs the server is that
> its graphic effect (the darkening of the screen thing) would get all
> munged if any app redrew anything. Same reason window managers grab
> the server during XOR drawing.

I think you're right that this is the reason.

I always thought the darkening effect was pretty gratuitous though.
> Note that we would have to drop the grab during the actual session
> save after you've clicked a button in the logout dialog, because apps
> may be allowed to pop up dialogs before they signal the SM that they
> are done saving. I'm not sure whether gnome-session does this or not,
> it may instead do an InteractNone save, but that seems questionable
> if it does.

You definitely need the dialogs when not saving the session. When
saving the session, apps could just save the current document state
instead of the document; I'm not sure which is better; but if they
save the actual document they should certainly interact.

 - Maciej

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]