Bug 394525

Summary: Proxy settings don't work in installer
Product: [openSUSE] openSUSE 11.0 Reporter: Oliver Diedrich <odi>
Component: InstallationAssignee: Stefan Hundhammer <shundhammer>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P5 - None CC: coolo, locilka, ma, odi, tgoettlicher
Version: Beta 3Flags: shundhammer: SHIP_STOPPER+
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Yast2 logs
In inst-sys
Running system: Qt
Running system: ncurses

Description Oliver Diedrich 2008-05-26 15:13:27 UTC
It's not possible to activate the proxy settings in the installer.
Comment 1 Cyril Hrubis 2008-05-26 16:40:40 UTC
Could you be more verbose?

Is there dialog to do so or it's not there?
Is this dialog working?

And please attach y2logs. If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 2 Oliver Diedrich 2008-05-27 09:09:59 UTC
Created attachment 218245 [details]
Yast2 logs
Comment 3 Oliver Diedrich 2008-05-27 09:11:22 UTC
On boot screen: Changed language to German, resolution to 1280x1024

Installation mode: new installation, add additional products, use automatic configuration

Network configuration:

- DHCP

- checking the box "use proxy" results in a hardly visible 'x' in the box, and it's not even possible to enter proxy settings. It seems like the complete proxy settings block is not active.

- switiching to a static IP address does not change behavior

- when the "use proxy" box is checked and I continue, there's an error message that the proxy server name or IP address must be set.

y2logs.tgz is attached

Comment 4 Lukas Ocilka 2008-05-29 11:02:09 UTC
There are two issues and both are Qt/Style related:

  * CheckBoxFrame is used, by default disabled, which contains
    those proxy settings. Enabling the proxy settings CheckBoxFrame
    should enable all inside - but this now only works in ncurses.

  * Style for CheckBoxFrame is a bit strange because it's almost
    impossible to find out whether it is selected or not (only
    in inst-sys).

Screen-shots will be attached...
Comment 5 Lukas Ocilka 2008-05-29 11:03:05 UTC
Created attachment 218845 [details]
In inst-sys
Comment 6 Lukas Ocilka 2008-05-29 11:03:22 UTC
Created attachment 218846 [details]
Running system: Qt
Comment 7 Lukas Ocilka 2008-05-29 11:03:45 UTC
Created attachment 218847 [details]
Running system: ncurses
Comment 8 Lukas Ocilka 2008-05-29 11:05:16 UTC
There is an easy way to test it on a running system:

  yast2 inst_network_setup

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!                                                                      !!!
!!! Please, do not click on [OK] to write the settings :), use [Cancel]  !!!
!!!                                                                      !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Comment 9 Stefan Hundhammer 2008-05-29 13:34:41 UTC
Right, that's a problem in the Qt version of the CheckBoxFrame widget. I can reproduce it with the CheckBoxFrame1.ycp UI example (with the initial value changed to 'false').
Comment 10 Stefan Hundhammer 2008-05-29 16:04:48 UTC
The underlying Qt base class of that widget tried to outsmart our widget, trying to enforce its own (much more limited) policies. Now reworked those internal widget states to make it behave as documented in the specs.

As a nice side effect, bug #379622 was also fixed on the way.

Tested with the UI CheckBoxFrame*.ycp examples and with yast2 inst_network_setup as written in comment #8.

Available with yast2-qt-2.16.53, post-RC1.