Skip to content

Uncaught Exception: Must specify non-empty 'icon' option #366

Description

@Equbuxu

Describe the bug
Trying to drag an image causes an uncaught exception pop-up.

To Reproduce
Steps to reproduce the behavior:

  1. Add this image to your collection
  2. Click the image once to select it
  3. Attempt to drag it
  4. Enjoy the error pop-up

Expected behavior
I wanted to drag the image into pureref and expected the drag function to work

Allusion version
1.0.0-rc5.4

Desktop OS
Windows 10

Additional context
I've verified the issue on two different machines. I imagine the issue is in the image, it might be corrupted in some way. Also, it's a .webp, a file format that tends to break a lot of software, although this specific image seems to only break allusion.

Error message:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: Must specify non-empty 'icon' option
    at C:\Program Files\Allusion\resources\app.asar\build\main.bundle.js:2:302527
    at IpcMainImpl.<anonymous> (C:\Program Files\Allusion\resources\app.asar\build\main.bundle.js:2:237811)
    at IpcMainImpl.emit (events.js:315:20)
    at Object.<anonymous> (electron/js2c/browser_init.js:157:8980)
    at Object.emit (events.js:315:20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions