I have recently encountered this very odd behavior using the basic Notepad of Windows 10, and I can't figure out what could explain it.
I'm using the MT Power Drumkit 2 plugin for the LMMS music generator program. The former has its own temporary folder, which is only used to temporarily save the drum sequence created with the plugin, as a .midi. The file is always saved as
Learning to use the plugin, I found some resources that advised you could drag & drop the drum sequence created on the plugin's GUI into an empty Notepad, and save it as a .midi file.
Now comes the weird part, where I need help with.
When dragging and dropping this way, from the plugin GUI into a new, empty, untitled Notepad, as soon as the contents appear, the Notepad app automatically shows
mtpdk.mid as the file name, and saves the contents.
I suspect what happens is that Notepad somehow recognizes the contents match the existing
mtpdk.mid file, and swaps the untitled file I created to the existing one.
This baffles me greatly. It's the equivalent of opening an empty Word document, pasting "One brown fox" in it, and if there is a saved .docx file, say
fox.docx with "One brown fox" in it, Word would automatically swap from your newly created empty document to this
- Is this possible, and how does Windows recognize what's going on?
- The plugin temp folder is in C: (as in C:/tempFolder). Is that relevant to the behavior?
- Are there any security considerations regarding this?