Again Dag&Drop #23451

Closed
opened 2026-01-31 08:42:36 +00:00 by claunia · 9 comments
Owner

Originally created by @Dohtur-Frag on GitHub (Jul 18, 2025).

Windows Terminal version

1.22.11751.0

Windows build number

Server2022 [Version 10.0.20348.3932]

Other Software

No response

Steps to reproduce

Drag&Drop work anywhere in windows (UAC ON)
WinTerminal installed by: winget install --id microsoft.windowsterminal
Drag&Drop continue work anywhere in windows, but Not Work in Terminal

I read many topics with same problem, but no solution.

Expected Behavior

No response

Actual Behavior

No response

Originally created by @Dohtur-Frag on GitHub (Jul 18, 2025). ### Windows Terminal version 1.22.11751.0 ### Windows build number Server2022 [Version 10.0.20348.3932] ### Other Software _No response_ ### Steps to reproduce Drag&Drop work anywhere in windows (UAC ON) WinTerminal installed by: winget install --id microsoft.windowsterminal Drag&Drop continue work anywhere in windows, but Not Work in Terminal I read many topics with same problem, but no solution. ### Expected Behavior _No response_ ### Actual Behavior _No response_
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:42:37 +00:00
Author
Owner

@FireFistisDead commented on GitHub (Jul 25, 2025):

can you elaborate @Dohtur-Frag

@FireFistisDead commented on GitHub (Jul 25, 2025): can you elaborate @Dohtur-Frag
Author
Owner

@Dohtur-Frag commented on GitHub (Jul 25, 2025):

@FireFistisDead
What elaborate:

  • What mean Drag&Drop?
  • What mean Terminal?
@Dohtur-Frag commented on GitHub (Jul 25, 2025): @FireFistisDead What elaborate: - What mean Drag&Drop? - What mean Terminal?
Author
Owner

@FireFistisDead commented on GitHub (Jul 25, 2025):

what do you want to drag and drop and what functions you expect from drag n drop in terminal @Dohtur-Frag

@FireFistisDead commented on GitHub (Jul 25, 2025): what do you want to drag and drop and what functions you expect from drag n drop in terminal @Dohtur-Frag
Author
Owner

@Dohtur-Frag commented on GitHub (Jul 25, 2025):

It must work same as D&D in cmd and pwsh.

@Dohtur-Frag commented on GitHub (Jul 25, 2025): It must work same as D&D in cmd and pwsh.
Author
Owner

@FireFistisDead commented on GitHub (Jul 25, 2025):

Ohkk got it @Dohtur-Frag i will start working on that thanks for the explanation😄😄

@FireFistisDead commented on GitHub (Jul 25, 2025): Ohkk got it @Dohtur-Frag i will start working on that thanks for the explanation😄😄
Author
Owner

@zadjii-msft commented on GitHub (Jul 30, 2025):

Can you grab a screen recording of what you're dragging/dropping into Terminal? Knowing if you're attempting to drop text, or files, or tabs would definitely help clarify here.

Also, Server 2022 is suspicious. I'd guess that there's something weird about that SKU where the modern drag-drop service doesn't necessarily work the same. Does it crash the Terminal, or just silently fail/? Does drag-drop work in other WinUI apps (like, Calculator?)

@zadjii-msft commented on GitHub (Jul 30, 2025): Can you grab a screen recording of what you're dragging/dropping into Terminal? Knowing if you're attempting to drop text, or files, or tabs would definitely help clarify here. Also, Server 2022 is suspicious. I'd guess that there's something weird about that SKU where the modern drag-drop service doesn't necessarily work the same. Does it _crash_ the Terminal, or just silently fail/? Does drag-drop work in other WinUI apps (like, Calculator?)
Author
Owner

@Dohtur-Frag commented on GitHub (Jul 31, 2025):

You can watch this https://github.com/microsoft/terminal/issues/15996#issuecomment-1725877680

@Dohtur-Frag commented on GitHub (Jul 31, 2025): You can watch this https://github.com/microsoft/terminal/issues/15996#issuecomment-1725877680
Author
Owner

@DHowett commented on GitHub (Aug 6, 2025):

Unfortunately, due to a Windows platform limitation on the UI framework we chose to use (WinUI), we are unable to offer even same-user-account drag and drop as Admin.

@DHowett commented on GitHub (Aug 6, 2025): Unfortunately, due to a Windows platform limitation on the UI framework we chose to use (WinUI), we are unable to offer even same-user-account drag and drop as Admin.
Author
Owner

@zadjii-msft commented on GitHub (Aug 6, 2025):

Other notes from our investigation:

The output of

reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA

would be enlightening.

Furthermore, it looks like the modern drag-drop service just doesn't work right on Server2022. We can allow our tabs to be drag/dropped, but we're never given the opportunity to accept the drop.

Nothing we (the terminal) can actually do to fix that. That's just how we get drag/drop events.

@zadjii-msft commented on GitHub (Aug 6, 2025): Other notes from our investigation: The output of ```cmd reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA ``` would be enlightening. Furthermore, it looks like the modern drag-drop service just doesn't work right on Server2022. We can allow our tabs to be drag/dropped, but we're never given the opportunity to accept the drop. Nothing _we_ (the terminal) can actually do to fix that. That's just how we get drag/drop events.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23451