← 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

 

With the current header configuration using Page.head there is this
issue, and other issues related to the configuration of more customized
header. We introduced a new Page.header property (in UITK staging, soon
to land in trunk) that can be set to any Item to have your own header,
and if you set it to an instance of the new PageHeader component, it
will look the same as the current header. It will require changing some
code (not much) related to the header, but after doing that you will
have a lot more flexibility in what you can do with the header,
including properly hiding/disabling it.

The current API will keep working in UITK 1.3, as long as you don't set
the Page.header property, the old header will appear for your page. But
I will recommend apps to switch to the new header once we have it landed
in an image. The documentation for the header will be included in UITK
docs at the same time the new features land.

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Tim Peeters (tpeeters)

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => High

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Confirmed

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