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

[Bug]: fullscreen and hide cutout don't work as intended before restarting #623

Closed
mio-19 opened this issue May 7, 2024 · 11 comments
Closed

Comments

@mio-19
Copy link

mio-19 commented May 7, 2024

Problem description

I will upload screenshots to show the problem.
I am running termux:x11 on Samsung OneUI 6.1, Android 14

commit 5489f7c

What steps will reproduce the bug?

Immersive only:
Screenshot_20240507_112114_TermuxX11
Screenshot_20240507_112138_TermuxX11
Immersive and hide cutout:
Screenshot_20240507_112226_TermuxX11
Screenshot_20240507_112221_TermuxX11
No immersive. no hide cutout (working fine)
Screenshot_20240507_112349_TermuxX11

My settings
Screenshot_20240507_112517_TermuxX11

What is the expected behavior?

No response

@mio-19
Copy link
Author

mio-19 commented May 7, 2024

hide cutout only
Screenshot_20240507_112912_TermuxX11
Screenshot_20240507_112905_TermuxX11
No immersive. no hide cutout. landscape (working fine)

Screenshot_20240507_113022_TermuxX11

@mio-19
Copy link
Author

mio-19 commented May 8, 2024

I freshly installed termux:x11 on official lineageos and got similar results.

@twaik
Copy link
Member

twaik commented May 8, 2024

Android does not let applications hide cutout if they do not request fullscreen.
There is no way to override this system behaviour.

@twaik twaik closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
@mio-19
Copy link
Author

mio-19 commented May 8, 2024

Android does not let applications hide cutout if they do not request fullscreen. There is no way to override this system behaviour.

The issue is more than this. I got even wider "cutout" when fullscreen is enabled and I got normal cutout when fullscreen and hide cutout are enabled.

@twaik
Copy link
Member

twaik commented May 8, 2024

Unfortunately I can not reproduce it.
I think it is some firmware-related bug.

@mio-19
Copy link
Author

mio-19 commented May 8, 2024

Unfortunately I can not reproduce it. I think it is some firmware-related bug.

I don't think OnePlus 6 with official lineageos and Samsung S23 Ultra with OneUI6 could have a same firmware-related bug.

What is your hardware and software?

@mio-19
Copy link
Author

mio-19 commented May 8, 2024

I don't see evidences showing that this issue is firmware-related. I want to re-open the issue as I think it is a relevant bug. Alternatively I might open more appropriate issue with test results on multiple devices.

@twaik twaik reopened this May 8, 2024
@ewt45
Copy link

ewt45 commented May 12, 2024

with the latest android studio, there is a feature of using device streaming to debug remote device for free.
https://developer.android.com/studio/run/android-device-streaming
there are samsung android14 (one ui 6.0 though) available. i tried it and it seems to have similar bugs?

(udpate: after change settings, restart termux-x11 app will make the xfce4 desktop size display correctly. i'm not sure if this is the expected behavior (have to restart), but at least now it works corretly.)

@mio-19 mio-19 changed the title [Bug]: fullscreen and hide cutout don't work as intended [Bug]: fullscreen and hide cutout don't work as intended before restarting May 12, 2024
@mio-19
Copy link
Author

mio-19 commented May 12, 2024

@ewt45 Thanks! I haven't correctly restarted termux:x11.
It works correctly after I force killed termux:x11 in android system settings

@twaik
Copy link
Member

twaik commented May 16, 2024

So it seems like this issue may be closed, right?

@mio-19
Copy link
Author

mio-19 commented May 16, 2024

So it seems like this issue may be closed, right?

No. This issue is now about the problem before restarting.

A solution might be displaying a toast to tell the user to restart the app so the user know what to do.

@twaik twaik closed this as completed in fc10156 May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants