TextInput: Binding loop detected for property ""
Bug #1400899 reported by
Riccardo Padovani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Fix Released
|
Low
|
Unassigned |
Bug Description
When the key "=" is pressed this warning shows up in the console
file://
Related branches
lp:~gang65/ubuntu-calculator-app/ubuntu-calculator-app-display-cursor
- Riccardo Padovani: Approve
- Jenkins Bot: Approve (continuous-integration)
-
Diff: 23 lines (+1/-1)2 files modifiedapp/ubuntu-calculator-app.qml (+0/-1)
app/ui/CalcKeyboard.qml (+1/-0)
tags: | added: reboot |
Changed in ubuntu-calculator-app: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in ubuntu-calculator-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug is difficult to fix: it happens because in id: textInputField we use onCursorPositio nChanged.
When we use it, we change the text, to the cursor position changes again and the event is raised again.
We could set a flag to check when we change the displayedInputText and disable the property, but the cursor position changes every time we insert a new digit, so it's pretty impossible to set a flag.
This requires further investigations...