Assigned
Status Update
Comments
ab...@gmail.com <ab...@gmail.com> #2
Looking so good new version
am...@google.com <am...@google.com> #3
Thank you for reporting this issue.
Please provide the below details to debug this issue further.
1. Please attach your sample android project which reproduces the issue, zip it and share
2. Explain the steps to reproduce the issue with your apk. Provide all necessary information including preconditions if any, to reproduce the issue.
3. Android bug report
After reproducing the issue, press the volume up, volume down, and power button simultaneously. This will capture a bug report on your device in the “bug reports” directory. Attach the bug report file to this issue.
Alternate method:
After reproducing the issue, navigate to developer settings, ensure ‘USB debugging’ is enabled, then enable ‘Bug report shortcut’. To take bug report, hold the power button and select the ‘Take bug report’ option.
4. Screen Record of the issue
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Attach the file to this issue.
Please provide the below details to debug this issue further.
1. Please attach your sample android project which reproduces the issue, zip it and share
2. Explain the steps to reproduce the issue with your apk. Provide all necessary information including preconditions if any, to reproduce the issue.
3. Android bug report
After reproducing the issue, press the volume up, volume down, and power button simultaneously. This will capture a bug report on your device in the “bug reports” directory. Attach the bug report file to this issue.
Alternate method:
After reproducing the issue, navigate to developer settings, ensure ‘USB debugging’ is enabled, then enable ‘Bug report shortcut’. To take bug report, hold the power button and select the ‘Take bug report’ option.
4. Screen Record of the issue
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Attach the file to this issue.
so...@gmail.com <so...@gmail.com> #4
1. Code Sample attached. Cannot attach the original app code because of copyright.
2. Steps to reproduce it:
1. Tap on the first image (this activity is portrait)
2. It will go to a landscape ativity
3. Tap back button
4. Observe that the previous activity goes to portrait, then to landscape and finally portrait again.
Note: On the original app is happening always. On this code sample I was able to reproduce it 5/10 times.
4. Video attached, error on the last seconds.
2. Steps to reproduce it:
1. Tap on the first image (this activity is portrait)
2. It will go to a landscape ativity
3. Tap back button
4. Observe that the previous activity goes to portrait, then to landscape and finally portrait again.
Note: On the original app is happening always. On this code sample I was able to reproduce it 5/10 times.
4. Video attached, error on the last seconds.
am...@google.com <am...@google.com> #5
Could you please share the bugreport too?
Android bug report
After reproducing the issue, press the volume up, volume down, and power button simultaneously. This will capture a bug report on your device in the “bug reports” directory. Attach the bug report file to this issue.
Alternate method:
After reproducing the issue, navigate to developer settings, ensure ‘USB debugging’ is enabled, then enable ‘Bug report shortcut’. To take bug report, hold the power button and select the ‘Take bug report’ option.
Android bug report
After reproducing the issue, press the volume up, volume down, and power button simultaneously. This will capture a bug report on your device in the “bug reports” directory. Attach the bug report file to this issue.
Alternate method:
After reproducing the issue, navigate to developer settings, ensure ‘USB debugging’ is enabled, then enable ‘Bug report shortcut’. To take bug report, hold the power button and select the ‘Take bug report’ option.
so...@gmail.com <so...@gmail.com> #6
Attaching the bug report.
am...@google.com <am...@google.com> #7
Thank you for reporting this issue. We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
so...@gmail.com <so...@gmail.com> #8
Is there any update? I would be great if you can provide more information about this issue. It's getting worse every day and I cannot find any fix.
Thanks
Thanks
am...@google.com <am...@google.com> #9
We have deferred this to a future release, but leaving the bug open for now.
ak...@gmail.com <ak...@gmail.com> #10
The same happens with Nexus 5X(8.1).
ro...@gmail.com <ro...@gmail.com> #11
Same here, reproducing the bug in some of my apps in a Nexus 5X after upgrading to 8.1. It would be great to have at least a workaround.
Thank you.
Thank you.
lu...@gmail.com <lu...@gmail.com> #12
The same problem with Nexus 5X(8.1).
But if I hide navigation bar,it will not happen.
But if I hide navigation bar,it will not happen.
lu...@gmail.com <lu...@gmail.com> #13
#12
I'm sorry, I was wrong.
Hide navigation bar not working.
I'm sorry, I was wrong.
Hide navigation bar not working.
[Deleted User] <[Deleted User]> #14
We have run into this issue on one of our apps as well. We were able to reproduce on the given barebones project in Github. Mind that the Activities are written in Kotlin but are very simple.
The issue happens 100% of the time on the device we've witnessed it on.
https://github.com/bodyshopbidsdotcom/Android8.1OrientationBug
Thanks!
-Anthony
The issue happens 100% of the time on the device we've witnessed it on.
Thanks!
-Anthony
pi...@gmail.com <pi...@gmail.com> #15
Also affected with Nexus 5X - Android 8.1... Can you provide more information when can we expect fix for this issue?
ma...@gmail.com <ma...@gmail.com> #16
Also affected Nexus 6p - Android 8.1.
I have my firstActivity with no restrictions on orientation, and my secondActivity with landscape orientation restriction.
When i return from secondActivity to firstActivity, firstActivity flips from portrait to landscape and again to portrait.
Any news about this bug?
Thank you
I have my firstActivity with no restrictions on orientation, and my secondActivity with landscape orientation restriction.
When i return from secondActivity to firstActivity, firstActivity flips from portrait to landscape and again to portrait.
Any news about this bug?
Thank you
el...@bonnierbroadcasting.com <el...@bonnierbroadcasting.com> #17
I also have the same issue with Nexus 6p - Android 8.1 and Pixel2 - Android 8.1
Exactly as describe above :"I have my firstActivity with no restrictions on orientation, and my secondActivity with landscape orientation restriction.
When i return from secondActivity to firstActivity, firstActivity flips from portrait to landscape and again to portrait."
Exactly as describe above :"I have my firstActivity with no restrictions on orientation, and my secondActivity with landscape orientation restriction.
When i return from secondActivity to firstActivity, firstActivity flips from portrait to landscape and again to portrait."
ai...@gmail.com <ai...@gmail.com> #18
our app is also experiencing the same issue.
es...@hatch.live <es...@hatch.live> #19
We're also experiencing the same issue, rotating back after receiving orientation change in the portrait activity sometimes works, but not always.
ma...@gmail.com <ma...@gmail.com> #20
I found workaround for this issue. In "secondActivity" (landscape) I added additional setRequestOrientation in onPause and onResume method:
onCreate(){
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
}
onPause(){
if (android.os.Build.VERSION.SDK_INT >= 27) {
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT);
}
}
onResume(){
if (android.os.Build.VERSION.SDK_INT >= 27) {
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
}
}
onCreate(){
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
}
onPause(){
if (android.os.Build.VERSION.SDK_INT >= 27) {
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT);
}
}
onResume(){
if (android.os.Build.VERSION.SDK_INT >= 27) {
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
}
}
mi...@gmail.com <mi...@gmail.com> #21
Any good news about fix?
he...@gmail.com <he...@gmail.com> #22
My application got same problem, hope google fix it ASAP.
si...@gmail.com <si...@gmail.com> #23
workaround in #20 is working for me
thanks
thanks
pi...@gmail.com <pi...@gmail.com> #24
Reported in Nov 10 2017... Dear Google what is status of issue.
Comments about workaround are really sad...
Comments about workaround are really sad...
sz...@gmail.com <sz...@gmail.com> #25
+1
he...@gmail.com <he...@gmail.com> #26
Workaround in #20 is good, but didn't fix root cause.
ap...@gmail.com <ap...@gmail.com> #27
I just updated my target SDK to 27, and I'm experiencing this as well. The workaround described in #20 helps most of the time, but the bug still occurs often.
vi...@gmail.com <vi...@gmail.com> #28
Hi Anyone got fix for this issue, am also facing same issue in pixel 2 xl with os 8.1.0
vi...@gmail.com <vi...@gmail.com> #29
Hi all
I can see this issue coming only with hybrid app , mine is Cordova app and am getting issue but I created one native sample in that am not getting issue
I can see this issue coming only with hybrid app , mine is Cordova app and am getting issue but I created one native sample in that am not getting issue
vi...@gmail.com <vi...@gmail.com> #30
#20 solution not working when we launch multiple landscape activities in hybrid app
[Deleted User] <[Deleted User]> #31
#20 is working for me.
lu...@gmail.com <lu...@gmail.com> #32
have same issue on 8.1.0, hope Googlefix this soon.
ba...@gmail.com <ba...@gmail.com> #33
Same issue is present in Android P as well
ha...@gmail.com <ha...@gmail.com> #34
Hey google, any news?
ma...@gmail.com <ma...@gmail.com> #35
Still having this issue. This is a big problem. Please fix this Google!
pr...@gmail.com <pr...@gmail.com> #36
Any update on this issue ?
si...@gmail.com <si...@gmail.com> #37
Am facing same issue in my application while run the app in my pixcel 2 xl .. Any update on this issue?
yo...@gmail.com <yo...@gmail.com> #38
Same issue is present in Google pixcel,Android 8.1。Hope fix it soon!
[Deleted User] <[Deleted User]> #39
The same issue :-(
ak...@gmail.com <ak...@gmail.com> #40
Same issue for us as well. Testing on Nexus 5X API 27 - Android 8.1 (Google Play) x86 CPU. Google, what's going on? You've gone too silent on this.
pi...@gmail.com <pi...@gmail.com> #41
"blocked by: 69392942" Dear google, can you provide more information what is blocker here for fixing issue?
sa...@gmail.com <sa...@gmail.com> #42
I have tried everything it does not work on android 8, 8.1!
ja...@gmail.com <ja...@gmail.com> #43
Hey, Need a solution bug still occurs often. need ultimate solution.
ts...@ymedialabs-migrated.com <ts...@ymedialabs-migrated.com> #44
I am having this same issue
iv...@gmail.com <iv...@gmail.com> #45
#20 work for my redmi note 5 (android 8.1.0), but not work for google pixel (android p).
lo...@gmail.com <lo...@gmail.com> #46
is there any progress for this issue @Google
cs...@gmail.com <cs...@gmail.com> #47
+1, we are facing this issue as well. It seems that there is a race condition happened when the activity got destroy and 'preserve' the configuration somehow to the later coming Activity (just my guessing as when we turn on debugging and keep following the life cycle step by step, the issue doesn't happen).
Beside of the flipping issue, when from a landscape mode activity calling to start an activity from another package (say open the google map), returning back to the landscape Activity it stucks in the portrait mode (gg map is opened in portrait mode yea).
Android 8.1 with Nexus 6P.. Hope to hearing from gg team soon.
Beside of the flipping issue, when from a landscape mode activity calling to start an activity from another package (say open the google map), returning back to the landscape Activity it stucks in the portrait mode (gg map is opened in portrait mode yea).
Android 8.1 with Nexus 6P.. Hope to hearing from gg team soon.
te...@gmail.com <te...@gmail.com> #48
Issue still exists on the Android P beta (PPP3) on Pixel XL.
sa...@gmail.com <sa...@gmail.com> #49
It does not workon Android Oreo.any Solution..
qh...@gmail.com <qh...@gmail.com> #50
+1
pi...@gmail.com <pi...@gmail.com> #51
Lack of answer is worse, than closing with status "Won't fix"...
ch...@gmail.com <ch...@gmail.com> #52
这个bug现在有解决方案了吗?#20 的办法在我这里无效
to...@gmail.com <to...@gmail.com> #53
+1 Facing the same issue. It appears to happen more often with a more complex view layout but that might just be coincidence.
to...@gmail.com <to...@gmail.com> #54
Another problem is, solution #20 doesn't work if you have no access to that Activity (if it's part of a framework). Putting this code in my Activity (the portrait one) doesn't work unfortunately.
va...@gmail.com <va...@gmail.com> #55
Same problem on Xiaomi mi a1 with Android 8.1.0 (Android one).
lu...@gmail.com <lu...@gmail.com> #56
Hello GOOGLE Team
Have there been any reasonable development in this matter ?
We have been using fixed portrait screen by setting the portrait on runtime as well as in manifest. Everything works fine while in context of the app even on android 8, 8.1. Wrong behavior happens right after we leave the app for some external tool like Goodle Docs File browser ( which has other orientation defined ) and come back to our context. App looses all the saved states including orientation setup, title, values, everything done before leaving the context.
This was never the issue of lower than Android 8
And clearly there is nothing to be done expect coding everything support libs are for (once again).
Please at least raise the priority as this is seriously messing up the production apps
Thank you in advance
Have there been any reasonable development in this matter ?
We have been using fixed portrait screen by setting the portrait on runtime as well as in manifest. Everything works fine while in context of the app even on android 8, 8.1. Wrong behavior happens right after we leave the app for some external tool like Goodle Docs File browser ( which has other orientation defined ) and come back to our context. App looses all the saved states including orientation setup, title, values, everything done before leaving the context.
This was never the issue of lower than Android 8
And clearly there is nothing to be done expect coding everything support libs are for (once again).
Please at least raise the priority as this is seriously messing up the production apps
Thank you in advance
sa...@gmail.com <sa...@gmail.com> #57
Facing the same issue. I am surprised that almost all the developers, all the products and great production apps are facing the same issue still google is not fixing this small issue. Dear google team, please work on existing issues to make the existing release stable than working on new OS as existing OS is on high priority and most of the users are affected from this. There is no solution of it. Please consider it and solve it on high priority....
er...@gmail.com <er...@gmail.com> #58
Looks like this is fixed in P beta 4.
ch...@gmail.com <ch...@gmail.com> #59
Facing the same issue. Running smoothly on all versions except android 8.1 version.
Workaround on #20 is working sometimes and fails sometimes.
Dear google team, kindly looked into the issue and update with the solution.
Thanks you in advance.
Workaround on #20 is working sometimes and fails sometimes.
Dear google team, kindly looked into the issue and update with the solution.
Thanks you in advance.
gr...@gmail.com <gr...@gmail.com> #60
This problem is happening to my apps on Android 9 and 8.1 devices. I'm locking the screen orientation with super.setRequestedOrientation() in onCreate (on all activities in my app) if the user changes a setting in my app to lock the orientation as either portrait or landscape. I'm not locking the orientation with the manifest. When I tested it on Android 6 and 4.4 I noticed it doesn't do any of the proper animations at all when changing activities when the activity orientation is locked and the device is being held sideways.
sa...@google.com <sa...@google.com> #61
We will be closing this bug due to being logged in a Preview version of Android. If the issue is still relevant and reproducible in the latest public release (Android Q), please capture a bugreport and log the bug in https://goo.gl/TbMiIO . If a reply is not received within the next 14 days, this issue will be closed. Thank you for your understanding.
sa...@google.com <sa...@google.com>
[Deleted User] <[Deleted User]> #62
Please any updates on this. Will it Android oreo fix the issue?
[Deleted User] <[Deleted User]> #63
I tried the rotation sample included in comment #4 . I wasn't able to reproduce this bug on a Pixel 4 running API 29. I also tried to reproduce this on a Pixel 2 emulator running API 28.
Does any one have a better way to reproduce this bug on newer versions of Android?
Does any one have a better way to reproduce this bug on newer versions of Android?
[Deleted User] <[Deleted User]> #64
Hi,
Any Update over this issue, because we are still getting this on Android OS 8.1 ?
Thanks
Any Update over this issue, because we are still getting this on Android OS 8.1 ?
Thanks
is...@google.com <is...@google.com>
go...@umito.nl <go...@umito.nl> #65
I was trying to set orientation myself programmatically. However, every screen that opened first opened device default, and then rotated. However, settings the orientation in manifest to 'locked', fixes these animations. However, you do need to be sure to programmatically then setOrientation everywhere. For example in your Application's activitylifecycleCallbacks. Last thing I needed to do was to set my splashscreen activity to sensorLandscape (so that it would not start in portrait, which I don't support).
Description
- Start a portrait activity (portrait declare on manifest)
- Start a landscape activity (landscape declare on manifest)
- Finish the landscape activity
- Portrait activity is showed again but the orientation start flipping: first in portrait mode, then landscape mode and finally portrait again.
What happened.
- Every time I finish a landscape activity and go back to a portrait activity, the portrait activity goes to portrait, then to landscape and finally portrait mode again.
What you think the correct behavior should be.
- The portrait activity should stay portrait and don't flip every time when I finish a landscape activity.
Android version: 8.1
Android device: Pixel XL