After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567670 - "Cancel" button doesn't work
"Cancel" button doesn't work
Status: RESOLVED NOTABUG
Product: zenity
Classification: Core
Component: general
2.24.x
Other Linux
: Normal normal
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-13 22:23 UTC by Jean-Philippe Fleury
Modified: 2010-07-28 11:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Jean-Philippe Fleury 2009-01-13 22:23:18 UTC
Sometimes the "Cancel" button does nothing, doesn't work. Here's an example where the "Cancel" button is always bugging:

youtube-dl http://www.youtube.com/watch?v=8A4HaR9LJzI | zenity --progress --pulsate --auto-close --title="Téléchargement" --text="Téléchargement du fichier"

Clicking on the "Cancel" button doesn't close the zenity dialog.

My config:
Ubuntu 8.10
Gnome 2.24.1
zenity 2.24.0
Comment 1 Jean-Philippe Fleury 2009-01-13 22:27:01 UTC
Bug previously reported on https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/316904
Comment 2 Siegfried Gevatter (RainCT) 2009-03-28 14:36:23 UTC
I guess you're just missing the --auto-kill.

From zenity's manpage:
  --auto-kill
    Kill parent process if cancel button is pressed
Comment 3 Luis Medinas 2010-07-28 11:07:53 UTC
You need to use --auto-kill.
Closing NOTABUG.
Thanks