You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
When invoking drawio from the CLI, the --crop option does not show any effect.
I've checked versions 20.7.5 and 24.2.5, there the --crop option worked as expected.
To Reproduce
Steps to reproduce the behavior:
Make sure you are on 24.4.0
Create dummy file with some small content and a large paper size, e.g. A4
Run /Applications/draw.io.app/Contents/MacOS/draw.io -x --crop dummy.drawio
Open output
Expected behavior
Steps to reproduce the behavior:
Make sure you are NOT on 24.4.0
Create dummy file with some small content and a large paper size, e.g. A4
Run /Applications/draw.io.app/Contents/MacOS/draw.io -x --crop dummy.drawio
Open output
Screenshots
Dummy DRAWIO file
Expected PDF file
Bug PDF file
draw.io version (In the Help->About menu of the draw.io editor):
Ok version: != 24.4.0
Bug version: == 24.4.0
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
leuchtum
changed the title
Bug with 24.4.0: Crop not working when invoking from CLI
Bug with 24.4.0: --crop not working when invoking from CLI
May 16, 2024
Preflight Checklist
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
When invoking drawio from the CLI, the
--crop
option does not show any effect.I've checked versions 20.7.5 and 24.2.5, there the
--crop
option worked as expected.To Reproduce
Steps to reproduce the behavior:
/Applications/draw.io.app/Contents/MacOS/draw.io -x --crop dummy.drawio
Expected behavior
Steps to reproduce the behavior:
/Applications/draw.io.app/Contents/MacOS/draw.io -x --crop dummy.drawio
Screenshots

Dummy DRAWIO file
Expected PDF file

Bug PDF file

draw.io version (In the Help->About menu of the draw.io editor):
Ok version: != 24.4.0
Bug version: == 24.4.0
Desktop (please complete the following information):
> sw_vers ProductName: macOS ProductVersion: 14.4.1 BuildVersion: 23E224
Additional context
NA
The text was updated successfully, but these errors were encountered: