Bug 385563

Summary: GNOME: After supplying root password and clicking next, the installer hangs
Product: [openSUSE] openSUSE 11.0 Reporter: Magnus Boman <captain.magnus>
Component: GNOMEAssignee: Forgotten User h13THG8RK1 <forgotten_h13THG8RK1>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: federico, forgotten_h13THG8RK1, locilka, mmeeks, vuntz
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast logs
test ycp
better test - simple nested dialogs.

Description Magnus Boman 2008-05-01 12:21:43 UTC
Created attachment 211726 [details]
yast logs

Asked to supply root password even though it was checked to be the same as the user in first stage.
after entering the password and clicking next, the install is hung.

attaching y2logs
Comment 1 Magnus Boman 2008-05-01 13:11:42 UTC
Happens in VirtualBox as well... Changing summary as the installer keeps hanging after entering a root password and clicking next
Comment 2 Stephan Kulow 2008-05-01 17:52:20 UTC
actually I could continue with pressing enter again and again, the flickerin is weird though.
Comment 3 Stephan Kulow 2008-05-01 18:01:00 UTC
from the log file it's already in hardware config - I think this is a very general bug in the work flow
Comment 4 Magnus Boman 2008-05-01 22:27:55 UTC
1. After restarting the machine when this happen, it comes up with basically an empty frame. Pressing enter made it continue.

2. After entering the root password, I had to press enter twice for it to continue.

So looks likes there's a dialog box that doesn't visible show, but is still there somehow. I entered novell as a password and that normally generates two dialog boxes that needs to be confirmed.
Comment 5 Magnus Boman 2008-05-01 22:31:10 UTC
Yes, definitely the dialog box. I continued and came to the Network configuration. I clicked to disale IPv6. The screen flickered and then nothing worked again. At this stage, one can press Enter (blindly) to ack the dialog box or actually switch to the dialog box with Alt+Tab, which is in full screen.
Comment 6 Magnus Boman 2008-05-05 10:49:16 UTC
*** Bug 386639 has been marked as a duplicate of this bug. ***
Comment 7 Jiri Srain 2008-05-06 15:54:22 UTC
Magnus, looking at the log, you are running the GTK UI. Is this missbehavior reproducible with Qt?
Comment 8 Magnus Boman 2008-05-06 22:00:07 UTC
Yes, using the GTK UI.
Qt does not have this problem.
Comment 9 Magnus Boman 2008-05-06 22:00:30 UTC
.
Comment 10 Magnus Boman 2008-05-07 06:59:32 UTC
FYI; Happens while installing from the DVD as well
Comment 11 Stephan Kulow 2008-05-07 14:35:47 UTC
ok, thanks for checking. So it's indeed a popup handling bug in yast2-gtk
Comment 12 Michael Meeks 2008-05-07 15:06:49 UTC
pressing escape repeatedly worked for me; I -imagine- it's related to the cut-down window manager (or no window manager) in the installation process, and (perhaps) also window transience, layering or some combination of these.
I guess if we can reproduce that setup somehow, it should be easy enough to fix.
Comment 13 Magnus Boman 2008-05-07 15:29:36 UTC
*** Bug 387501 has been marked as a duplicate of this bug. ***
Comment 14 Vincent Untz 2008-05-07 16:16:30 UTC
So, I can reproduce this easily in virtualbox and I'm playing with the bug.

If I run 'y2base installation ("continue") gtk --noborder --auto-fonts --fullscreen' in a X I manually started with icewm, I can reproduce. However, if I remove the --fullscreen, it works, and the modal window has a border.

So, for me, the bug is that --fullscreen makes popup windows fullscreen. I'm not sure that's what is wanted.

I can test a few things if people want.

(fwiw, icewm is running when booting and finishing the installation)
Comment 15 Michael Meeks 2008-05-07 16:32:57 UTC
yep - am looking into it & trying to shrink it to a test-case :-)
Comment 16 Michael Meeks 2008-05-07 16:56:31 UTC
Created attachment 213244 [details]
test ycp

the attached test provokes the problem, apparently Popup::YesNoHeadline is nearer the evil.
This also requires no risky installation wizard running; simply log in with a failsafe terminal session;
launch:
  icewm -c preferences.yast2 -t yast2
and run:
  /usr/lib/YaST2/bin/y2base PopupStressTest.ycp gtk --noborder --auto-fonts --fullscreen
Comment 17 Michael Meeks 2008-05-07 17:06:38 UTC
Created attachment 213247 [details]
better test - simple nested dialogs.
Comment 18 Michael Meeks 2008-05-07 17:15:48 UTC
committed the fix to SVN; turns out it's an icewm oddness for 'fullscreen' windows, and we're tagging our popups as 'full-screen' in error in this mode.

~few lines of fix - it would be really nice to get this into autobuild soon :-)