← Back to team overview

touch-packages team mailing list archive

[Bug 1462690] [NEW] Header missing in pages pushed for the first time when using a custom application theme

 

Public bug reported:

Ubuntu.Components 1.2 provides developers with the ability to create
custom application themes derived from Ambiance and SuruDark as
explained in the tutorial blog post [1]. However testing it, I noticed a
bug where any page pushed for the first time since the application start
is not pushed properly.

Steps to reproduce:
1. Branch sample application project "bzr branch lp:~nik90/+junk/themebug
2. Run app
3. Press "Tap me" button to push a page

What happens
The mainPage contents are still shown despite pushing a page into the pagestack. The Page header is also missing title, buttons etc.

What should happen
The child page is pushed and its contents are shown.

What I also noticed is that pressing the "Tap me" button again pushes
the page correctly. However now the user needs to pop the page twice to
go back to the main page.

This was tested on a Nexus 4 running the image channel ubuntu-touch/rc-
proposed/ubuntu #1 (likely to become OTA-4)

[1] https://developer.ubuntu.com/en/blog/2015/03/17/creating-theme-your-
application/

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Ubuntu.Components 1.2 provides developers with the ability to create
  custom application themes derived from Ambiance and SuruDark as
  explained in the tutorial blog post [1]. However testing it, I noticed a
  bug where any page pushed for the first time since the application start
  is not pushed properly.
  
  Steps to reproduce:
  1. Branch sample application project "bzr branch lp:~nik90/+junk/themebug
  2. Run app
  3. Press "Tap me" button to push a page
  
  What happens
  The mainPage contents are still shown despite pushing a page into the pagestack. The Page header is also missing title, buttons etc.
  
  What should happen
  The child page is pushed and its contents are shown.
  
  What I also noticed is that pressing the "Tap me" button again pushes
  the page correctly. However now the user needs to pop the page twice to
  go back to the main page.
  
+ This was tested on a Nexus 4 running the image channel ubuntu-touch/rc-
+ proposed/ubuntu #1 (likely to become OTA-4)
+ 
  [1] https://developer.ubuntu.com/en/blog/2015/03/17/creating-theme-your-
  application/

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

Title:
  Header missing in pages pushed for the first time when using a custom
  application theme

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

Bug description:
  Ubuntu.Components 1.2 provides developers with the ability to create
  custom application themes derived from Ambiance and SuruDark as
  explained in the tutorial blog post [1]. However testing it, I noticed
  a bug where any page pushed for the first time since the application
  start is not pushed properly.

  Steps to reproduce:
  1. Branch sample application project "bzr branch lp:~nik90/+junk/themebug
  2. Run app
  3. Press "Tap me" button to push a page

  What happens
  The mainPage contents are still shown despite pushing a page into the pagestack. The Page header is also missing title, buttons etc.

  What should happen
  The child page is pushed and its contents are shown.

  What I also noticed is that pressing the "Tap me" button again pushes
  the page correctly. However now the user needs to pop the page twice
  to go back to the main page.

  This was tested on a Nexus 4 running the image channel ubuntu-touch
  /rc-proposed/ubuntu #1 (likely to become OTA-4)

  [1] https://developer.ubuntu.com/en/blog/2015/03/17/creating-theme-
  your-application/

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


Follow ups

References