[Bug 998491] Re: window icon does not work with all dialogs
This isn't really a bug, as far as I understand it. The documentation might be a bit confusing, but it says that the parameter --window-icon sets the window icon. Which is exactly what it does. However, this icon isn't usually shown (though you can confirm it has been set using `xprop`), which gives the impression that perhaps this parameter should allow to change image in the info/warning/message/question dialogs. In fact, the TODO file lists this as one of the future tasks: * Would be nice to have an option to use your own icon in the info/warning/message/question dialogs - Suggested by Kevin Krinke kckri...@opendoorsoftware.com However, if this is to be considered a bug, and that --window-icon should not only set the gtk window icon, but also the displayed image, then the attached patch fixes it (for zenity-3.14.0). ** Patch added: Patch so that window-icon also sets icon in info/warning/message/question dialogs. https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/998491/+attachment/4293554/+files/image-fix.patch -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to zenity in Ubuntu. https://bugs.launchpad.net/bugs/998491 Title: window icon does not work with all dialogs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/998491/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 998491] Re: window icon does not work with all dialogs
The attachment Patch so that window-icon also sets image in info/warning/message/question dialogs. seems to be a patch. If it isn't, please remove the patch flag from the attachment, remove the patch tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to zenity in Ubuntu. https://bugs.launchpad.net/bugs/998491 Title: window icon does not work with all dialogs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/998491/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 998491] Re: window icon does not work with all dialogs
Still present in Ubuntu 14.04.2. When will this be fixed? I'm trying to make a Zenity-based open-source project only to realize I won't be able to work with it. Very disappointing. That's what Canonical should be working on. Debugging. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to zenity in Ubuntu. https://bugs.launchpad.net/bugs/998491 Title: window icon does not work with all dialogs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/998491/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 998491] Re: window icon does not work with all dialogs
Ubuntu 14.04.2 LTS zenity 3.8.0 this bug is still present. The only way I managed to handle an icon with zenity is with --notification as follow $ cat zenity-test.sh #!/bin/sh cat EOH| zenity --notification --listen icon: /usr/share/icons/gnome/32x32/categories/applications-internet.png message: this is the message text tooltip: this is the tooltip text EOH this create two notification dialogs (right top corner in Unity) with the icon appearing to the left of the text. No luck with dialogs and form-based widgets. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to zenity in Ubuntu. https://bugs.launchpad.net/bugs/998491 Title: window icon does not work with all dialogs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/998491/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 998491] Re: window icon does not work with all dialogs
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 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to zenity in Ubuntu. https://bugs.launchpad.net/bugs/998491 Title: window icon does not work with all dialogs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/998491/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 998491] Re: window icon does not work with all dialogs
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 /usr/share/icons/Humanity/status/22/dialog-error.svg /usr/share/icons/Humanity/status/22/dialog-information.svg /usr/share/icons/Humanity/status/22/dialog-question.svg /usr/share/icons/Humanity/status/22/dialog-warning.svg being accessed with open(), but then following that the file /usr/share/icons/Humanity/status/48/dialog-information.svg is still loaded and displayed, as before. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to zenity in Ubuntu. https://bugs.launchpad.net/bugs/998491 Title: window icon does not work with all dialogs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/998491/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 998491] Re: window icon does not work with all dialogs
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 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to zenity in Ubuntu. https://bugs.launchpad.net/bugs/998491 Title: window icon does not work with all dialogs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/998491/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 998491] Re: window icon does not work with all dialogs
** Changed in: zenity (Ubuntu) Status: New = Confirmed ** Changed in: zenity (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to zenity in Ubuntu. https://bugs.launchpad.net/bugs/998491 Title: window icon does not work with all dialogs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/998491/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs