Closed WilfredC64 closed 1 week ago
are you using gnome on Wayland?
Yes, echo $XDG_SESSION_TYPE outputs wayland and echo $DESKTOP_SESSION outputs ubuntu.
Also I forgot to mention that a previous build of my application using Tauri V1, didn't have the issue. It runs fine on the same Ubuntu environment.
On Linux when setting resizable to false and skip_taskbar to true on the Webview, the maximize button disappears in the title bar and the minimize and close buttons are unusable with some extra whitespace between the buttons .
Also, when resizable and skip_taskbar are set to true, in order to use the title bar buttons, you need to double click on the title bar which maximizes the window, regardless if maximizable is set to false, and then the buttons are usable.
Describe the bug
On Linux when setting resizable to false and skip_taskbar to true on the Webview, the maximize button disappears in the title bar and the minimize and close buttons are unusable with some extra whitespace between the buttons .
Also, when resizable and skip_taskbar are set to true, in order to use the title bar buttons, you need to double click on the title bar which maximizes the window, regardless if maximizable is set to false, and then the buttons are usable.
On Windows and macOS, the above issues don't exists, the issues mentioned above only exists on Linux.
I create the Webview programmatically like:
Reproduction
In order to reproduce the issue, you need to create a webview where resizable is set to false and skip_taskbar is set to true. Doing it programmatically you can reproduce it like:
WebviewWindowBuilder::new(app, "about", WebviewUrl::App("/pages/about/index.html".into())) .title("TITLE") .inner_size(600.0, 512.0) .min_inner_size(600.0, 512.0) .center() .maximizable(false) .resizable(false) .fullscreen(false) .skip_taskbar(true) .build()?;
Existing repo where it's done the same can be found in main.rs in: https://github.com/WilfredC64/sid-device
Expected behavior
When I create a Webview Window which is not resizable and where I skip task bar, I expect that the minimize and close buttons in the title bar are clickable and working.
Full
tauri info
outputStack trace
No response
Additional context
No response