← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

[Bug 1508363] Re: Coordinated migration to UITK 1.3

 

The Music and Weather app teams have been trying to determine how we can
read the MainView or Page's Header height with the new API. With the
updated imports to UITK 1.3 we are unable to do things like the
following:

edgeLoader.item.flickable.contentY = -page.header.height

A large number of apps (clock, weather, filemanager, and probably
others) use a PageWithBottomEdge component that make this or similar
assignments. [1][2][3][4]

How can we access the height of the header in a reasonable fashion that
also includes any Header Sections that may also be defined?

1- http://bazaar.launchpad.net/~ubuntu-weather-dev/ubuntu-weather-app/reboot/view/head:/app/components/PageWithBottomEdge.qml#L111
2 - http://bazaar.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/trunk/view/head:/app/upstreamcomponents/PageWithBottomEdge.qml#L107
3 - http://bazaar.launchpad.net/~ubuntu-filemanager-dev/ubuntu-filemanager-app/trunk/view/head:/src/app/qml/upstream/PageWithBottomEdge.qml#L108
4 - http://bazaar.launchpad.net/~music-app-dev/music-app/trunk/view/head:/app/ui/NowPlaying.qml#L143

-- 
You received this bug notification because you are a member of Ubuntu
Shorts Developers, which is subscribed to Ubuntu Shorts App.
Matching subscriptions: Ubuntu RSS Reader Bugmail
https://bugs.launchpad.net/bugs/1508363

Title:
  Coordinated migration to UITK 1.3

Status in Canonical System Image:
  In Progress
Status in Ubuntu Music App:
  In Progress
Status in Ubuntu Notes app:
  New
Status in Ubuntu Calculator App:
  In Progress
Status in Ubuntu Calendar App:
  New
Status in Ubuntu Clock App:
  In Progress
Status in Ubuntu Document Viewer App:
  In Progress
Status in Ubuntu Shorts App:
  In Progress
Status in Ubuntu Weather App:
  Triaged
Status in Weather:
  New
Status in address-book-app package in Ubuntu:
  In Progress
Status in calendar-app package in Ubuntu:
  Confirmed
Status in camera-app package in Ubuntu:
  Fix Released
Status in dialer-app package in Ubuntu:
  In Progress
Status in gallery-app package in Ubuntu:
  In Progress
Status in messaging-app package in Ubuntu:
  In Progress
Status in music-app package in Ubuntu:
  Confirmed
Status in reminders-app package in Ubuntu:
  Fix Committed
Status in ubuntu-clock-app package in Ubuntu:
  Confirmed
Status in ubuntu-system-settings package in Ubuntu:
  In Progress
Status in ubuntu-system-settings-online-accounts package in Ubuntu:
  In Progress
Status in ubuntu-weather-app package in Ubuntu:
  Confirmed
Status in unity8 package in Ubuntu:
  In Progress
Status in webbrowser-app package in Ubuntu:
  Fix Released

Bug description:
  The migration to 1.3 needs to happen in a coordinated way, so that
  shell and all apps we care of migrate within the same OTA window to
  reduce visual inconsistencies to a minimum.

  This bug is a means to collect all the projects affected and keep tabs
  on what's happening.

  NOTES:
  - The toolkit has the following modules:
     Ubuntu.Components 1.3
     Ubuntu.Components.ListItems 1.3
     Ubuntu.Components.Pickers 1.3
     Ubuntu.Components.Popups 1.3
     Ubuntu.Components.Styles 1.3
     Ubuntu.Components.Themes 1.3
     Ubuntu.Components.Themes.Ambiance 1.3
     Ubuntu.Components.Themes.SuruDark 1.3

  - The following modules were not altered recently:
     Ubuntu.Layouts 1.0
     Ubuntu.PerformanceMetrics 1.0

  - Theme is now theme (lowercase)
  - PageHeadStyle now has a "config" property

  In manifest.json file use:
     "framework": "ubuntu-sdk-15.04.1-qml"

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1508363/+subscriptions