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

[Android 11] Light Theme Unusable (no "system safe area") #2058

Closed
AlbinoGeek opened this issue Mar 3, 2021 · 6 comments
Closed

[Android 11] Light Theme Unusable (no "system safe area") #2058

AlbinoGeek opened this issue Mar 3, 2021 · 6 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@AlbinoGeek
Copy link
Contributor

Describe the bug:

When the system is using the DarkVariant but the application is using the Light Theme, the user experience could be described as "unusable". The hardware navigation buttons and notification area "disappear entirely" due to the use of white on white.

To Reproduce:

Steps to reproduce the behaviour:

  1. Have your system's Dark Mode enabled
  2. Run the fyne demo from the appstore

Screenshots:

Peek.2021-03-03.10-52.mp4

Device (please complete the following information):

  • OS: Android 11 - Samsung Galaxy S20+ Ultra 5G
  • Go version: N/A
  • Fyne version: v2.0.0 ?

image

@AlbinoGeek AlbinoGeek added the bug Something isn't working label Mar 3, 2021
@andydotxyz
Copy link
Member

This seems like a duplicate of #472

@andydotxyz andydotxyz added the duplicate This issue or pull request already exists label Mar 4, 2021
@AlbinoGeek
Copy link
Contributor Author

The request for a "system safe area" (e.g: fyne has no business theming the hardware buttons, for example) -- still stands, separate of the implementation of reflecting the system theme, I feel.

Whether your app has the right to theme the hardware buttons is up to whether it has the "True Fullscreen" flag set (in Android), and is not standard behavior.

@andydotxyz
Copy link
Member

The system safe area is already implemented.
We draw the background colour into that space area so that it does not get random graphics context drawn instead.
Once this is synced with the device theme it should function as you'd expect.

@AlbinoGeek
Copy link
Contributor Author

AlbinoGeek commented Mar 25, 2021 via email

@andydotxyz
Copy link
Member

So, is this a duplicate afterall?

@AlbinoGeek
Copy link
Contributor Author

AlbinoGeek commented Mar 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants