Bug report #6815

Forms with input fields and multiple controls shouldn't bind enter key to OK button

Added by marisn - about 11 years ago. Updated almost 5 years ago.

Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:15960


Currently most of QGIS forms have binded enter key event to OK button. It might cause unwanted side effect if form has an input field and OK button is not the only possible action to take.

  • Create new Shapefile has "attribute name" input field. If user presses enter key after typing in attribute name, whole dialog gets closed instead of just adding a new attribute and the specified attribute is NOT created;
  • Project properties -> CRS has a filter dialog. Pressing enter closes dialog instead of just searching.


#1 Updated by Jürgen Fischer over 9 years ago

  • Category set to Forms

#2 Updated by Matthias Kuhn over 9 years ago

  • Category changed from Forms to GUI

#3 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#4 Updated by Giovanni Manghi almost 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF