Cancel Button not working with Keyboard on Entry Dialog
Hi, look at this peace
#!/bin/bash
input=$(zenity --entry --title "Entry box" --text "Enrty")
accepted=$?
echo $accepted
exit
If one here
- inputting nothing,
- then pressing TAB for selecting the CANCEL button
- and pressing ENTER,
the OK button is "fired" instead of the CANCEL button.
$accepted gives 0 instead of 1
If the CANCEL Button is clicked with the mouse, correctly
$accepted gives 1
It seems like a misbehavior that makes the zenity entry not accessible for visual impaired people using only the keyboard.
zenity --version 3.18.1.1 also with 3.28.1