No way to cancel adding calculation to favorite when we're typing

Bug #1442916 reported by Bartosz Kosiorek on 2015-04-11
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Calculator App
High
Unassigned

Bug Description

There's no way to cancel adding calculation to favorite when we're typing. We have to continue adding it and then delete it.

Proposal:
If user click outside Favourite Text input, the adding should be cancelled.
The bug report was already submitted here:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1376510

description: updated
Bartosz Kosiorek (gang65) wrote :

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 should be backported into Ubuntu and used here.

Bartosz Kosiorek (gang65) wrote :

The source code for TextField is available at:
https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers