← Back to team overview

touch-packages team mailing list archive

[Bug 1518002] Re: Header is shown at startup and slides out even though it is set to be invisible and locked

 

I've attached an example application that shows the issue with the
header 'sliding out'.

It should be noted that it requires the PageStack, if I just put the
Page inside the MainView it appears to be fine, I assume this due to an
empty header being shown, then as the page is pushed on it slides out to
hide the header. It ideally needs to skip the animation when first
starting, so there isn't a sliding in/out animation.

** Attachment added: "TestNoHeaderBug.qml"
   https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1518002/+attachment/4529176/+files/noHeaderBug.qml

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

Title:
  Header is shown at startup and slides out even though it is set to be
  invisible and locked

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

Bug description:
  Some applications have no header on the starting page, but may have
  headers on the sub pages (for settings), eg Calculator, Clock and
  Weather. However it has been observed that if you set the header to
  invisible and locked with the code below, the header is infact shown
  at startup and then slides away (as shown in this video [0]).

  head {
    locked: true
    visible: false
  }

  
  What happened:
  1) Create an application that uses the code above to have no header on the starting page
  2) Deploy and launch the application
  3) Notice that the header is initially shown but then slides away

  What was expected to happen:
  At step 3) for the header not to be shown at startup.

  
  0 - https://www.youtube.com/watch?v=OMqJbc6H6IY

  $ system-image-cli -i
  current build number: 160
  device name: mako
  channel: ubuntu-touch/rc-proposed/bq-aquaris.en
  last update: 2015-11-12 07:59:01
  version version: 160
  version ubuntu: 20151112.1
  version device: 20150911
  version custom: mako-1.1

  $ apt-cache policy qtdeclarative5-ubuntu-ui-toolkit-plugin
  qtdeclarative5-ubuntu-ui-toolkit-plugin:
    Installed: 1.3.1705+15.04.20151118-0ubuntu1
    Candidate: 1.3.1705+15.04.20151118-0ubuntu1
    Version table:
   *** 1.3.1705+15.04.20151118-0ubuntu1 0
         1001 http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ vivid/main armhf Packages
          100 /var/lib/dpkg/status
       1.2.1458+15.04.20150422-0ubuntu1 0
          500 http://ports.ubuntu.com/ubuntu-ports/ vivid/main armhf Packages

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


References