← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1375837] Re: Popovers must close when rotating screen

 

Marked webbrowser-app also affected, because it uses a custom header,
and its overflow menu currently isn’t implemented using a popover, so it
won’t benefit from the UITK fix.

** Also affects: webbrowser-app
   Importance: Undecided
       Status: New

** Changed in: webbrowser-app
   Importance: Undecided => Medium

** Changed in: webbrowser-app
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to webbrowser-app.
https://bugs.launchpad.net/bugs/1375837

Title:
  Popovers must close when rotating screen

Status in Ubuntu UI Toolkit:
  Fix Committed
Status in Web Browser App:
  Triaged

Bug description:
  After rotating the device a few times while an overflow menu is open,
  the menu will be placed in the wrong position on the screen. The
  number of rotations before this happens appears to be quite random,
  but it will eventually happen.

  Below is a minimal example that should trigger the bug by rotating the
  device after opening the overflow menu:

  import QtQuick 2.0
  import Ubuntu.Components 1.1

  MainView {
      id: mainView
      applicationName: "com.ubuntu.developer.ken-vandine.hub-importer"
      automaticOrientation: true
      useDeprecatedToolbar: false

      width: units.gu(100)
      height: units.gu(75)

      Page {
          title: "Test"

          head.actions: [
              Action { name: "Item 1" },
              Action { name: "Item 2" },
              Action { name: "Item 3" },
              Action { name: "Item 4" }
          ]
      }
  }

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