Open lars-berger opened 1 month ago
I can't seem to be able to reproduce this at all, could you re-test again with -rc
version ?
@amrbashir The behavior was inconsistent - some days it worked as expected, while on others it didn't. On days where it didn't work, I tried other Tauri apps that used skipTaskbar
and they also exhibited the same behavior. This occurred in our public-facing app with reports of the problem on both W10 and W11.
This is the current workaround being used to reliably remove it from the taskbar.
I tried run tauri application on windows docker, on headless, it failed on "Failed to create taskbarlist" maybe from here: Do you have any solution to ignore this function?
This is the current workaround being used to reliably remove it from the taskbar.
Unfortunately we can't use that workaround as WS_EX_TOOLWINDOW
behaves very different than normal windows and not all tauri users would appreciate it. I think this workaround shouldn't be implemented in tauri and just be used by projects that need it.
I tried run tauri application on windows docker, on headless, it failed on "Failed to create taskbarlist"
I will open a PR and release a new version to return errors here instead of panics.
Describe the bug
skipTaskbar
doesn't seem to be removing the window from the taskbar on Windows.Reproduction
Reproducible via the default v2 boilerplate (i.e.
pnpm create tauri-app --beta
) and setting"skipTaskbar": true
in thetauri.conf.json
. The same occurs when instead usingskip_taskbar(true)
via theBuilder
options in Rust andskipTaskbar
in the JS window APIs.Expected behavior
For the window to not appear in the taskbar
Full
tauri info
outputStack trace
No response
Additional context
Also tried removing the
WS_EX_APPWINDOW
style and addingWS_EX_TOOLWINDOW
, but no luck so far 🙃