Rotation stops working

Bug #1443882 reported by Ed Kapitein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtubuntu-sensors (Ubuntu RTM)
New
Undecided
Unassigned
unity8 (Ubuntu RTM)
Incomplete
Undecided
Unassigned

Bug Description

On the ubuntu phone, update to the latest release (r20), rotation sometimes stops working.
( the rotation lock is not set ofc )
Some pages are landscape, some are portrait, and none of them rotate anymore.
Switching the rotation lock on and off does not change anything.

Closing the scopes and opening them again does not help.
Restarting the phone restores the functionality, at least for a while.

Revision history for this message
Michał Sawicz (saviq) wrote :

Can you clarify what you mean by "pages"? You mention scopes, but they never rotate?

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

Can you please have a look into ~/.cache/upstart/unity8.log an see whether these messages are printed when you rotate the phone:

qtmir.sensor: Screen::customEvent - new orientation 1 handled
qtmir.surfaces: MirSurfaceItem::setOrientation - orientation= 1
qtmir.sensor: Screen::onOrientationReadingChanged
qtmir.sensor: Screen::customEvent - new orientation 2 handled
qtmir.surfaces: MirSurfaceItem::setOrientation - orientation= 2

affects: qtubuntu-sensors (Ubuntu) → qtubuntu-sensors (Ubuntu RTM)
affects: unity8 (Ubuntu) → unity8 (Ubuntu RTM)
Revision history for this message
Ed Kapitein (ed-kapitein) wrote : Re: [Bug 1443882] Re: Rotation stops working

For some reason rotation now stopped working at all.
By pages i mean that what is displayed on the screen.
My system settings were landscape, while the today scope would be portrait.
Also apps, in this case terminal, were landscape.
( i whised i had made screenshots... )

I checked with the app "SensorStatus" if y and z were stuck, but that
was not the case,
i got different readings when tilting the device.
X seems to be stuck at -19.4890... but that was the way it was from the
beginning.

I did restart the device, but to no avail.
Any suggestions on what process to check on the phone to see what the
cause of the problem is?
( dbus? )

Kind regards,
Ed

On 04/14/2015 01:31 PM, Michał Sawicz wrote:
> Can you clarify what you mean by "pages"? You mention scopes, but they
> never rotate?
>
> ** Changed in: unity8 (Ubuntu)
> Status: New => Incomplete
>

Revision history for this message
Ed Kapitein (ed-kapitein) wrote :

Hi,

No, there is never a line printed about orientation when i rotate the
phone.

Kind regards,
Ed

On 04/14/2015 01:33 PM, Michał Sawicz wrote:
> Can you please have a look into ~/.cache/upstart/unity8.log an see
> whether these messages are printed when you rotate the phone:
>
> qtmir.sensor: Screen::customEvent - new orientation 1 handled
> qtmir.surfaces: MirSurfaceItem::setOrientation - orientation= 1
> qtmir.sensor: Screen::onOrientationReadingChanged
> qtmir.sensor: Screen::customEvent - new orientation 2 handled
> qtmir.surfaces: MirSurfaceItem::setOrientation - orientation= 2
>
> ** Also affects: qtubuntu-sensors (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Package changed: qtubuntu-sensors (Ubuntu) => qtubuntu-sensors
> (Ubuntu RTM)
>
> ** Package changed: unity8 (Ubuntu) => unity8 (Ubuntu RTM)
>

Revision history for this message
Ed Kapitein (ed-kapitein) wrote :

After a full night at the charger, rotation works again!
No idea if it is a power related bug.

I can't think of anything i have done to make it work again.
I did set an alarm, removed some unused apps and enabled gps.
Hope it keeps on working, i will check later when the battery is lower.

Kind regards,
Ed

On 04/14/15 14:45, Ed Kapitein wrote:
> For some reason rotation now stopped working at all.
> By pages i mean that what is displayed on the screen.
> My system settings were landscape, while the today scope would be
> portrait.
> Also apps, in this case terminal, were landscape.
> ( i whised i had made screenshots... )
>
> I checked with the app "SensorStatus" if y and z were stuck, but that
> was not the case,
> i got different readings when tilting the device.
> X seems to be stuck at -19.4890... but that was the way it was from
> the beginning.
>
> I did restart the device, but to no avail.
> Any suggestions on what process to check on the phone to see what the
> cause of the problem is?
> ( dbus? )
>
> Kind regards,
> Ed
>
>
> On 04/14/2015 01:31 PM, Michał Sawicz wrote:
>> Can you clarify what you mean by "pages"? You mention scopes, but they
>> never rotate?
>>
>> ** Changed in: unity8 (Ubuntu)
>> Status: New => Incomplete
>>
>

Revision history for this message
Ed Kapitein (ed-kapitein) wrote :

Hi Michał,

I found a way to reproduce the bug, i hope that helps.
If you open the "SensorStatus" app all readings (x, y, z) are giving
changing values.
If you keep the phone in portrait mode and you hit a table with the
bottom of the phone ( gently ofc ),
the X reading is stuck at -19.48900.... and rotation is locked.
If you then hit the table again with the lower right corner, X will give
changing values and rotation is restored.

My guess is that a (gentle) bump will overload the sensor somehow and
keep it stuck.

Can you confirm that you can reproduce the bug?

Kind regards,
Ed

On 04/14/2015 01:31 PM, Michał Sawicz wrote:
> Can you clarify what you mean by "pages"? You mention scopes, but they
> never rotate?
>
> ** Changed in: unity8 (Ubuntu)
> Status: New => Incomplete
>

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.