You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eg: say
you want to paste a file path to a txt file in npp
you copy the file,
but npp wont allow you to paste,
because this is a file, not text.
so you did some scripting to automatically convert that file into a file path text inside your clipboard (by a clip manager / ahk).
however, npp still does not allow you to paste -- BAD
-- npp still treats the item in your clipboard as a file, not a file path text.
you have to type a letter to "refresh" npp so that npp recognize the change in the clipboard.
Steps To Reproduce
copy a file
go to a txt file in npp
(for now npp wont allow you to paste)
some script run in the background to convert the file into a file path text automatically inside the clipboard
press ctrl+v
npp still wont allow you to paste -- BAD
type a letter (or switch to another window then switch back)
now npp will allow you to paste
Current Behavior
Npp doesnt recognize the change in the clipboard,
and you cannot paste.
Expected Behavior
Npp does recognize the change in the clipboard,
and you can paste.
Debug Information
Notepad++ v8.6.5 (64-bit)
Build time: Mar 29 2024 - 17:04:43
Path : E:\Notepad++\notepad++.exe
Command Line :"C:\Users\Azeri\Desktop\textsav.txt"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : OFF
OS Name : Windows 10 Home (64-bit
OS Version : 22H2
OS Build : 19045.4291
Current ANSI codepage : 936
Plugins :
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
Anything else?
eg:
copy a file, but you cannot paste
a script changed the file into text format, but you still cannot paste -- BAD
type a letter, now you can paste
The text was updated successfully, but these errors were encountered:
Is there a workaround a least to: "refresh" npp to recognize the change of clipboard
-- other than type a letter / switch window
-- its better if it can be done programmatically by ahk with minimal impact to the using experience
?
Thanks
Here is the current workaround.
Press Insert can refresh npp and has minimal impact.
(even if you paste accidentally with overwrite mode, it will still do "insert" instead of "overwrite", so its safe.)
Is there an existing issue for this?
Description of the Issue
eg: say
you want to paste a file path to a txt file in npp
you copy the file,
but npp wont allow you to paste,
because this is a file, not text.
so you did some scripting to automatically convert that
file
into afile path text
inside your clipboard (by a clip manager / ahk).however, npp still does not allow you to paste -- BAD
-- npp still treats the item in your clipboard as a
file
, not afile path text
.you have to type a letter to "refresh" npp so that npp recognize the change in the clipboard.
Steps To Reproduce
file
into afile path text
automatically inside the clipboardctrl+v
Current Behavior
Npp doesnt recognize the change in the clipboard,
and you cannot paste.
Expected Behavior
Npp does recognize the change in the clipboard,
and you can paste.
Debug Information
Anything else?
eg:
copy a file, but you cannot paste
a script changed the file into text format, but you still cannot paste -- BAD
type a letter, now you can paste
The text was updated successfully, but these errors were encountered: