← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1416450] [NEW] [regression] Tab switcher doesn't work if a text field is focused

 

Public bug reported:

Steps to reproduce:

1) Run the following QML:

import QtQuick 2.0
import Ubuntu.Components 1.0

MainView {

    useDeprecatedToolbar: false
    anchorToKeyboard: true

    Tabs {

        Tab {
            title: "Test"

            Page {
                title: "Test"
                TextField {
                    anchors.centerIn: parent
                }
            }
        }

        Tab {
            title: "Test 2"

            Page {
                title: "Test 2"
            }
        }

    }


}


2) Tap the input field

3) Tap the tab switcher


Expected outcome:

Tab menu should appear

Actual outcome:

Tab menu doesn't appear unless the keyboard is dismissed first (which
removes input focus from the field).

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

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

Title:
  [regression] Tab switcher doesn't work if a text field is focused

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

Bug description:
  Steps to reproduce:

  1) Run the following QML:

  import QtQuick 2.0
  import Ubuntu.Components 1.0

  MainView {

      useDeprecatedToolbar: false
      anchorToKeyboard: true

      Tabs {

          Tab {
              title: "Test"

              Page {
                  title: "Test"
                  TextField {
                      anchors.centerIn: parent
                  }
              }
          }

          Tab {
              title: "Test 2"

              Page {
                  title: "Test 2"
              }
          }

      }

  
  }

  
  2) Tap the input field

  3) Tap the tab switcher

  
  Expected outcome:

  Tab menu should appear

  Actual outcome:

  Tab menu doesn't appear unless the keyboard is dismissed first (which
  removes input focus from the field).

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


Follow ups

References