Drag and drop 2 images together only add 1 attached image

Description

When composing a new email, dragging and dropping 2 images together only adds 1 attached image. Dragging and dropping the missing image multiple times randomly add it.

To Reproduce…

Steps to reproduce the behavior:

  1. Click “Compose new message”
  2. In File Explorer, select 2 images
  3. Drag them onto the message composer
  4. Drop
  5. Only 1 image is added
  6. Drag the missing image onto the message composer
  7. Repeat until the image is added

Expected Behavior

The 2 images are added in the first drag and drop

Screenshots

Setup

  • OS and Version: Windows 10
  • Mailspring Version: 1.7.8

(Originally posted by keithyipkw on GitHub.)

Hello
I experience the same issue on my Deepin Linux installation.

Same issue on Windows 11, Mailspring 1.10.8. Only with jpg-s (other image types not tested), with other random filetypes (pdf etc.) no bug.