tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[bug] can't drag and drop files when app is launched with administrator privileges

Open alindas opened this issue 2 years ago • 2 comments

Describe the bug

i set 'fileDropEnabled' to true, but still can't drag and drop files. gui show not allow icon, and can not trigger the 'tauri://file-drop', 'tauri://file-drop-hover' events.

Reproduction

No response

Expected behavior

No response

Platform and versions

tauri: 1.4.0
platform: windows
nodejs: 16.18.2

Stack trace

No response

Additional context

No response

alindas avatar Nov 13 '23 09:11 alindas

i have see something,my app runup need Administrator privileges,so when i try to drop normal file,it cant tragger 'file-drop' event。but when i try to drop some app files with administrator privileges, it works!

so anyone can show me how to Reduce the permissions for app operations? Specifically,i use the cli to create tauri-demo-app,it can be runup in normal permission,but my tauri app need administrator to show the gui!

alindas avatar Nov 13 '23 10:11 alindas

This is still unsolved, lol. I has the same issue now I can't allow drag and drop on my app that needs admin rights. (I'm using v2)

eythaann avatar Oct 15 '24 20:10 eythaann