find/clear icons in searchentry do not display with Humanity icon theme

Bug #437431 reported by Matthew McGowan
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: software-store

If you use the Humanity icon theme, the search clear icons render very small in the searchentry, to the point where they are not visible.

ProblemType: Bug
Architecture: amd64
Date: Sun Sep 27 12:44:04 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: software-store 0.3.10
PackageArchitecture: all
ProcEnviron:
 LANG=en_NZ.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.35-generic
SourcePackage: software-store
Uname: Linux 2.6.31-10-generic x86_64

Related branches

Revision history for this message
Matthew McGowan (mmcg069) wrote :
Revision history for this message
Matthew McGowan (mmcg069) wrote :

Here is a modified searchentry.py that fixes the problem. Sorry don't know how to do a proper patch.

Revision history for this message
Matthew McGowan (mmcg069) wrote :
Revision history for this message
Matthew McGowan (mmcg069) wrote :

As an aside rev 297 searchentry.py now reloads find/clear icons with icon theme changes.

See:
http://bazaar.launchpad.net/~mmcg069/software-store/matts-pathbar-integration/revision/297#softwarestore/view/widgets/searchentry.py

Revision history for this message
Marcus Carlson (0-launchpad-mejlamej-nu) wrote :

mmnz, also this seems to work quite well;

 self.set_icon (sexy.ICON_ENTRY_PRIMARY,
                       gtk.image_new_from_stock (gtk.STOCK_FIND,
                                                 gtk.ICON_SIZE_MENU))

        self.empty_image = gtk.Image()
        self.clear_image = gtk.image_new_from_stock (gtk.STOCK_CLEAR,
      gtk.ICON_SIZE_MENU)

 self.set_icon (sexy.ICON_ENTRY_SECONDARY,
                       self.clear_image)

Looks more clean than your solution but I don't know the pros and cons...

Revision history for this message
Vish (vish) wrote :

Also , the svg icons are not displayed properly :/
the accessories is white , but is displayed black... is there no way to make software store handle svg icons better?

Changed in software-store (Ubuntu):
status: New → Confirmed
Revision history for this message
Vish (vish) wrote :

oops..! i mean programming icon

Michael Vogt (mvo)
Changed in software-store (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Christoph Korn (c-korn) wrote :

This bug was fixed in the package software-center - 0.4.1

---------------
software-center (0.4.1) karmic; urgency=low

  * softwarecenter/view/widgets/imagedialog.py:
    - ignore gconf errors when trying to read the proxy settings
      (LP: #436129)
  * fix some leftovers from the rename
  * softwarecenter/view/widgets/searchentry.py:
    - fix search icon not being displayed (thanks to Marcus Carlson
      and Matthew Joseph Mcgowan) LP: #437431
  * remove po/software-store.pot, we use po/software-center.pot now
  * softwarecenter/view/widgets/animatedimage.py:
    - fix crash in animatediamge.py (LP: #437662)
  * po/en_GB.po:
    - fix spelling in en_GB (LP: #437652)
  * help/C/software-center-C.omf:
    - fix help (LP: #437859)
  * merged lp:~mdke/software-center/help-fixes (many thanks!)

 -- Michael Vogt <email address hidden> Mon, 28 Sep 2009 11:04:22 +0200

Changed in software-store (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Michael Vogt (mvo) wrote :

@mac_v: the problem with the svg icon is most likely a bug in webkit, I think this should get a seperate report against the webkit package. The search icons should be fixed now (in bzr)

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.