Skip to content

The --page-index option does not work correctly in the latest version.Β #2319

@AinzRimuru

Description

@AinzRimuru

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
Regardless of the value specified for --page-index, it always returns the first page.

To Reproduce
Steps to reproduce the behavior:
drawio.exe --export --format pdf --crop --page-index 2 --output *.pdf *.drawio

Expected behavior
Output the page specified by page-index.

Screenshots
None

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

  • draw.io version 29.3.0

Desktop (please complete the following information):

  • OS: Linux docker debian:bookworm-slim

Additional context
Downgrading the deb package version from 29.3.0 to 24.6.4 restored normal operation, but there wasn't enough time to investigate which version the problem originated in.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions