Screen.orientation should change on device rotation, not flip Screen.width/height

Bug #1521213 reported by Gerry Boland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtmir (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm logging this more for record.

On another linux-based phone, testing Screen.orientation/width/height I found the following:

Screen.width/height were fixed to the physical dimensions of the screen, independent of orientation
Screen.orientation would change based on the device orientation
Screen.primaryOrientation also fixed and unchanged.

On Ubuntu phone, we're doing things differently:

Screen.width/height were fixed to the physical dimensions of the screen, but are flipped based on the device orientation
Screen.orientation is always fixed
Screen.primaryOrientation changes based on device orientation.

We did what we did for reasons, but would be good to revisit those reasons as other Qt apps may rely on the more standard approach.

Gerry Boland (gerboland)
Changed in qtmir:
status: New → Confirmed
Michał Sawicz (saviq)
affects: qtmir → qtmir (Ubuntu)
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.