maagic6 / SDIMV

Standalone program for viewing metadata of Stable Diffusion generated images
GNU General Public License v3.0
17 stars 1 forks source link

Bug: Dragging and dropping multiple files onto the .exe opens multiple instances #12

Closed MNeMoNiCuZ closed 7 months ago

MNeMoNiCuZ commented 7 months ago

The expected result is to open one instance of the program, but with each file as it's own entry in the files list.

maagic6 commented 7 months ago

That's odd. Are you dropping multiple images onto the .exe in one go? Unless you're dropping several images separately into the .exe then that would open its own instance each time

MNeMoNiCuZ commented 7 months ago

Yup, several at once. From the same folder.

Here's a screenshot. In this case I'm simultaneously dragging files from 2 separate folders onto it. image

maagic6 commented 7 months ago

May I ask what file explorer you're using? I tried replicating the bug with File Explorer and TreeSize on another machine but I'm not seeing separate instances so far.

MNeMoNiCuZ commented 7 months ago

Ah, yes you are right. This works in Windows Explorer. And it works in my file explorer (Directory Opus) too, if I change the default "drag/drop" functionality when creating a tool shortcut {filepath} to {allfilepath}.

So this works as intended now. Closed.