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
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Allan McRae (Allan)
Saturday, 02 June 2012, 12:54 GMT
Reason for closing:  No response
Comment by SweetthD3ViL (SweetthD3ViL) - Sunday, 23 October 2011, 10:49 GMT
I downgraded to the previous version and the "--timeout=8" is behaving normally.
Comment by Ionut Biru (wonder) - Sunday, 23 October 2011, 11:17 GMT Comment by Ionut Biru (wonder) - Sunday, 30 October 2011, 10:31 GMT
ping
Comment by Allan McRae (Allan) - Saturday, 28 April 2012, 16:20 GMT
Current status?

Loading...