← Back to team overview

touch-packages team mailing list archive

[Bug 1368390] Re: Button shouldn't steal focus by default

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: Triaged => In Progress

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

Title:
  Button shouldn't steal focus by default

Status in Ubuntu UI Toolkit:
  Triaged
Status in ubuntu-ui-toolkit package in Ubuntu:
  In Progress

Bug description:
  The upstream Button component has "activeFocusOnPress: false" as its
  default, that doesn't seem the case for our component, it probably
  should.

  Example

  "MainView {
      height: 600
      width: 350

      Column {
          anchors {
              left: parent.left
              right: parent.right
          }
          TextInput {
              anchors {
                  left: parent.left
                  right: parent.right
              }
              focus: true
          }
          Button {
              text: "click"
              /* don't steal focus, activeFocusOnPress: false*/
          }
      }
  }"

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