-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swapping screens while in Landscape Mode forces Portrait layout (and vice versa) #387
Comments
Okay the fact that this is still happening on 2117 despite it's internal refactor of portrait layouts is interesting. I'm going to try to dig into this. Before I dig into his one question - when it forces it into Portrait mode on screen swap, is it actually rotated sideways into Portrait mode are are you just getting the portrait (vertical) layout in a landscape orientation? |
I wonder if running this on waydroid on my steam deck would give me the same behavior. I might try that for easier testing than trying to mess with my phone resolution. |
Nope, not rotated. Just the Portrait layout in Landscape orientation, and vice versa. |
I think this build fixes it, can you download and try? It seemed to fix when I did my weird screen res testing. https://github.com/Lime3DS/Lime3DS/actions/runs/10518347122/artifacts/1845219735 |
I had this exact issue with 2116, have not tested with 2117 |
Yup, that did it! The swapping works as intended now, in either display configuration. Nice! |
Is there an existing issue for this?
Affected Build(s)
2117
Description of Issue
This is more than likely an existing issue, but I want to elaborate further on why I think this is happening. First, a bit of context:
So to figure out why this issue exists, I ran 2 scenarios, altering the screen resolution using the SecondScreen app:
Now on the Lime3DS screen swap issue...
Expected Behavior
I expect that the app should be able to detect the device's actual orientation regardless of what orientation the screen itself was natively made as, so the mis-swap wouldn't occur. In my case with the Nintendo Switch, even though I'm holding the device in Landscape and the screen is also in Landscape, the app clearly still thinks it's in Portrait, because the screen itself is natively Portrait.
Reproduction Steps
On a typical Android phone, you should be able to reproduce this by changing the screen resolution with the SecondScreen app. Change the resolution such that if the device's native resolution was 720x1280, then change it to become 720x405. This will then create a mismatch between the device's native orientation and the screen's actual orientation, and then hopefully this issue can be reproduced and fixed.
Log File
I'll provide one if needed, but hopefully the reproduction steps should suffice.
System Configuration
CPU: Quad-core ARM Cortex-A57 @ 1.78 GHz
GPU/Driver: Custom Nvidia GPU
RAM: 4 GB
OS: Android 10
The text was updated successfully, but these errors were encountered: