Logout window duplication

Bug #28055 reported by Wouter Stomp
26
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)
Fix Released
Medium
Sebastien Bacher

Bug Description

When you click system -> logout twice, you get some very buggy behaviour.
Pressing cancel will give another logout window. Pressing the close (x) button
will give two logout windows and sometimes I even got gnome to crash.

(up-to-date dapper)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. Ccing Manu who worked on that patch

Revision history for this message
Manu Cornet (lmanul) wrote :

Created an attachment (id=5593)
Bug fix

Here's a patch :) This also fixes a small design issue (buttons now have the
same width).

I can easily test the dialog's appearance on my system, but it's really tricky
to test the overall behavior (copying binary files into my /usr/bin doesn't let
me open a session, and same with ./configure --prefix=/usr). Anyway, I can't
test that this bug has been solved, but it really should :)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your patch. What is the issue with copying the binary? We already
talked about that, a "sudo cp -f ... ..." works fine, no?

Revision history for this message
Manu Cornet (lmanul) wrote :

> Thanks for your patch. What is the issue with copying the binary? We already
> talked about that, a "sudo cp -f ... ..." works fine, no?

Yes, it did until today, but now copying the binary (or even all the
gnome-sesssion* binaries) into my /usr/bin just doesn't work : when I log out
and log in again, I get the splash image (no icons appearing at the bottom) and
no desktop (I can't even right-click to create a launcher or something), so I
just Ctrl-Alt-Backspace and apt-get --reinstall install gnome-session (and it
works again).

That's why I could test this thouroughly, I am sorry. But I am quite confident
that it will solve the problem :) Is that "blind-bug-fixing" ? Hope it works...

Revision history for this message
Sebastien Bacher (seb128) wrote :

Manu, thanks for the patch ... but it has some issue. If you click on cancel then try to open the dialog again the applet does nothing...

Revision history for this message
Manu Cornet (lmanul) wrote :

Oops, sorry about that. Ok, nevermind that patch, I'll work on this issue and include the solution inside a bigger patch for the dialog layout (with fading, etc.).

Manu Cornet (lmanul)
Changed in gnome-session:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.