You are not logged in.
After updating from zenity 3.6 to 3.8, most of my scripts dont work.
A little example:
#!/bin/bash
title="Server Options"
prompt="Pick an option:"
options=("option 1" "option 2" "option 3")
while opt=$(zenity --width 500 --height 300 --title="$title" --text="$prompt" --list --column="Options" "${options[@]}"); do
case "$opt" in
"${options[0]}" ) zenity --info --text "option 1";;
"${options[1]}" ) zenity --info --text "option 2";;
"${options[2]}" ) zenity --info --text "option 3";;
esac
done
This normally, when selecting an option should execute: zenity --info --text "option X"
Now it does not execute anything.
Downgrading to zenity 3.6 fixes the problem.
Please, a little help !
Last edited by tritonas00 (2013-04-24 16:55:25)
Offline
It appears to be a bug in zenity. Double clicking an item or hitting enter after selecting an item returns it twice ("option|option") while clicking OK returns it once ("option"). You should report it upstream.
Steven [ web : git ]
GPG: 327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com
Offline
Offline
Please mark this thread as solved. Also, if you don't plan on reporting the bug upstream yourself, tell me so I can.
Steven [ web : git ]
GPG: 327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com
Offline
Please mark this thread as solved. Also, if you don't plan on reporting the bug upstream yourself, tell me so I can.
Sorry, i forgot.
I made the report yesterday -> https://bugzilla.gnome.org/show_bug.cgi?id=698683
Last edited by tritonas00 (2013-04-24 16:57:32)
Offline