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

Fullscreen and rotated #273

Open
Krakert opened this issue Sep 18, 2024 · 1 comment
Open

Fullscreen and rotated #273

Krakert opened this issue Sep 18, 2024 · 1 comment

Comments

@Krakert
Copy link

Krakert commented Sep 18, 2024

When I want to launch a sample project in fullscreen rotated 90 degrees, portrait mode. Wayland is unable to make that work.
Other modes works as long as the flutter app is placed inside the screen resolution. So only -r 90 does not work well, the app does not response.

$ FLUTTER_ELINUX_CUSTOM_RUN_ARGS="-r 90 -f" flutter-elinux run -d elinux-wayland
Launching lib/main.dart on eLinux in debug mode...
Building an eLinux application with wayland backend in debug mode for x64 target...         3.7s
Syncing files to device eLinux...                                   48ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on eLinux is available at: http://127.0.0.1:43795/7tznOtnS3oo=/
The Flutter DevTools debugger and profiler on eLinux is available at:
http://127.0.0.1:9101?uri=http://127.0.0.1:43795/7tznOtnS3oo=/
xdg_wm_base@10: error 4: xdg_surface buffer (1080 x 1920) is larger than the configured fullscreen state (1920 x 1080)
Lost connection to device.

Running on windows 10 under WSL

@Krakert
Copy link
Author

Krakert commented Sep 18, 2024

update: X11 does not have these problems FLUTTER_ELINUX_CUSTOM_RUN_ARGS="-r 90 -f" flutter-elinux run -d elinux-x11 fills both of my 2 screens and I'm able to scale the window to any size.

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