Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Image option missing since at least 20.7.4 #4697

Open
2 tasks done
mtrmarko opened this issue Oct 12, 2024 · 0 comments
Open
2 tasks done

Edit Image option missing since at least 20.7.4 #4697

mtrmarko opened this issue Oct 12, 2024 · 0 comments

Comments

@mtrmarko
Copy link

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • 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.

If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug
I used Draw.io heavily in 2022 and made a diagram that had rectangle shapes with an embedded image, At the time, clicking the shape made Edit Image button available in the Format pane on the right side. It looks like doing this would add an image tag visible inside the Style code of the shape and a base64 encoded string of the image contents. I have not done much diagraming since 2022 for various reasons, but got back into it the other day. I could not remember how I created my old diagram with fancy shapes, but eventually realized the Edit Image option is no longer available for any shape, other than an image one. Was this on purpose? If so, it is unfortunate, since I found the feature very useful to create nice shapes with iconography embedded in them. I can still accomplish the same thing by editing the style code by hand and adding the image= tag to it. Doing this seems to bring back the Edit Image option, interestingly enough. I did end up downloading Desktop releases going back a few years and found that version 20.6.2 has the option working correctly, while the next available I could download and install, version 20.7.4, did not have the option anymore. Given the latest version does not have this working either (this would be version 24.7.17, both web and desktop), I figured I would report this in case it is an issue and is not expected.

To Reproduce
Steps to reproduce the behavior:

  1. Download draw.io desktop version 20.6.2, or run a web version if you are able to and open it
  2. Create new blank diagram and from General shapes select and add Rectangle to canvas
  3. Make sure the Rectangle is selected and click on the Edit button from the Format pane on the right, then select Edit Image from the dropdown. Select image
  4. Now do the same with version 20.7.4 or newer and notice that Edit Image is no longer available as an option for a Rectangle shape (and quite a few others I have tried). Note that it's possible some older version between this and 20.6.2 also have the problem.

Expected behavior
Edit Image should be available for any object in the Format pane

Screenshots
image

image

image

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

  • draw.io versions after 20.6.2, confirmed with 20.7.4 or newer

Desktop (please complete the following information):

  • OS: Windows 11, Ubuntu 24.04
  • Browser: Chrome, Firefox
  • Browser Version: Chrome 129.0.6668.101, Firefox 131.0.2

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant