← Back to team overview

touch-packages team mailing list archive

[Bug 1328839] Re: Toggling fullscreen causes wrong window behaviour

 

I just tested reverting the workaround in webbrowser-app now that the Qt
compositor has landed, and while the situation has improved a bit, issue
#2 as described in the original report is still present: when exiting
fullscreen mode, the top panel is not restored.

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

Title:
  Toggling fullscreen causes wrong window behaviour

Status in Qt integration with the Mir display server:
  Confirmed
Status in QT Ubuntu:
  New
Status in The Unity 8 shell:
  New
Status in “webbrowser-app” package in Ubuntu:
  Fix Released

Bug description:
  I’m implementing fullscreen mode for the browser application, and I’m
  seeing two issues, which can be reliably reproduced with the following
  piece of QML:

  import QtQuick 2.0
  import QtQuick.Window 2.1
  import Ubuntu.Components 0.1
  Window {
    id: window
    Button {
      anchors.centerIn: parent
      text: "toggle fullscreen"
      onClicked: window.visibility = (window.visibility == Window.FullScreen ? Window.AutomaticVisibility : Window.FullScreen)
    }
  }

  Issue #1: when toggling fullscreen on, the top panel is hidden as
  expected, and consequently the coordinates of the window change on
  screen, but the contents of the window are not redrawn, so in the
  example above tapping the button has no effect (one needs to tap
  slightly above it to activate it)

  Issue #2: when toggling fullscreen off, the top panel is not restored.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1328839/+subscriptions