-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[feat] Shift click on taskbar icon to create new window #5951
Comments
Shift click your app icon in the taskbar is the same as opening your app second time. If you want to change the behavior to spawn a new window, then use a single-instance plugin like |
@amrbashir the problem is that shift click or middle mouse click has no effect in tauri apps. It does not spawn a new instance, which is the wanted behavior here. p.s. i tested this locally when we talked about it on discord, both tauri dev and tauri build, the latter before and after installing the msi |
@FabianLars Can you please try again, I just tried it, and it just works and There is no special handling for this as far as I researched.
|
@amrbashir The problem is that pressing shift-click on the taskbar icon should open another instance of the app. follow these ### steps:
Expected behavior:Another window/app instance should be opened (Or an API to control this behavior). |
@amrbashir you're right, it works sorry. I think i only tested debug builds (tauri build --debug) which don't work. (probably because of some identifier mismatch because of the terminal wrapper?) |
Describe the problem
In Windows, shift-clicking on a taskbar icon will launch another instance of the app. Is there a way to do that in a Tauri window? I couldn't find it in the docs/search.
Attached screen recording below:
steps:
Shift
key and click on the taskbar icon.Expected behavior:
Another window/app instance should be opened (Or an API to control this behavior).
Describe the solution you'd like
Shift-Click on taskbar APIs in Tauri.
Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: