window icon does not work with all dialogs

Reported by Hizoka on 2012-05-12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zenity (Ubuntu)

Bug Description


This commands does not work :
zenity --color-selection --window-icon "/usr/share/zenity/zenity.png"
zenity --password --window-icon "/usr/share/zenity/zenity.png"
zenity --forms --window-icon "/usr/share/zenity/zenity.png" --add-entry "Test"

No error but the window icon is not that specified.

apt-cache policy zenity => 3.4.0-0ubuntu4
lsb_release -rd => Ubuntu 12.04 LTS

Robert Roth (evfool) on 2012-05-15
Changed in zenity (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
tuxfusion@gmail.com (tuxfusion) wrote :

Same story with icon-name:

zenity --warning --icon-name "/usr/share/zenity/zenity.png"

shows big questionmark , where icon should be. Version zenity 3.8.0-1 , Arch Linux

Paul Whittaker (launchpad-pdw) wrote :

According to strace here,

  zenity --info --window-icon /usr/share/zenity/zenity.png

makes a successful call to open() on the supplied filename (/usr/share/zenity/zenity.png), but then also calls open() on -- and displays -- the standard "white i on a blue disc" icon from /usr/share/icons/Humanity/status/48/dialog-information.svg.

Changing the supplied filename to one more similar to the file displayed above, e.g. to /usr/share/icons/Humanity/status/48/dialog-error.svg, makes no difference to this behaviour.

Ubuntu 12.04.2 LTS
zenity 3.4.0-0ubuntu4

Paul Whittaker (launchpad-pdw) wrote :

Further to the above, this also fails when supplying one of the short arguments to --window-icon, as mentioned in the man page.

For me, passing in a value from the list given (error, info, question, or warning) results in one of the files


being accessed with open(), but then following that the file


is still loaded and displayed, as before.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers