← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1493178] [NEW] PageHeadStyle should coordinate Page.head.contents and the ActionBar to not overlap, if possible

 

Public bug reported:

In my app "Lone Wolf", I use Page.head.contents to add an interactive widget to the page header.  It looks like this:
https://myapps.developer.ubuntu.com/site_media/appmedia/2015/09/screenshot20150803_125313389.png

In SDK 1.3, there are up to three action icons shown, instead of the one
in SDK 1.2.  This means the header is too crowded and Page.head.contents
may overlap the action icons, depending on how long the page title is
(and how wide the screen is of course).

Looking at PageHeadStyle.qml, there is no relationship between
Page.head.contents.width and ActionBarStyle.width.  But I think there
should be.

I don't seem to have any control over ActionBarStyle.numberOfSlots
myself.  Or any control over how wide the ActionBar is.

In short, I can't figure out how to replicate my header behavior with
SDK 1.3.  Maybe the answer is I shouldn't stick widgets in the header?
But otherwise, I'd consider this a bug.

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

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1493178

Title:
  PageHeadStyle should coordinate Page.head.contents and the ActionBar
  to not overlap, if possible

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

Bug description:
  In my app "Lone Wolf", I use Page.head.contents to add an interactive widget to the page header.  It looks like this:
  https://myapps.developer.ubuntu.com/site_media/appmedia/2015/09/screenshot20150803_125313389.png

  In SDK 1.3, there are up to three action icons shown, instead of the
  one in SDK 1.2.  This means the header is too crowded and
  Page.head.contents may overlap the action icons, depending on how long
  the page title is (and how wide the screen is of course).

  Looking at PageHeadStyle.qml, there is no relationship between
  Page.head.contents.width and ActionBarStyle.width.  But I think there
  should be.

  I don't seem to have any control over ActionBarStyle.numberOfSlots
  myself.  Or any control over how wide the ActionBar is.

  In short, I can't figure out how to replicate my header behavior with
  SDK 1.3.  Maybe the answer is I shouldn't stick widgets in the header?
  But otherwise, I'd consider this a bug.

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


Follow ups