September 5, 2022, 2:32pm
This was detected in other AI2 distros and
it was the main reason I switched to Niotron. Unfortunately, after the New Update 2.7.0, this horrible bug also came to Niotron builder.
This bug present In Beta Server.
Issue: When app open screen start with landscape type then automatically set in portrait
Set screen Type
[Screenshot 2022-08-22 at 1.20.19 AM]
If Possible Please check This Bug . Thank You
This was previously reported on the beta server, but still not fixed before the update.
There is nothing in blocks, nor decompiling the apk, that is possible as a quick or permanent fix to it. I’ve already tried several ways (maybe I lack knowledge), but nothing has been able to prevent, even provisionally, this event.
Please, kindly take a look at this issue and be the first among others to solve it.
@Fabio We sincerely apologize for any inconvenience this may have caused you. Please let me know if you used any screen-changing animations or changed the orientation from portrait.
September 5, 2022, 5:48pm
Thank you very much for this quick response.
In this project, yes, but the issue occurs in a simple, white page, project. I just forgot to mention that the screen is set to portrait and the device has to be (a bit) in landscape position.
Consequently, you have used both portrait and landscape modes. Am I correct?
September 6, 2022, 1:06am
portrait and landscape
If you are talking about phone position, yes. But if you’re talking about configuration, no. The screen orientation is set to portrait and the phone screen orientation is locked, even so the bug happens.
Does this occur on both servers?
September 6, 2022, 2:01am
Yes, I saw it was reported on beta server…
Please fix this bug. Thank you
and when the update was released I checked to confirm I could reproduce the bug on the main server.
September 6, 2022, 3:45am
When you click for open other screen also get same issue. Multiple report done from maximum niotron user till now it’s present.
And this is very occurred. For user who use app
September 6, 2022, 5:55am
I have tested and, unfortunately,
this issue/bug is present in all AI2 distros.
September 7, 2022, 3:14pm
@iaditya_nanda is this issue resolved ?
September 9, 2022, 2:36pm
I have tested in few devices working as expected. Can you tell the device model along with android version?
September 9, 2022, 2:54pm
MotoG20 Android 11
The bug happens when the device is hang totally or a bit in landscape position.
September 10, 2022, 11:23am
Yes, and this only happens if →
Auto-rotate screen is enabled in the device Settings.
Try this one:
ScreenPortrait2.apk (4.8 MB)
Open the app in
Landscape mode and switch screens.
(Note: Each screen will open, close, and reopen after switching.)
September 10, 2022, 12:23pm
I test your apk. Results is
September 10, 2022, 4:40pm
Auto-rotate screen is
I also asked a few friends to test in their devices and they said it happens too.
September 10, 2022, 10:18pm
I have 19 test devices with Android 4.x, 5.x, 7, 8.x, 9, 10, 11, 12, 13.
I tested my app on (real) devices with Android
cannot reproduce this behavior on any of these devices. Neither with Auto-rotate enabled or disabled.
1. On which device with which Android version did you test?
2. Post your APK (which shows this behavior).
September 10, 2022, 10:53pm
I understand your point, and it’s kind of sad that this is only happening to me, some community users (in all AI2 distros) or those who have tested for me.
MotoG20 Android 11
Galaxy A10 Android 11
Zen Phone Android 8.1
Moto G5 Play Android 7
Redmi 7 Android 10
Nox Player (Emulator) Androids 7 and 9 CartasparaDeus.apk (8,2,MB)
There’s no specific APK, because even a blank project, as your test one, shows this behavior.
I use a procedure to make screen responsive for all devices and that makes the bug even more visible. However, if it’s a simple project without this procedure, the behavior is still shown.
September 11, 2022, 8:28am
To finally clarify things:
Auto rotate on/off?
Device position at the time the app is started (Portrait or Landscape)?
Test device / Android version for your video recording?
Was the device rotated during video recording (yes or no)?
If possible, make a video with another device of the behavior of your test device.
September 11, 2022, 9:57am
Auto rotate on/off?
_ I’m holding it a bit in landscape position.
_ Yes, to show that the behavior happens even after rotating the device to portrait and back to landscape.