Bug 389739

Summary: Build 110: Pattern descriptions not shown
Product: [openSUSE] openSUSE 11.0 Reporter: Stanislav Visnovsky <visnov>
Component: InstallationAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: asklein, coolo, deanjo, dmacvicar, forgotten_XG9X5w8kVa, roger.whittaker, terjejhanssen
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot
First install beta3
First install detailed installer beta3 (patterns view)
First install detailed installer (packages view)

Description Stanislav Visnovsky 2008-05-13 10:58:43 UTC
I've tested the pre-Beta3 and the pattern descriptions are not shown in the pattern selector. See the attached screenshot.
Comment 1 Stanislav Visnovsky 2008-05-13 10:59:31 UTC
Created attachment 214701 [details]
screenshot
Comment 2 Stephan Kulow 2008-05-13 19:18:12 UTC
I bet they are there white-on-white.

Duncan, how can I call this dialog from wizard in a running system?
Comment 3 Andreas Klein 2008-05-15 14:55:53 UTC
(In reply to comment #2 from Stephan Kulow)
> I bet they are there white-on-white.

I don't think so. At least in the installed system they are not shown. If you resize the window, so that not all Patterns would fit into the window a scrollbar would show up even if they are white-on-white, but there is no scrollbar.
The scrollbar is generated in te Package Groups view, but not in the Pattern view.
Comment 4 Roger Whittaker 2008-05-16 09:20:12 UTC
This seems to be happening in the published beta3 also, and possibly should be included as a "most annoying bug".
Comment 5 Stephan Kulow 2008-05-16 10:13:33 UTC
in beta3 no patterns at all are visible. This is much severe and already in the list.
Comment 6 Dean Hilkewich 2008-05-16 20:13:16 UTC
Yup blank here as well.  If you click on details and then select Package Groups you will get some icons on the left pane and some weird squibbly line.
Comment 7 Forgotten User XG9X5w8kVa 2008-05-16 21:44:39 UTC
I confirm it. Not only patterns is broken, but package groups seems also broken in a different way. See screenshots.
The console also shows an error which seems related:
-------- CONSOLE OUTPUT -------------
Probing connected terminal...

Initializing virtual console...

Found a Linux console terminal on /dev/console (160 columns x 64 lines).
*** Starting YaST2 ***
error: cannot open Packages index using db3 - No such file or directory (2)
--------- END OF CONSOLE OUTPUT -----

--------- LOG OUTPUT ----------------
url mount: hd:/opensuse.iso?device=sda7 @ /var/adm/mount
repository: using hd:/opensuse.iso?device=sda7 @ /var/adm/mount
loading file:/var/adm/mount/media.1/info.txt -> /info.txt
sha1 b640c8dab9b0ff8fdd3a70e71db461603488ee5f
sha1 ok
loading file:/var/adm/mount/license.tar.gz -> /license.tar.gz
sha1 d1e34766e8d528fdc9a4147a4e0602b2b9877b32
sha1 ok
loading file:/var/adm/mount/part.info -> /part.info
error 37: Couldn't open file /var/adm/mount/part.info
loading file:/var/adm/mount/control.xml -> /control.xml
sha1 104fbddfe3bf26c5325ed309cb15c2e7d79a7b2b
sha1 ok
loading file:/var/adm/mount/driverupdate -> /download/file_0006
error 37: Couldn't open file /var/adm/mount/driverupdate
No new driver updates found.
starting setctsid `showconsole` inst_setup yast
Comment 8 Forgotten User XG9X5w8kVa 2008-05-16 21:46:34 UTC
Created attachment 216120 [details]
First install beta3
Comment 9 Forgotten User XG9X5w8kVa 2008-05-16 21:48:42 UTC
Created attachment 216121 [details]
First install detailed installer beta3 (patterns view)
Comment 10 Forgotten User XG9X5w8kVa 2008-05-16 21:50:10 UTC
Created attachment 216122 [details]
First install detailed installer (packages view)
Comment 11 Terje J. Hanssen 2008-05-16 22:54:12 UTC
Downloaded the beta3 dvd iso and made a new installation from dvd. Selected Gnome desktop as usual. At the following "Software" link I always use to Edit and Add packages, i.e include the KDE base and Xen from Pattern. But there was no Patterns available, only an empty (blanc) widget without content and there is nothing to select from. Had to continue the installation with Gnome only. 
Neither after installation and logon the YaST software manager contained any patterns content, and no way to add the usual software. VERY SERIOUS BUG. 
(Beta1 Patterns did work)
Comment 12 Duncan Mac-Vicar 2008-05-23 16:20:17 UTC
coolo. I see you fixed it by adding

YQPkgSelDescriptionView {
  background-color: transparent;
}

It also gets fixed (keeping white background and black text by adding to the end of the css:

.Content QTextBrowser {
  color: black;
}

Note, it has to be at the end, as it has to override line 85, which is the one that causes the bug:

.Contents QWidget { color: white; }

Coolo, should we stay with transparent background, or was it just a hack?
Comment 13 Stephan Kulow 2008-05-26 11:06:04 UTC
actually I liked transparent more, but Jakub is our master of colours
Comment 14 Jakub Steiner 2008-05-26 14:00:39 UTC
Commenting without actually seeing the result :/

If the lists are contained inside a box that has a border and perhaps even a header, it doesn't make sense to have it transparent so the texture 'shines through'. Either the whole widget is styled so it appears flat and 'in place', or white background color is fine for a default-looking Qt tree/list widget.
Comment 15 Duncan Mac-Vicar 2008-05-26 15:37:29 UTC
Fixed it by removing

YQPkgSelDescriptionView {
  background-color: transparent;
}

had to remove 

.Content QWidget {
  color: white;
}

Submitted.
Comment 16 Stephan Kulow 2008-05-26 16:52:57 UTC
you're not seriously destroyed the theme in removing the white foreground?