← Back to team overview

touch-packages team mailing list archive

[Bug 1466084] [NEW] [TextField] Need editingFinished signal when the Return or Enter key is pressed or the text field loses focus.

 

Public bug reported:

This bug is related to:
https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1442916

In new QT's TextField, there is new signal "editingFinished":
http://doc.qt.io/qt-5/qml-qtquick-controls-textfield.html#editingFinished-signal

editingFinished()

This signal is emitted when the Return or Enter key is pressed or the
text field loses focus. Note that if there is a validator or inputMask
set on the text field and enter/return is pressed, this signal will only
be emitted if the input follows the inputMask and the validator returns
an acceptable state.

This signal could be backported into Ubuntu and used here.
It will be resolve/simplify many issues with cancelling edition.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1466084

Title:
  [TextField] Need editingFinished signal  when the Return or Enter key
  is pressed or the text field loses focus.

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  This bug is related to:
  https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1442916

  In new QT's TextField, there is new signal "editingFinished":
  http://doc.qt.io/qt-5/qml-qtquick-controls-textfield.html#editingFinished-signal

  editingFinished()

  This signal is emitted when the Return or Enter key is pressed or the
  text field loses focus. Note that if there is a validator or inputMask
  set on the text field and enter/return is pressed, this signal will
  only be emitted if the input follows the inputMask and the validator
  returns an acceptable state.

  This signal could be backported into Ubuntu and used here.
  It will be resolve/simplify many issues with cancelling edition.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1466084/+subscriptions


Follow ups

References