osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.67k stars 1.02k forks source link

Screen orientation issue - suggestion to solve as Quick Action #15093

Open 4sStylZ opened 2 years ago

4sStylZ commented 2 years ago

🚀 feature request

Description

Issue that I want to solve

My Motorcycle Holder is in Landscape mode, but while navigating, I get my phone on portrait mode to use Osmand because the keyboard is huge in landscape and not very user friendly.

That's why I use « Screen orientation » set up as « Same as device ». But while riding my bike, I encounter some troubles because my Device is constantly switching between the two landscape orientation mode. It's very annoying because all the screen is reversed, and I have to wait for stabilisation.

It appear while going fast, braking, accelerating, or while off-roading.

Describe alternatives you've considered

Proposal

Provide a way for the user to set up a list of accepted screen orientation for a specific profile so the screen is not reversed during nav. e.g., while riding a motorcycle in auto rotation mode, I can have a list of 2 accepted orientations.

Describe the solution you'd like

A setting called « List of Accepted orientation » or « Automatic between a list » that provide a list of 4 toggle.

* General settings
    * <Profile Name>
        * Appearance
            * Screen Orientation
            _Same as device_
            * List of Accepted Orientation
                * Portrait Top to Bottom <on/off toggle>
                * Portrait Bottom to Top <on/off toggle>
                * Landscape Right to Left <on/off toggle>
                * Landscape Left to Right <on/off toggle>

Or

A new Screen orientation mode such as :

* General settings
    * <Profile Name>
        * Appearance
            * Screen Orientation
                 * Portrait
                 * Landscape
                 * Same as Device
                 * Automatic between a list
                      * Portrait Top to Bottom <on/off toggle>
                      * Portrait Bottom to Top <on/off toggle>
                      * Landscape Right to Left <on/off toggle>
                      * Landscape Left to Right <on/off toggle>

Others wordings idea :

    * Portrait Top to Bottom <on/off toggle>
    * Portrait Bottom to Top <on/off toggle>
    * Landscape Right to Left <on/off toggle>
    * Landscape Left to Right <on/off toggle>
vshcherb commented 2 years ago

It's probably you can have 2 profiles for that manner or we need to have quick action to quickly change orientation. Cause this solution won't help other cases when riding will flip from Portrait <-> Landscape.

scaidermern commented 2 years ago

What about a new quick action to switch between device orientations?

4sStylZ commented 2 years ago

It's probably you can have 2 profiles for that manner or we need to have quick action to quickly change orientation. Cause this solution won't help other cases when riding will flip from Portrait <-> Landscape.

I am not sure if this will flip to portrait, because when I ride, my phone never switch between Portrait and Landscape. Meaning that the gyro or some sensor just take a big input when I brake or accelerate. About the idea to have 2 profile, it means that I will have to duplicate the profile to not have GPS navigation recalculation. Seem's a bad idea to me to have to duplicate my profile just to have a different orientation setting. The quick action is way better in my mind.

Here is a preview of what happen during my ride. I know that this is probably a extreme style of driving, but it also happen when I ride chill and off-road at a very low speed.

I am pretty sure that it can really be better, and avoid at least 90% of my issues, at least with my phone / sensors / GPS holder. Sure I have no proof that it can solve all the use-case. But if the switch between Portrait and landscape mode happen, it's below 10% of the time, and I just have to wait 3 sec to have a bit of stabilisation for the phone to take the good orientation.

What about a new quick action to switch between device orientations? It can really be a 1st step into the good direction, and involve less developpement I suppose. But it mean that I will have to switch the orientation with the quick action every time I take my phone on my hand (it's a huge phone, and typing to search address in landscape is not wonderfull).

I also thinked about this idea, and despite that it's not perfect and fully automatic, I think I would love it, and use it because it's better than the actual situation in my specific use-case.

Thank you for your interrest.

dmpr0 commented 1 year ago

ToDo

As first step I propose to add quick action to change Screen orientation.

MrManatane commented 1 year ago

Hello, I have one information and an addendum