(Linux; UI) Titlebar Buttons Unresponsive Until Window is Maximized (Possibly KDE-Specific)
Description: Users have reported that, since the switch to Tauri, the titlebar buttons (minimize, maximize, close) are unresponsive when the application starts. This has been observed on both Fedora and Arch Linux, suggesting that the issue is not specific to a particular distribution. It may be related to the KDE desktop environment, but this has not been confirmed on other environments such as GNOME.
Steps to Reproduce:
- Launch the application in a KDE environment (e.g., on Fedora or Arch).
- Titlebar buttons do not respond to hover or click.
- Maximize the window via keyboard shortcut or by double-clicking the titlebar.
- Buttons then become responsive and function normally.
Expected Behavior: Titlebar buttons should be responsive immediately after launch.
Actual Behavior: No hover effect or click response from the buttons initially. Buttons begin working only after the window is maximized.
~Additional Context~
~A known issue exists in Tauri v2 on Linux when a window is created with both resizable: false and skip_taskbar: true: the titlebar buttons (minimize, maximize, close) are non‑interactive until the window is maximized manually~
~github.com.~
~Relevant Links~ ~https://github.com/tauri-apps/tauri/issues/11631~ ~https://github.com/tauri-apps/tauri/issues/13440~
~Possible Solutions~
~- Remove or alter the skip_taskbar flag: omit .skip_taskbar(true) in the WebviewWindowBuilder to restore normal titlebar behavior.~
~- Enable resizing: set .resizable(true).~
Fixed in v2.0.21