[bug] Window minimize when clicking show desktop though setting "minimizable": false
Describe the bug
Window minimize when clicking "show desktop" at the right of taskbar.
My config:
"windows": [
{
"title": "a window",
"width": 800,
"height": 600,
"alwaysOnBottom": true,
"minimizable": false
}
],
Reproduction
- Create a new tauri project and apply the upon config.
- Run the project.
- Click "show desktop" at taskbar.
- You can see the window is hided.
Expected behavior
Window keeps showing with window config "minimizable": false when clicking "show desktop".
Full tauri info output
[✔] Environment
- OS: Windows 10.0.26100 x86_64 (X64)
✔ WebView2: 142.0.3595.53
✔ MSVC: Visual Studio 生成工具 2022
✔ rustc: 1.90.0 (1159e78c4 2025-09-14)
✔ cargo: 1.90.0 (840b83a10 2025-07-30)
✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (overridden by environment variable RUSTUP_TOOLCHAIN)
[-] Packages
- tauri 🦀: 2.9.3
- tauri-build 🦀: 2.5.2
- wry 🦀: 0.53.5
- tao 🦀: 0.34.5
- tauri-cli 🦀: 2.9.4
[-] Plugins
- tauri-plugin-opener 🦀: 2.5.2
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../sr
Stack trace
Additional context
Windows 11 26100.6899
Do you have an example app or framework where this isn't the case? I don't think i've ever had an app that wasn't minimized by Show Desktop 🤔
https://github.com/user-attachments/assets/7372f454-d34b-4163-84fa-82a9a4e24c9b
I think Chrome's desktop capture popup does that?
~~i assume that's something like alwaysontop (or higher) though right~~ just woke up i can't remember how Windows' windowing works right now
Ah, that made sense, it seems like if I set both with_minimizable(false), and with_always_on_top(true), it does work, not when only one of them were set though