Skip to content
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

Portrait mode doesn't stick between sessions #1148

Open
Elaborendum opened this issue Aug 30, 2024 · 8 comments
Open

Portrait mode doesn't stick between sessions #1148

Elaborendum opened this issue Aug 30, 2024 · 8 comments
Labels
bug Something isn't working help wanted Extra attention is needed ¿ What the f**k

Comments

@Elaborendum
Copy link

  1. Enable portrait mode
  2. Restart the app
  3. There's a chance its in portrait mode, most of the time (for me) it isn't.
  4. Repeat the process relaunching the app until its in portrait mode

Even if its finally launched in portrait mode, next time I open the app its back to landscape and I have to relaunch it multiple times for it to turn portrait. The check for portrait mode never unticks on its own either, it can be clearly on landscape while portrait is enabled in the settings since before the last launch.

@Not-A-Normal-Robot Not-A-Normal-Robot added bug Something isn't working wait verify Questions awaiting further confirmation ¿ What the f**k labels Aug 31, 2024
@Not-A-Normal-Robot
Copy link
Member

Not-A-Normal-Robot commented Aug 31, 2024

I wasn't able to verify this bug happening on 0.17.21 (Redmi 9, MIUI 13, Android 12)

Are you sure you have the latest version of Techmino?

Also if you're on iOS have you tried orienting your phone differently when opening the app?

@shoucandanghehe
Copy link
Member

This mode always has some magical behavior lol
Especially Apple devices

@Elaborendum
Copy link
Author

Forgot to specify my setup. I'm on version 0.17.21, on a Galaxy A12, OneUI 5.1, Android 13. Just installed right it from GitHub. Still happens even if I have locked orientation or not.

The reddit thread I originally found Techmino through also had a user with the same problem https://reddit.com/r/Tetris/comments/11466xf/is_there_a_good_app_for_android/j8vxys0/?context=3. But its from one year ago.

@shoucandanghehe
Copy link
Member

I think it may only on oneui, is there anyone else who can test it?

@shoucandanghehe shoucandanghehe added the help wanted Extra attention is needed label Aug 31, 2024
@ImpleLee
Copy link
Contributor

Cannot verify on my device (0.17.21, Galaxy S23, OneUI 6.1, Android 14).

@Not-A-Normal-Robot
Copy link
Member

I decided to try reproducing this bug one more time for some reason, and was finally able to confirm it exists.

Screenshot_2024-08-31-13-59-32-911_org.f26_studio.Techmino.jpg

Screenshot_2024-08-31-14-01-33-764_org.f26_studio.Techmino.jpg

It seems to be a lot rarer than how OP suggested it was. Or one of us got unlucky.

Maybe it has to do with how quick you relaunch Techmino?

@Not-A-Normal-Robot Not-A-Normal-Robot removed the wait verify Questions awaiting further confirmation label Aug 31, 2024
@Elaborendum
Copy link
Author

It happens consistently for m. First time it took like 4 relaunches to turn it portrait. Played a bit, then closed the app. Tried launching it again a few hours later and it was back to landscape and relaunched it a bunch of times before it went back to portrait.

@Not-A-Normal-Robot
Copy link
Member

Not-A-Normal-Robot commented Aug 31, 2024

If anyone knows the superuser key and experiences this bug, I'm curious what the output of this command would be, under superuser mode in the Techmino terminal:

#return fs.read('conf/settings'):find('"portrait":true')

When it's working properly it returns a positive integer. When it isn't it may return -1... or not.

Nevermind, when portrait mode isn't working it still returns a positive integer... That's really strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed ¿ What the f**k
Projects
None yet
Development

No branches or pull requests

4 participants