← Back to team overview

desktop-packages team mailing list archive

[Bug 1267788] Re: double click in list print two time the selected item

 

*** This bug is a duplicate of bug 1247137 ***
    https://bugs.launchpad.net/bugs/1247137

Zenity 3.8 version is also in 14.04 , and so in all Linux Mint 17.x , and all Elementary O.S. 
( Long term support,  till 2019 afaik  ) ;  That's why I post here thisworkaround for those doing Bash script on this platform and getting stuck by this bug :

#!/bin/bash
menuchoice=$(zenity --list --column Pet Chien Chat); 
menuchoicecleaned=${menuchoice%|*}
echo "$menuchoicecleaned"

This return single 
Chien 
or
Chat 
in every case.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to zenity in Ubuntu.
https://bugs.launchpad.net/bugs/1267788

Title:
  double click in list print two time the selected item

Status in zenity package in Ubuntu:
  Confirmed

Bug description:
  Hi, 
  I used zenity in my script for years.  
  In ubuntu saucy, if you try to double on an item in a zenity list, it will be printed two times at the end (with pipe separator) just like if you selected two items.

  How to reproduce, in a command line:
  $ zenity --list --column Pet Chien Chat

  Double click on on item, see the result in the terminal:
  Chien|Chien

  Expected result:
  Chien

  Try with simple clic and 'Ok' button, it will be printed only once.

  By the way, thank you guys for your job.

  Zenity version: 3.8.0-1
  Ubuntu version: saucy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/1267788/+subscriptions