FS#26582 - [zenity] timeout option - question with timeout option will always return negative answer
Attached to Project:
Arch Linux
Opened by SweetthD3ViL (SweetthD3ViL) - Sunday, 23 October 2011, 10:45 GMT
Last edited by Allan McRae (Allan) - Saturday, 02 June 2012, 12:54 GMT
Opened by SweetthD3ViL (SweetthD3ViL) - Sunday, 23 October 2011, 10:45 GMT
Last edited by Allan McRae (Allan) - Saturday, 02 June 2012, 12:54 GMT
|
Details
Description:
Zenity timeout option - question with timeout option will always return negative answer Additional info: * package version(s)3.2.0-1 * config and/or log files etc. script example: #!/bin/bash zenity --timeout=8 --question --title="Ask a question?" \ --text="test" \ if [[ $? == 0 ]] ; then zenity --info --text="is yes" else zenity --info --text="is no" fi exit Steps to reproduce: When running the script with the "--timeout=8" option the answer will always be "no" (even when pressing "yes") when the "--timeout=8" is remove then the answers are correct. |
This task depends upon
i see the there are several commits that affects timeout.
http://git.gnome.org/browse/zenity/commit/?id=b39ad33c35bb93c647e7f6f05d1310a0ce6895d5
http://git.gnome.org/browse/zenity/commit/?id=f77a0199af3a3d1362be95ab651186546492e8cd
http://git.gnome.org/browse/zenity/commit/?id=d60e5eeeb379e5444ad218d7335b17eaa821b182
first one has a bug number as well