window_manager icon indicating copy to clipboard operation
window_manager copied to clipboard

[Linux] setFullScreen not working in some cases

Open Predidit opened this issue 1 year ago • 1 comments

windowManager.setResizable(false); windowManager.setMaximizable(false);

Either of the above two lines of code will cause the setFullScreen method to fail on the Linux platform, and this problem cannot be reproduced on other platforms.

OS: Manjaro Linux DE: Gnome 45.4 (Wayland) CPU: AMD Ryzen 7840H GPU: AMD Radeon

Predidit avatar May 05 '24 11:05 Predidit

I face same issuse, setFullScreen() work OK on debug mode, but crash on release, my case is Wayland GDK.

I tried this run on bash: GDK_BACKEND=x11 ./app_name Work fine~

OS: Manjaro Lastest DE: KDE

Error pump: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound ...

Gdk-WARNING **: 02:13:37.900: eglMakeCurrent failed embedder.cc (2566): 'FlutterEngineRemoveView' returned 'kInvalidArguments'. Remove view info was invalid. The implicit view cannot be removed.

lux-ok avatar Jun 17 '25 18:06 lux-ok