Skip to content

[Bug]: Dragging and dropping images into a Compose email window doesnt drop them inline in email as expected #163

@joolsr

Description

@joolsr

Description

According to the features explanation, it should be possible to drag an image from file manager into the Compose Email window, and for image to be inserted inline.

Instead when doing this the image is attached to the email, and a image placeholder is shown of broken image

In browser console following is show:-

Content-Security-Policy: The page’s settings blocked the loading of a resource (img-src) at blob:https://xxxxxxx.io/ac8cc9d4-ad89-495b-b91a-63b1d237b014 because it violates the following directive: “img-src 'self' data: https:”

Also tested in Windows 11 and Chrome, but get exactly same issue

The image used is just a simple 50kB jpg

Steps to Reproduce

  1. Drag an image from file browser, in this case KDE plasma, but Windows is the same, into a Compose Email window.
  2. The image gets attached instead of being inserted in the chosen location in the body of the email.
  3. The image placeholder is shown, of a blank email.

Expected Behavior

image is inserted inline in image at cursor point

Actual Behavior

image is added to email as an attachment.

Console shows following:-

Content-Security-Policy: The page’s settings blocked the loading of a resource (img-src) at blob:https://xxxxxxx.io/ac8cc9d4-ad89-495b-b91a-63b1d237b014 because it violates the following directive: “img-src 'self' data: https:”

Bulwark Version

main

Stalwart Mail Server Version

0.14

Browser

Chrome / Chromium

Operating System

None

Screenshots / Screen Recording

Image

Relevant Logs or Error Output

Content-Security-Policy: The page’s settings blocked the loading of a resource (img-src) at blob:https://xxxxxxx.io/ac8cc9d4-ad89-495b-b91a-63b1d237b014 because it violates the following directive: “img-src 'self' data: https:”

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions