Public bug reported:

Binary package hint: zenity

Please describe the problem:
The other day trying to make a little script using zenity I found that the list
mode doesn't expand well shell varibles. It's easier to explain with a example.
If you do:

<< zenity --title="Test" --list --column="" --radiolist --text "Choose an
option" --column="OPTIONS" false "go shopping" false "go party" >>

Everything goes well. But if you do:

<< test=`echo false \"go shopping\" false \"go party\"`
zenity --title="Test" --list --column="" --radiolist --text "Choose an option"
--column="OPTIONS" $test >>

The options showed by the program are incomplete. I've asked in some phorums on
the Internet and nobody has been able to answer me. After a little bit of
checking I think it's a bug, I've tried to find it and fix it but I get lost in
the code. 

Steps to reproduce:
1. test=`echo false \"go shopping\" false \"go party\"`
zenity --title="Test" --list --column="" --radiolist --text "Choose an option"
--column="OPTIONS" $test


Actual results:
The list that Zenity shows is wrong.

Expected results:
I would expect to find a list with complete sentences, not splited ones.

Does this happen every time?
At least in the four computers I have used to try it.

** Affects: zenity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
the list mode doen't work well with shell variables
https://bugs.launchpad.net/bugs/138264
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug contact for zenity in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to