PNG export crops the map for at least one user #56

Open
opened 2026-09-05 15:10:57 +00:00 by ImBenji · 0 comments
Owner

A user reported in March 2026 that PNG export crops their map. It has never been on the board, and it is one of only two issues the community raises unprompted (the other is non-macOS performance).

Not reproduced locally, and it needs the reporter's actual .ana file - the shape of the bug is almost certainly bounds computation on some specific scene rather than something that shows up on a demo map.

Where to look:

  • lib/rendering/export/export_bounds.dart computes the exported region
  • test/export_bounds_canvas_objects_test.dart covers canvas objects contributing to bounds, which is the most likely omission - a label, decorated box or reference image sitting outside the track bounding box
  • test/png_export_banding_test.dart covers the banded writer, so a band-offset error would already be caught; a wrong overall bounds would not be

First step is getting the file off the reporter, not guessing. Filed so the report stops living only in a Discord thread.

Opened during the roadmap audit on 2026-09-05.

A user reported in March 2026 that PNG export crops their map. It has never been on the board, and it is one of only two issues the community raises unprompted (the other is non-macOS performance). Not reproduced locally, and it needs the reporter's actual `.ana` file - the shape of the bug is almost certainly bounds computation on some specific scene rather than something that shows up on a demo map. Where to look: - `lib/rendering/export/export_bounds.dart` computes the exported region - `test/export_bounds_canvas_objects_test.dart` covers canvas objects contributing to bounds, which is the most likely omission - a label, decorated box or reference image sitting outside the track bounding box - `test/png_export_banding_test.dart` covers the banded writer, so a band-offset error would already be caught; a wrong overall bounds would not be First step is getting the file off the reporter, not guessing. Filed so the report stops living only in a Discord thread. Opened during the roadmap audit on 2026-09-05.
ImBenji added this to the Arcs & Angles project 2026-09-05 15:10:57 +00:00
ImBenji added the bugarea:rendering labels 2026-09-05 15:14:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: IMBENJI.NET/Metro-Map-Maker#56