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 with physical keyboard dims whole screen when navigating #15410

Open
AlexanderSjo opened this issue Apr 17, 2024 · 0 comments
Open

Android with physical keyboard dims whole screen when navigating #15410

AlexanderSjo opened this issue Apr 17, 2024 · 0 comments

Comments

@AlexanderSjo
Copy link

AlexanderSjo commented Apr 17, 2024

Describe the bug

When navigating with a physical keyboard on an Android device it dims the whole screen and does not go away. This happens when i click on any key on a connected keyboard. This only happens on real physical connected android devices and does not seem to happen when running on virtual devices. I have tried on multiple different physical Android devices with the same result. Both on android version 13 and 14.

It is way more obvious when running RequestedThemeVariant="Dark"

See recording from Android device:

AvaloniaAndroidPhysicalKeyboard.mp4

See simple sample repo:
https://github.com/AlexanderSjo/AndroidKeyboardSample

To Reproduce

  • dotnet new avalonia.xplat -av 11.1.0-beta1 -o AndroidKeyboardSample
  • Set RequestedThemeVariant="Dark"
  • Connect a real Android device with a connected physical keyboard
  • Click any key on the keyboard and see the screen go dim.

Expected behavior

Do not dim the whole sceen when using a physical keyboard on Android device. It ruins pictures and colors.

Avalonia version

11.1.0-beta1

OS

Android

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants