-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
--crop
not working as expected on latest versions
#1759
Comments
I checked your test case on v24.4.8 with macOS and Windows and those are working. Are you sure you are using v24.4.8? (Check with |
Can reproduce on Arch (https://aur.archlinux.org/packages/drawio-desktop version 24.4.8-2; |
this is what I did to get the files in the original issue:
while switching between cached (i.e. previously built) versions of drawio using my package manager. I just asked a colleague of mine to run that command. He could not reproduce on NixOS using version 24.4.0 |
I cannot repeat on the .deb build on an ubuntu flavour. The question is whether the problem is with arch linux specifically, or with the arch linux build. But given none of us run arch linux and we have never had anything to do with the arch linux build, I think this would be better directed at whoever authors the arch build. |
@davidjgraph I was able to reproduce this by running on yarn install
yarn run sync
yarn run release-linux After unpacking from release .deb and from Looks like it has not been updated in open source drawio since v24.3.1 and this it what makes source-based builds broken. |
https://github.com/jgraph/drawio-desktop shows the correct submodule. Are you sure submodules are being recursively pulled on updates? |
OK, no, you're right. There's an update problem with that file. Amazing nobody else noticed :D. |
They are. However that won't help without rebuilding I've added As for your packages, Github CI workflows use the private drawio-dev rather than the public drawio repo, and it likely makes all the difference. |
OK, thanks for the investgations, we'll get the public repo fixed. |
OK, deploy process fixed. |
Preflight Checklist
--crop
flag crops to much on 24.4.6 #1747 and Exporting math to PDF leaving huge blank space drawio#4464 but the report seems different from my point of viewYou 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
The
--crop
parameter does not actually crop the image to the smallest dimensions, depending on the version.I noticed the bug in 24.4.8 and a different wrong behavior in 24.4.0, 24.2.5 works as expected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The behavior from 24.2.5
Screenshots
My results:
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: