Bug 12052 - Orientation lock causes incoming call to not display properly
: Orientation lock causes incoming call to not display properly
Status: NEW
Product: Maemo 5 Community SSU
hildon-desktop
: unspecified
: N900 Maemo
: Unspecified minor with 2 votes (vote)
: ---
Assigned To: unassigned
: general
:
:
:
:
  Show dependency tree
 
Reported: 2011-03-14 12:40 UTC by David Baker
Modified: 2012-04-22 18:06 UTC (History)
5 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description David Baker (reporter) 2011-03-14 12:40:14 UTC
SOFTWARE VERSION: 
Version: 20.2010.36-2maemo13

EXACT STEPS LEADING TO PROBLEM: 
1. Phone > Turning control > Display orientation set to "Portrait".
2. Status menu > Orientation lock set to "Landscape orientation locked".
3. Receive a phone call.

EXPECTED OUTCOME: 
All buttons are visible on the screen.

ACTUAL OUTCOME: 
Display is the portrait layout stretched onto the landscape display.
Resulting in a stretched Answer button and the reject button being off the
screen.

REPRODUCIBILITY: 
10/10

EXTRA SOFTWARE INSTALLED: 

OTHER COMMENTS: 
I am unsure which component is causing this, so I've added the bug as general.
Comment 1 Andre Klapper maemo.org 2011-03-14 12:43:16 UTC
Is "forcerotation" activated?
Comment 2 David Baker (reporter) 2011-03-14 12:48:40 UTC
(In reply to comment #1)
> Is "forcerotation" activated?
Yes force rotation is activated.
Comment 3 Andre Klapper maemo.org 2011-03-14 13:11:08 UTC
Resolving as INVALID, as per:
    http://talk.maemo.org/showpost.php?p=953421&postcount=969

"forcerotation" is not designed to enable system-wide portrait use, and a
number of apps are known to break:
    http://wiki.maemo.org/Community_SSU/Features/Portrait_mode
Comment 4 David Baker (reporter) 2011-03-14 13:20:03 UTC
(In reply to comment #3)
> Resolving as INVALID, as per:
>     http://talk.maemo.org/showpost.php?p=953421&postcount=969
> 
> "forcerotation" is not designed to enable system-wide portrait use, and a
> number of apps are known to break:
>     http://wiki.maemo.org/Community_SSU/Features/Portrait_mode

With force rotation turned off the problem is still there.
Comment 5 Andre Klapper maemo.org 2011-03-14 13:33:41 UTC
Like this?: https://bugs.maemo.org/attachment.cgi?id=2256
That sounds like bug 8958 but that one should have been fixed by PR1.2...
Comment 6 David Baker (reporter) 2011-03-14 13:41:25 UTC
(In reply to comment #5)
> Like this?: https://bugs.maemo.org/attachment.cgi?id=2256
> That sounds like bug 8958 but that one should have been fixed by PR1.2...

Yes, that's what it looks like.
Comment 7 Andrew Flegg maemo.org 2011-03-14 21:23:37 UTC
I think (having been trying to implement a portrait lock, for applications
which support it) the way that the current implementation of landscape lock
works is incorrect.

By implementing it in hildon-desktop, the windows are shown correctly; however
the application is not notified of the choice. So, for example, if Phone is set
to show in "Portrait only" this problem will occur.

There are two approaches, I think:

  1) Take account of "portrait demanded" in hildon-desktop/src/hd-comp-mgr.c
     and see if that solves the issue.

  2) Implement the orientation lock at a lower level, i.e. the signals sent
     to the applications about rotation.

I think #2 is the better option, but a wholly different approach :-/
Comment 8 Serhiy Zahoriya 2011-03-22 00:38:44 UTC
For me it's a bug that became a feature: before this lock I had to wait 1-3
seconds (!) until phone will rotate so I can answer it. And now the only button
that is hidden is hang up button which still can be triggered by "screen down"
gesture. And in this way I can answer the phone without looking at it because
answer button place is predictible.
Comment 9 Christian Ratzenhofer 2012-04-22 18:06:58 UTC
*** Bug 12475 has been marked as a duplicate of this bug. ***