← Back to team overview

touch-packages team mailing list archive

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

 

Probably another instance of the same bug:

1- launch calendar (notice that calendar is a non-fullscreen app)
2- switch to dash
3- go to spread
4- kill calendar from the terminal
5- tap on the (dead) calendar in the spread

expected outcome:
calendar is restarted as non-fullscreen

actual outcome:
calendar is restarted as fullscreen

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