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

copy as image and dark mode produces incorrect results #1647

Open
2 tasks done
lvmm opened this issue Mar 5, 2024 · 1 comment
Open
2 tasks done

copy as image and dark mode produces incorrect results #1647

lvmm opened this issue Mar 5, 2024 · 1 comment

Comments

@lvmm
Copy link

lvmm commented Mar 5, 2024

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.

Describe the bug
In dark mode 'Copy as Image' in the right-click menu produces unusable images, and not just the colour - they are way too large too.

To Reproduce
Steps to reproduce the behavior:

  1. Enable dark mode
  2. Open Entity Relation library and drag Entity to the canvas
  3. Right-click on Entity and select 'Copy as Image' in the menu
  4. Paste into a graphics editor e.g. mspaint

Expected behavior
See screenshots below

Screenshots
This is the default Entity from Entity Relation library copied to the clipboard as image in dark mode.
entity-bad

And this is how it looks when exported via File-Export as-PNG with 'Selection Only' checked - the desired behaviour.
entity-good

Popping up a dialogue after 'Copy as Image' similar to the one used in 'Export as' could be a good idea.

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

  • draw.io version 23.1.5

Desktop (please complete the following information):

  • OS: Windows

Additional context
Add any other context about the problem here.

@WilliamChen-luckbob

This comment was marked as duplicate.

@davidjgraph davidjgraph changed the title copy as image and dark mode produces disastrous results copy as image and dark mode produces incorrect results Jun 11, 2024
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

2 participants