Oh, and for me, it's zenity 3.4.0-2 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to zenity in Ubuntu. https://bugs.launchpad.net/bugs/1034594
Title: zenity --question --timeout returns 5 when click yes Status in “zenity” package in Ubuntu: Confirmed Bug description: The man page says: "For example, zenity --question will return either 0, 1 or 5, depending on whether the user pressed OK, Cancel or timeout has been reached. zenity --entry will output on standard output what the user typed into the text entry field." however, for the following $ zenity --question --title="Title" --text="Click yes" --timeout=6 $ echo $? 5 one can see that zenity returns 5 instead of 0 if you click the Yes (OK) button. Without --timeout, zenity returns 0 when you click Yes. The man page also is incorrect because the buttons are labeled No and Yes (in that order, left to right), not OK or Cancel. Also, pressing ESC is typically equivalent to canceling a dialog, but in the latter case, zenity returns 0 (as if I had selected Yes) instead of 0 (No/Cancel) See also http://www.mail-archive.com/debian-bugs- d...@lists.debian.org/msg1048592.html To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/1034594/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp