Messaging app should not rotate upside down

Bug #1367459 reported by Renato Araujo Oliveira Filho
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
messaging-app (Ubuntu)
Fix Released
Medium
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Invalid
Medium
Zsombor Egri
unity8 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

The messaging app should not rotate upside down.
This can be confuse, and in some cases causes problems for example the user can try to answer a call in the incorrect position.

Tags: landscape
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

Adding ubuntu SDK since the rotation happens on MainWindow component, and I think this should be valid for any app.

Revision history for this message
Cris Dywan (kalikiana) wrote :

The rotation is the responsibility of the shell ie. Unity8. What orientations are allowed are up to platform policy. If a phone shouldn't allow upside down the platform should prevent that from happening.

affects: ubuntu-ui-toolkit → unity8
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Adding back the SDK as an application doesn't have a possibility to control which orientations it supports. So far MainView only supports autoOrientationEnabled true/false which isn't enough information.

affects: unity8 → unity8 (Ubuntu)
Revision history for this message
Zsombor Egri (zsombi) wrote :

True, MainView or OrientationHelper has no possibilities to specify which orientation is supported.

Bill Filler (bfiller)
Changed in messaging-app:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Zsombor Egri (zsombi) wrote :

We must agree on an implementation with unity8 on how to drive the orientations allowed for an app.

Changed in ubuntu-ui-toolkit:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Christian Dywan (kalikiana)
assignee: Christian Dywan (kalikiana) → Zsombor Egri (zsombi)
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

in android if you turn your phone upside down it rotate back to the original position. We could do the same on the MainWindow implementation. I believe we do not need unity8 changes do to that.

Revision history for this message
Zsombor Egri (zsombi) wrote :

Renato, as far as I know unity8 will also rotate. So it is nonsense to implement something in toolkit then deprecate, because we need to drive the rotation control between unity and toolkit. Of course, defining the flags that drive the rotation direction is one thing, that can be done as well, but I'd rather sync with unity before we do anything. OrientationHelper can be extend any time, however that is just a temp solution.

Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Michał Sawicz (saviq) wrote :

Agreed, unity8 will soon start telling apps which orientation the phone goes to, respecting the orientation lock. When shell starts rotating, most apps will actually be rotated by the shell (that will first ask the app whether it wants that). The app will just be resized.

Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Zsombor Egri (zsombi)
importance: Undecided → Medium
status: New → Triaged
Zoltan Balogh (bzoltan)
no longer affects: ubuntu-ui-toolkit
Cris Dywan (kalikiana)
tags: added: landscape
affects: messaging-app → messaging-app (Ubuntu)
Revision history for this message
Florian Boucault (fboucault) wrote :

Probably fixed now :)

Revision history for this message
Sebastien Bacher (seb128) wrote :

seems to be fixed since the shell rotation landing

Changed in messaging-app (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Michael Zanetti (mzanetti) wrote :

FWIW, the shellRotation disables upside-down for krillin, mako and arale. If we ever should have a device where rotating upside down is intentionally enabled for the shell, the messaging app will do so too. Not saying this is wrong, just to make sure there's a common understanding of how it works.

Changed in unity8 (Ubuntu):
status: Triaged → Fix Released
Changed in ubuntu-ui-toolkit (Ubuntu):
status: Triaged → Invalid
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.