Windows Terminal Drag n Drop

Associate
Joined
4 May 2004
Posts
2,215
Location
NE England
This is not working for me, neither powershell or cmd.
It does work with Win 10's normal command prompt & normal powershell.

i.e. drag a file over the window, release and the file path is entered.
In the win terminal the mouse cursor just changes to a 'stop sign'.

I have tried on the latest release and onwards from 1.2, although this feature should work from v0.9.
The only thing I can see is a github page saying it has been fixed. I also have UAC turned off and have ran as administrator.

Does anyone else experience this and can you get it to work?
 
Soldato
Joined
28 Sep 2008
Posts
14,128
Location
Britain
This is not working for me, neither powershell or cmd.
It does work with Win 10's normal command prompt & normal powershell.

i.e. drag a file over the window, release and the file path is entered.
In the win terminal the mouse cursor just changes to a 'stop sign'.

I have tried on the latest release and onwards from 1.2, although this feature should work from v0.9.
The only thing I can see is a github page saying it has been fixed. I also have UAC turned off and have ran as administrator.

Does anyone else experience this and can you get it to work?

This is a DPI issue in Windows Terminal. Make sure it's large, or pinned left or right (or on another screen) and drag the file around and you'll spot the cursor change (don't run as Admin as it will blanket deny the path).

Dragging my mouse around gives me this:
0noTXNx.png

and also sometimes this, depending on where I drag to...
wdo3MDj.png
 
Associate
OP
Joined
4 May 2004
Posts
2,215
Location
NE England
I think I have solved it:
- In windows set dpi to 100%, log off and then back in,
- I go to the source dir of the windowsterminal.exe, right click, select properties,
- select compatibility options and select 'Change high DPI settings'
- turn on DPI settings for 'program DPI', select 'Use DPI...' - 'I open this program'.
- high dpi scaling override set to 'application'.
Launch it and check then now I set my custom DPI at 125%, log out then log in, and it works!
 
Back
Top Bottom