jgraph / drawio-desktop

Official electron build of draw.io

Home Page:https://www.diagrams.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

copy as image and dark mode produces disastrous results

lvmm opened this issue · comments

commented

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.

same issue in 24.2.5

I have tried all the modes of drawio and also switched the theme mode of my windows. The output images are in such an unfriendly form, losing all the connections, descriptions, and content, only leaving the title text in the white rectangles.

This problem has never occurred in the old version of drawio (I forgot which version it is.).