menu entry has no icon

Bug #159583 reported by jcfp
4
Affects Status Importance Assigned to Milestone
pixelize (Debian)
Fix Released
Unknown
pixelize (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: pixelize

The menu entry of pixelize (under "Graphics") does not have an icon. In its desktop file, "pixelize" is specified as the icon to be used, but the package itself does not ship it and in fact no icon file by this name exists anywhere on ubuntu.

pixelize 0.9.2-3ubuntu1 on kubuntu gutsy

Related branches

Changed in pixelize:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Confirmed on Ubuntu gutsy.

Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

In the package there is an icon, icon_bitmap but I can't understand what kind of icon is that.

Revision history for this message
jcfp (jcfp) wrote :

Mario, that file contains only an small piece of c programming, an array that is apparently intended to create an icon. This data is only used in main.c near line 131 as follows:

   icon_bitmap = gdk_bitmap_create_from_data(main_w->window,
      icon_bitmap_bits, icon_bitmap_width, icon_bitmap_height);
   gdk_window_set_icon(main_w->window, NULL, icon_bitmap, NULL);

This function gdk_bitmap_create_from_data [1] wants input data in XBM format, and I think it's exactly that what the icon_bitmap file contains. Unfortunately, if so, it won't be much use as an icon since this file type seems to be mono-color [2] only :(

[1] = http://library.gnome.org/devel/gdk/unstable/gdk-Bitmaps-and-Pixmaps.html
[2] = http://www.fileformat.info/format/xbm/

Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

There is no way to get that icon out of the code ?

Revision history for this message
jcfp (jcfp) wrote :

It is an icon already; the c programming is the way the xbm file type is stored. After some trial and error, found that kiconedit opens it fine and also allows to store it in more commonly used formats. The resulting xpm is attached.

Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Thanks to your work I can provide a debdiff which should fix this bug report; I'm also trying to get this into Debian.

Changed in pixelize:
status: Unknown → New
Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

I'm subscribing u-u-s because it seems that there isn't very much activity in Debian about pixelize (look at the 4-year-opened bugs).

Changed in pixelize:
assignee: nobody → norsetto
status: Confirmed → In Progress
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

On hold pending availability of libgtk1.2 binaries.
Note that, for consistency, it would be better to use the same installation method in rules as the one already existing. In this case:

adding usr/share/pixmaps in dirs
using cp -f to copy the icon

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Since this is assigned to myself, I'm unsubscribing u-u-s.
Sorry for having to let you wait but we are obliged to make sure that what we upload doesn't ftbfs.

Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

I will soon correct that, thank you.

Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Have a look at this Cesare. :)

Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

pixelize (0.9.2-3ubuntu2) hardy; urgency=low

  * debian/pixelize.desktop:
    - removed deprecated Encoding field
  * debian/control:
    - updated maintainer field
  * provided an icon (LP: #159583)

 -- Mario Bonino <email address hidden> Sun, 04 Nov 2007 13:44:07 +0100

Changed in pixelize:
status: In Progress → Fix Released
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

I can't say its the best icon I have ever seen but at least its an icon :-)
Uploaded.

Changed in pixelize:
assignee: norsetto → nobody
status: Fix Released → Fix Committed
Revision history for this message
Cesare Tirabassi (norsetto) wrote :
Changed in pixelize:
status: Fix Committed → Fix Released
Changed in pixelize:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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