TextInput: Binding loop detected for property ""

Bug #1400899 reported by Riccardo Padovani
6
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:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/TextField.qml:971:9: QML TextInput: Binding loop detected for property ""

Tags: reboot

Related branches

tags: added: reboot
Changed in ubuntu-calculator-app:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Riccardo Padovani (rpadovani) wrote :

This bug is difficult to fix: it happens because in id: textInputField we use onCursorPositionChanged.
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...

Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-calculator-app at revision 236, scheduled for release in ubuntu-calculator-app, milestone Unknown

Changed in ubuntu-calculator-app:
status: Triaged → Fix Committed
Changed in ubuntu-calculator-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.