← Back to team overview

desktop-packages team mailing list archive

[Bug 899878] Re: Software center have hardcoded colors and shows white font on white bg

 

I took some time to test out Matthews idea about the transparent
stipple. I have attached some screen shots which show the stipple in
different states:

1. The original
2. Transparent
3. Original with custom Adwaita CSS
4. Transparent with custom Adwaita CSS
5. Transparent with custom Adwaita CSS and 90% transparency drawn by Cairo (line 178 of catview.py). Default is 50%.

When testing the transparent stipple with Adwaita, the text becomes more
illegible.

USC has support to load custom css based off the gtk-theme-name, which
you can see in line 55 of utils.py. You can easily test the loading of
the theme by opening USC and then changing it to something like
highcontrast which has its on css file and this will change in real
time. So if you use Numix you can provide a softwarecenter.numix.css.

>From what I can see for a workaround to use GTK theme colors, simply
move softwarecenter.css out the way (softwarecenter.css.bak). The code
currently looks for a softwarecenter.<theme-name>.css if that does not
exist, it loads up the softwarecenter.css. If that does not exist as
well it uses the styling from the GTK theme.

Alternatively whip up your own CSS file for your favourite theme, or ask
the author to create one for USC if you want USC to match the theme.

I hope that helps a bits. I understand that this approach is for
Adwaita, but no one has provided the theme name they use when they filed
or commented on this bug report. So my next question is, what theme(s)
are you using?

** Attachment added: "Stipple Test Images"
   https://bugs.launchpad.net/ubuntu-gnome/+bug/899878/+attachment/4427906/+files/stipple-test.tar.gz

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/899878

Title:
  Software center have hardcoded colors and shows white font on white bg

Status in Ubuntu Software Center:
  Confirmed
Status in Ubuntu GNOME:
  In Progress
Status in software-center package in Ubuntu:
  Confirmed

Bug description:
  When using dark theme

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: software-center 5.0.2ubuntu0.1
  ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
  Uname: Linux 3.0.0-13-generic i686
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Sun Dec  4 15:28:41 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/zsh
  SourcePackage: software-center
  UpgradeStatus: Upgraded to oneiric on 2011-10-16 (48 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/software-center/+bug/899878/+subscriptions