Skip to content

Dragging images does not work in Linux #32

Description

@BubbleVee

Describe the bug
Dragging images from Allusion doesn't function in Linux. This seems to be because the "nativeImage.createThumbnailFromPath" method isn't implimented in Electron (See allusion-app#437)

To Reproduce
Steps to reproduce the behavior:

  1. Open Allusion library
  2. Drag any file

Expected behavior
A preview of the file appears under the cursor, letting out drag and drop it into other software/folders

Allusion version
1.0.0-ruc.3.2

Desktop OS
CachyOS (Reported on all Linux distrobutions)

Additional context
I managed to hack a workaround by adding another error condition and passing a resized version of the original image (previewIcon = await nativeImage.createFromPath(absolutePaths[0]).resize({width:200, height:200, quality:'good'})), but this only works on non-animated image files, and seems pretty inelegant (I'm very much not a programmer, and I barely even understand Git lol)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions