Gutsy: Zenity dialog-creator fails to return a value.

Bug #123994 reported by moma
4
Affects Status Importance Assigned to Milestone
Zenity
Fix Released
Medium
zenity (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: zenity

Hello, it's me again.
Installation iso: gutsy-desktop-i386.iso

I have always used a tiny "tv-kanaler.sh" shell skript to show a list of TV-channels. It uses the "Zenity" tool to create the dialog and channel list.

Zenity comes with Ubuntu. Kubuntu users may need to pull it down from repo.

This zenity-dialog should return the selected frequenzy value (203.25 or 210.00, etc). But it fails.
Has something changed or is this a bug?

Test this command on the cli:

echo $(zenity --title="Velg TV-kanal" --width=290 --height=300 --list --radiolist --column "Choose" --column "Frequencia" --column "Channel" \
  FALSE 203.25 "TV channel 1" \
  TRUE 210.00 "TV channel 2" \
  FALSE 196.50 "TV channel 3" )

(zenity:8056): GLib-GObject-CRITICAL **: g_value_get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed
---

I have tried to quote the numbers like this "203.25" but no success.

The whole script for those especialmente interested: http://www.futuredesktop.org/tmp/ivtv/tv-kanaler.sh

Áron Sisak (asisak)
Changed in zenity:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Áron Sisak (asisak) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=453713

Changed in zenity:
status: Confirmed → Triaged
Changed in zenity:
status: Unknown → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

zenity (2.19.2-0ubuntu1) gutsy; urgency=low

  * New upstream version:
    - Added timeout option to all dialogs
    - Fixed critical warning when using checkbox and radiobox in list dialog
      (LP: #123994)
    - Fixed broken handling of input from pipes in list dialog
    - Correctly handle UTF-8 input text in the text info dialog
    - Initialize GTK+ before parsing command line options to
      better handle errors on display setting
    - New and updated documentation translations
    - New and updated translations

 -- Sebastien Bacher <email address hidden> Tue, 14 Aug 2007 00:31:36 +0200

Changed in zenity:
status: Triaged → Fix Released
Changed in zenity:
status: New → Fix Released
Changed in zenity:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.