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

Still cannot drop files to Terminal running as admin #17291

Closed
szx0427 opened this issue May 19, 2024 · 4 comments
Closed

Still cannot drop files to Terminal running as admin #17291

szx0427 opened this issue May 19, 2024 · 4 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@szx0427
Copy link

szx0427 commented May 19, 2024

Windows Terminal version

1.20

Windows build number

10.0.19045.3930

Other Software

Windows File Explorer 10.0.19041.3758

Steps to reproduce

First, ensure you logged in as an ordinary admin account (I've not tested on the built-in Administrator account yet but I guess the problem will remain.)
Method 1: Set EnableLUA=1 (enable UAC), run Terminal with admin permission, drag a file from Desktop and drop it to Terminal.
Method 2: Set EnableLUA=0 (disable UAC), directly run Terminal, and do the drag&drop.

Expected Behavior

I am simply expecting drag & drop can work.

Actual Behavior

A cursor indicating "unavailable" will be displayed through either method above.
Such drag&drop is supported by the legacy conhost but not Windows Terminal. That's weird. Don't tell me this issue is a duplicate of #14946 or #15996 and that you have already fixed this in 1.18. I tested on both 1.18 and 1.20 only to find the problem remaining.

@szx0427 szx0427 added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels May 19, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@zadjii-msft
Copy link
Member

Notes:

For the tab dragging scenario:

But that's not file drag/drop.

That code references all of

@carlos-zamora
Copy link
Member

First, ensure you logged in as an ordinary admin account (I've not tested on the built-in Administrator account yet but I guess the problem will remain.)
Method 1: Set EnableLUA=1 (enable UAC), run Terminal with admin permission, drag a file from Desktop and drop it to Terminal.
Method 2: Set EnableLUA=0 (disable UAC), directly run Terminal, and do the drag&drop.

Can you clarify if the issue occurs when UAC is enabled /?

For us, when it's enabled, drag & drop into conhost doesn't work. In that situation, it's not expected to work for Terminal either.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. labels Jul 3, 2024
@Mingyueyixi
Copy link

Same with me. i also can't not drop file to window terminal from andy where , Whether the uac or admin is enabled or not

@microsoft-github-policy-service microsoft-github-policy-service bot removed the No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

4 participants