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

Retrieved display name is not correct on Windows. #19

Open
APPXOTICA opened this issue Jan 9, 2024 · 0 comments
Open

Retrieved display name is not correct on Windows. #19

APPXOTICA opened this issue Jan 9, 2024 · 0 comments

Comments

@APPXOTICA
Copy link

APPXOTICA commented Jan 9, 2024

I use a Huawei Windows11 laptop connected to two external displays. On that machine, retrieving all displays yields incorrect display names with unexpected prefix characters. However, running the same code on my M1 MacBook Pro with the same external displays retrieves the correct display names.

final displays = await screenRetriever.getAllDisplays();
debugPrint('displays : ${displays.map((e) => e.name)}');

on Windows :
flutter: displays : (\\.\DISPLAY1, \\.\DISPLAY2, \\.\DISPLAY3)

on Mac :
flutter: displays : (Built-in Retina Display, 27UF10, U32N3G6R3B)

FYI:

Doctor summary (to see all details, run flutter doctor -v):
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.3)
[√] Android Studio (version 2023.1)
[√] Connected device (3 available)
[√] Network resources
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

1 participant