sony / flutter-elinux

Flutter tools for embedded Linux (eLinux)
BSD 3-Clause "New" or "Revised" License
470 stars 47 forks source link

Fullscreen and rotated #273

Open Krakert opened 2 months ago

Krakert commented 2 months ago

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 commented 2 months ago

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.