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:
- Open Allusion library
- 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)
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:
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)