← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1287696] [NEW] TextField can't scroll back after autoscroll

 

Public bug reported:

With the following qml:
import QtQuick 2.0
import Ubuntu.Components 0.1

MainView {
    // objectName for functional testing purposes (autopilot-qt5)
    objectName: "mainView"
    id: mainView

    applicationName: "com.example.bug"
    automaticOrientation: true
    width: units.gu(50)
    height: units.gu(75)
    Page {

        TextField {
            text: ""
            width: parent.width
        }
    }
}

If I enter a lot of text into the text field, it scrolls so I can keep
seeing what I am typing (good). On desktop Home, End, and arrow keys do
proper navigation (good), however, on the phone, I cannot get back to
the beginning of the line since those keys do not exist on the keyboard.
What I wanted to do naturally was a double tap and drag left to right in
the text field to scroll the contents, but this didn't work.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: avengers

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1287696

Title:
  TextField can't scroll back after autoscroll

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

Bug description:
  With the following qml:
  import QtQuick 2.0
  import Ubuntu.Components 0.1

  MainView {
      // objectName for functional testing purposes (autopilot-qt5)
      objectName: "mainView"
      id: mainView

      applicationName: "com.example.bug"
      automaticOrientation: true
      width: units.gu(50)
      height: units.gu(75)
      Page {

          TextField {
              text: ""
              width: parent.width
          }
      }
  }

  If I enter a lot of text into the text field, it scrolls so I can keep
  seeing what I am typing (good). On desktop Home, End, and arrow keys
  do proper navigation (good), however, on the phone, I cannot get back
  to the beginning of the line since those keys do not exist on the
  keyboard. What I wanted to do naturally was a double tap and drag left
  to right in the text field to scroll the contents, but this didn't
  work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1287696/+subscriptions


Follow ups

References