Skip to content
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: Disable drag & drop as admin to prevent crash #12390

Closed
hoang3402 opened this issue May 18, 2023 · 3 comments · Fixed by #13134
Closed

Bug: Disable drag & drop as admin to prevent crash #12390

hoang3402 opened this issue May 18, 2023 · 3 comments · Fixed by #13134

Comments

@hoang3402
Copy link

hoang3402 commented May 18, 2023

Description

everytime i try to drag a file with the file running with admin rights it crashes

Steps To Reproduce

  1. open Files as admin
  2. drag and drop a file
  3. app crashes

Requirements

  • disable drag & drop as admin to prevent crash

Files Version

2.4.70.0

Windows Version

Microsoft Windows 11 Pro Version 10.0.22621 Build 22621

Log file

debug.log

@hoang3402 hoang3402 added the bug label May 18, 2023
@yaira2
Copy link
Member

yaira2 commented May 18, 2023

Thank you for reporting this issue, drag and drop not working when running as administrator is a known limitation in the WinAppSdk platform. microsoft/terminal#12017 (comment)

@yaira2
Copy link
Member

yaira2 commented May 18, 2023

We should probably disable drag and drop to prevent a crash.

@yaira2 yaira2 changed the title Can't drag Bug: Disable drag & drop as admin to prevent crash May 18, 2023
@yaira2
Copy link
Member

yaira2 commented Aug 16, 2023

@hoang3402 thank you for your patience, the next version of Files will include a fix for this issue. In addition to this fix, it'll also include support for admin file operations without having to elevate Files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants