-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] [v2] skipTaskbar
not working on Windows
#10422
Comments
I can't seem to be able to reproduce this at all, could you re-test again with |
@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 This is the current workaround being used to reliably remove it from the taskbar. |
Unfortunately we can't use that workaround as |
I will open a PR and release a new version to return errors here instead of panics. |
* fix: return error instead of panic in `set_skip_taskbar` method ref: tauri-apps/tauri#10422 (comment) * change file * Update unix.rs * Apply suggestions from code review
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 🙃The text was updated successfully, but these errors were encountered: