← Back to team overview

touch-packages team mailing list archive

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

 

Having a bit of difficulty reproducing this on its own, which
application is this from? I'm wondering if there might be some bad
interaction between  the setting of taskView.tasktoEdit.title and the
keyboard placing the last word in the sentence back into pre-edit. I
suspect the best solution might be to only re-enter pre-edit on deletion
rather than also on focusing the field (a change I was already
considering to solve a similar issue elsewhere), but it'd be good to be
able to reproduce this case to verify that it'll fix the issue here as
well.

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

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

Status in Ubuntu Keyboard:
  New
Status in Ubuntu UX bugs:
  New
Status in “ubuntu-keyboard” package in Ubuntu:
  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-keyboard/+bug/1396574/+subscriptions


References