olive-groves / butterfly_viewer

Side-by-side image viewer with synchronized zoom and sliding overlays. Drag and drop to instantly compare multiple images on your desktop. Very open source.
https://olive-groves.github.io/butterfly_viewer/
Other
31 stars 5 forks source link

[Bug] Images dragged into Viewer not recognized as drag-and-droppable (Windows 11 executable) #1

Closed larsmaxfield-asml closed 1 year ago

larsmaxfield-asml commented 1 year ago

Is there an existing issue for this?

Current behavior

In Windows 11, dragging and dropping images into the Viewer doesn't work. This applies to the main area and the tiles of the sliding overlay creator. The mouse shows the "no" symbol when one or multiple dragged images are brought into the viewer.

Expected behavior

Drag and drop should work.

Steps to reproduce

  1. Install on Windows 11 as executable
  2. Drag any image (jpeg, png, tiff) into Viewer

Anything else?

No response

larsmaxfield-asml commented 1 year ago

Likely something with how the MIME type is filtered for items dragged into the Viewer. Immediate fix may be to simply not filter, and let any filetype be droppable, then letting the open sequence filter out non-image files.