The window icon can't be overriden by a theme

Bug #390697 reported by twisterss
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity-frontend-gtk

In ubiquity/frontend/gtk_ui.py, the window icon is set directly to the icon file in /usr/share/pixmaps:

gtk.window_set_default_icon_from_file('/usr/share/pixmaps/'
                                'ubiquity.png')

It should get the icon from the theme instead if there is one.

Revision history for this message
Michael Terry (mterry) wrote :

I looked into this. The current situation is complicated.

 * The KDE frontend properly installs 'ubiquity' icons into the icon theme. But that icon is KDE-specific.
 * The GTK frontend installs its icon to the pixmaps directory and directly references it.
 * The Mythbuntu frontend also installs its visually-distinct icon to the same place and, in dpkg terms, diverts it.

What really should be happening here is that each frontend installs namespaced icons into the theme. 'ubiquity-kde', 'ubiquity-gtk', 'ubiquity-myth' for example.

Until that is fixed, the current code is doing the best it can.

Revision history for this message
twisterss (twisterss) wrote :

Well, why couldn't the ubiquity-frontend-gtk package add the ubiquity-gtk icon in the icon theme and link to it? Other frontend packages can fix it later independently, and people using the GTK frontend will be able to customize the icon without forking the frontend.

Revision history for this message
Simon Quigley (tsimonq2) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect 390697

and any other logs that are relevant for this particular issue.

Simon Quigley (tsimonq2)
Changed in ubiquity (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.