App should start with larger window on desktop

Bug #1297463 reported by Alan Pope ๐Ÿบ๐Ÿง๐Ÿฑ ๐Ÿฆ„ on 2014-03-25
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Low
Marcin
Ubuntu Shorts App
Low
Marcin
Ubuntu Weather App
Low
Martin Borho

Bug Description

Some core apps appear to start in a phone-size window on the desktop.
They should start larger with the converged view rather than the usual phone view.
Music-app is an example of an app which starts with a larger more appropriate view on the desktop.

Related branches

Martin Borho (martin-borho) wrote :

So what should be default layout when ConditionalLayout is used, phone or tablet?

The initial size in MainView should match the default layout, afaik.

Nekhelesh Ramananthan (nik90) wrote :

@Martin, May I ask who told you that the initial Mainview size should match the default layout? Just asking since I am having an issue with Layouts when I set the default layout to phone but set the inital mainview size to a tablet interface.

Martin Borho (martin-borho) wrote :

@Nekhelesh exactly, I had an issue too with the weather app some time ago. (Perhaps you can remember?)

Problem is/was, that the first rendering of the UI assumes the size set in MainView and tries to readjust the layout later on when finished. When started on the phone, due to some slower tablet parts, there was an overlay of a tablet component above the phone layout.... Switching to intial phone size fixed this and made startup faster and less flaky.

I don't know, if there's a way to get the size right immediately at startup time, or to set the initial size in MainView in conjunction of the platform, tablet or phone.

My conclusion was: It should work better, when the first time CondtionalLayout gets involved, the size is reflecting the correct size of the device. But don't know if this is right.

Zsombor Egri (zsombi) wrote :

ConditionalLayouts will be activated only after the Layouts component completes. By that time the default layout elements should be up to date, unless you have a component that will be dynamically loaded and it is still a subject of lay outing. Like if the default layout uses Loader to load a document that has elements to be laid out differently.

Martin Borho (martin-borho) wrote :

Weather app will stick to phone default layout, until form-factor hints will be available in the sdk. (post14.04)

Changed in ubuntu-weather-app:
assignee: nobody → Martin Borho (martin-borho)
status: New → Confirmed
importance: Undecided → Medium
David Planella (dpm) on 2014-03-26
Changed in ubuntu-calendar-app:
milestone: none → hackdays-1403
Changed in ubuntu-rssreader-app:
milestone: none → hack-days-1309
milestone: hack-days-1309 → none
Changed in ubuntu-weather-app:
milestone: none → hackdays-1403
David Planella (dpm) on 2014-03-27
tags: added: bacon-dogfood
David Planella (dpm) on 2014-03-27
tags: added: bitesize
Changed in ubuntu-weather-app:
status: Confirmed → Triaged
Changed in ubuntu-calendar-app:
status: New → Triaged
importance: Undecided → Medium
Changed in ubuntu-rssreader-app:
status: New → Triaged
importance: Undecided → Medium
Changed in ubuntu-weather-app:
importance: Medium → Low
Changed in ubuntu-rssreader-app:
importance: Medium → Low
Changed in ubuntu-calendar-app:
importance: Medium → Low
Marcin (marcinello) on 2014-03-27
Changed in ubuntu-calendar-app:
assignee: nobody → Marcin Leล›niowski (marcinello)
Marcin (marcinello) on 2014-03-31
Changed in ubuntu-calendar-app:
status: Triaged → In Progress

Fix committed into lp:ubuntu-calendar-app at revision 227, scheduled for release in ubuntu-calendar-app, milestone alpha-1

Changed in ubuntu-calendar-app:
status: In Progress → Fix Committed
Marcin (marcinello) on 2014-04-01
Changed in ubuntu-rssreader-app:
assignee: nobody → Marcin Leล›niowski (marcinello)
Marcin (marcinello) on 2014-04-01
Changed in ubuntu-rssreader-app:
status: Triaged → In Progress

Fix committed into lp:ubuntu-rssreader-app at revision 197, scheduled for release in ubuntu-rssreader-app, milestone alpha-1

Changed in ubuntu-rssreader-app:
status: In Progress → Fix Committed
Changed in ubuntu-rssreader-app:
status: Fix Committed → Fix Released
Changed in ubuntu-calendar-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers