Tab to cancel selects OK instead

Bug #999691 reported by Paul Smith
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zenity (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

If I start a zenity window with a text box:

zenity --entry --text="add text"

then I press TAB one time to highlight the Cancel box and press ENTER to select Cancel, it instead selects OK. In fact no matter what element is selected in the zenity window, when I press ENTER it selects OK.

Only by physically clicking on the Cancel box can I cancel.

This misbehavior is potentially (depending on what question was being asked and what the action to be taken is) extremely dangerous.

$ uname -rm
3.2.0-24-generic x86_64

$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

$ apt-cache policy zenity
zenity:
  Installed: 3.4.0-0ubuntu4
  Candidate: 3.4.0-0ubuntu4
  Version table:
 *** 3.4.0-0ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     3.4.0-0ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Revision history for this message
Robert Roth (evfool) wrote :

By pressing tab and Space, the Cancel button is pressed. That seems to be because the default response is OK, however the default response (the one sent when Enter is pressed) is not always the currently focused button (Cancel in your case).

Changed in zenity (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
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.