Menu

#7 In dialogs with a text field Return does not trigger default button

9.0a4
closed
None
Bug
AlphaTcl
major
2016-07-04
2016-03-26
No

This affects dialogs containing text fields (like in the Search dialog). If one of the text fields has focus, it receives all the keyboard events. As a result the Return key is captured and does not emulate a click on the default button of the dialog as it should. The Return and the Escape keys should be passed to the next responder in the commander chain.

Discussion

  • Bernard Desgraupes

    This is fixed now using a delegate for the text field. Implemented new class AlphaTextFieldController. Also implemented new option -attr for the TextField view in order to control its behavior wrt the Return and the Tab keys. By default, the Return key triggers a click on the default button of the dialog, as expected in most cases.
    Fix committed to SVN (rev 997).

     
  • Bernard Desgraupes

    The key combos for copy/cut/paste are now working in text fields included in dialogs. Ditto for the Delete, Backspace and arrow keys.
    Fix committed to svn (rev. 1074).

     
  • Bernard Desgraupes

    • status: open --> fixed
    • Version: 9.0a1 --> 9.0a3
     
  • Bernard Desgraupes

    • status: fixed --> closed
    • Version: 9.0a3 --> 9.0a4
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.