-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Game elements hidden under camera notch - Android 15 #12982
Comments
Options -> Advanced -> Enable using display cutout areas should be 'false' by default and this should tell the OS to not render there |
I installed Unciv on a stock Pixel 7a and experienced the same issue. In particular I'm looking at lines 98 to 106 of src/com/unciv/app/AndroidDisplay.kt,
As of Android 15, these values are ignored and interpreted as LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS. So I think if you want to keep your UI out of the camera's hole in the screen, for Android 15 and up, you will have to change something on your end. |
A. Thanks for that! Great investigation 👍🏿 |
I am experiencing the same issue on Pixel 7a and Android 15. I can confirm I have the setting disabled ('Enable using display cutout area'), and yet the game is still using the cutout area. It had been working recently, I guess it probably broke when I updated my phone to Android 15. I hope you can fix it, it's still mostly playable for me but my front camera cutout frequently blocks important info or makes unit action buttons difficult to press |
As a workaround, I've been turning my Pixel 7a upside-down (so the cutout
covers the corner of the infobox - less critical than a unit action). Maybe
that works for you until a fix comes in.
…On Thu, Feb 27, 2025 at 6:24 PM Kevin K. ***@***.***> wrote:
I am experiencing the same issue on Pixel 7a and Android 15. I can confirm
I have the setting disabled ('Enable using display cutout area'), and yet
the game is still using the cutout area. It had been working recently, I
guess it probably broke when I updated my phone to Android 15.
I hope you can fix it, it's still mostly playable for me but my front
camera cutout frequently blocks important info or makes unit action buttons
difficult to press
—
Reply to this email directly, view it on GitHub
<#12982 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACVLU7WDUB4FLWHSACQ25PL2R6NBTAVCNFSM6AAAAABXPDA3EKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBZGMZTGNRXGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
[image: ceresward]*ceresward* left a comment (yairm210/Unciv#12982)
<#12982 (comment)>
I am experiencing the same issue on Pixel 7a and Android 15. I can confirm
I have the setting disabled ('Enable using display cutout area'), and yet
the game is still using the cutout area. It had been working recently, I
guess it probably broke when I updated my phone to Android 15.
I hope you can fix it, it's still mostly playable for me but my front
camera cutout frequently blocks important info or makes unit action buttons
difficult to press
—
Reply to this email directly, view it on GitHub
<#12982 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACVLU7WDUB4FLWHSACQ25PL2R6NBTAVCNFSM6AAAAABXPDA3EKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBZGMZTGNRXGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Indeed. That's some aggressive kicking of dev's in the - but then wasn't 15 called Upside Down Cake? No, that was 14. |
Is there an existing issue for this?
Game Version
4.15.11
Describe the bug
On my phone, Unciv seems to be using the entire screen, without considering the camera notch. This leaves some UI elements hidden under the notch. I couldn't find any display settings to change this behaviour. It occurs both in portrait and in landscape mode.
I have previously played Unciv on the same phone without this bug. However, that was on an older OS version and an older Unciv version. After recently upgrading my OS, I decided to install Unciv again. It's not clear if the OS upgrade or a recent Unciv version introduced this behaviour.
Steps to Reproduce
I guess this is device specific, so it's probably not easy to reproduce on a different device.
Screenshots
No response
Link to save file
No response
Operating System
Android
Additional Information
LineageOS 22.1 (Android 15) on a Xiaomi Poco F1
The text was updated successfully, but these errors were encountered: