zenity 3.42.1 --question argument does not return a value in ubuntu 22.04

Bug #2035111 reported by Thomas Sauve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Undecided
Unassigned

Bug Description

'--question' attribute in zenity is not returning a value after the user interacts with the message box. It should be returning a 0, 1, or 5 depending on what the user selects. Other forms that zenity produces do return the appropriate values.
tom@BossUbuntui9:~$ zenity --version
3.42.1
tom@BossUbuntui9:~$ zenity --calendar
09/12/2024
tom@BossUbuntui9:~$ zenity --question --title="Answer the question." --text="Yes or No?"
tom@BossUbuntui9:~$
This is a paste from my terminal. As you can see the --version and --calendar arguments return the appropriate values. When I use the --question argument, it does not matter whether I press yes or no, I get nothing.

Manfred Hampl (m-hampl)
Changed in launchpad:
status: New → Invalid
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.