App should start with larger window on desktop

Bug #1297463 reported by Alan Pope 🍺🐧🐱 🦄
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Fix Released
Low
Marcin
Ubuntu Shorts App
Fix Released
Low
Marcin
Ubuntu Weather App
Triaged
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

Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
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)
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)
tags: added: bacon-dogfood
David Planella (dpm)
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)
Changed in ubuntu-calendar-app:
assignee: nobody → Marcin Leśniowski (marcinello)
Marcin (marcinello)
Changed in ubuntu-calendar-app:
status: Triaged → In Progress
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

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)
Changed in ubuntu-rssreader-app:
assignee: nobody → Marcin Leśniowski (marcinello)
Marcin (marcinello)
Changed in ubuntu-rssreader-app:
status: Triaged → In Progress
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.