drawio-desktop icon indicating copy to clipboard operation
drawio-desktop copied to clipboard

Adding external two or more icons in the Scratchpad

Open abelpc opened this issue 2 years ago • 1 comments

Preflight Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug I often add/import external icons into my Scratchpad. I have been using draw.io Desktop standalone application (macOS/ARM), right now version 17.2.4.

The problem is that when I add one icon/image (JPEG/PNG), draw.io displays it in the Scratchpad correctly, and I can then add it to my diagram. However, when I add a second (or third, fourth...) icon, they are not displayed at all. If I try re-adding the same icon again, the application complains that the icon already exists and has already been added.

The way to visualize/display the icon, is to close and re-open the whole application, which is very cumbersome when you are adding multiple external icons.

To Reproduce Steps to reproduce the behavior:

  1. Go to the Scratchpad and click on the 'Pencil' sign
  2. Then either click on 'Add Images' or on 'Import'
  3. Find, select, and add a JPEG/PNG icon
  4. The icon will be displayed correctly
  5. Then, repeat steps 1 to 3
  6. This time, the icon is not displayed
  7. If you try to re-add the same icon (Steps 1-3), the application complains the icon has already been added

Expected behavior No matter how many icons one adds, or at what order one adds them, icons should always be displayed if they are added.

Screenshots N/A.

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 17.2.4

Desktop (please complete the following information):

  • OS: MacOS (ARM CPU)...

Additional context N/A.

abelpc avatar Apr 07 '22 13:04 abelpc

I have the same issue. I'll add that restarting the app does not 'refresh' the Scratchpad or make the image appear.

bdleedy avatar Jul 22 '22 03:07 bdleedy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.

stale[bot] avatar Mar 25 '23 12:03 stale[bot]