← Back to team overview

touch-packages team mailing list archive

[Bug 1396574] [NEW] TextField content partially deleted on focus with predictive text on

 

Public bug reported:

With the following Textfield:
TextField {
                    id:editTitle
                    width:parent.width
                    text:taskView.tasktoEdit.title
                    placeholderText: i18n.tr("Add title")
                    style: TextFieldStyle {
                        overlaySpacing: 0
                        frameSpacing: 0
                        background: Item {}
                        color: UbuntuColors.lightAubergine
                    }
   }

And with predictive text on in the phone, if you try to click on the
field while it contains text, part of the text where the cursor lands
get deleted.

The work around is to set no predictive text:   inputMethodHints:
Qt.ImhNoPredictiveText however this is a problem when predictive text is
required.

** Affects: ubuntu-ux
     Importance: Undecided
         Status: New

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Medium
         Status: Confirmed

-- 
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/1396574

Title:
  TextField content partially deleted on focus with predictive text on

Status in Ubuntu UX bugs:
  New
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Confirmed

Bug description:
  With the following Textfield:
  TextField {
                      id:editTitle
                      width:parent.width
                      text:taskView.tasktoEdit.title
                      placeholderText: i18n.tr("Add title")
                      style: TextFieldStyle {
                          overlaySpacing: 0
                          frameSpacing: 0
                          background: Item {}
                          color: UbuntuColors.lightAubergine
                      }
     }

  And with predictive text on in the phone, if you try to click on the
  field while it contains text, part of the text where the cursor lands
  get deleted.

  The work around is to set no predictive text:   inputMethodHints:
  Qt.ImhNoPredictiveText however this is a problem when predictive text
  is required.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1396574/+subscriptions


Follow ups

References