Skip to content

Layout values out of range are clamped on project load without a notice #1599

Closed

Description

@giswqs

Found in the release quality sweep (v0.5.0 to main).

Layout::clamp silently clamps out-of-range saved layout values (for example a legend's columns 999 to 3) on every project load.

Why it is an issue rather than a sweep fix: An existing silent loss under AGENTS.md; reporting it needs Layout::clamp to return what it changed.

Where (main at d866893): crates/map/src/layout.rs:1340

From:

Activity

  1. added a commit that references this issue on Nov 8, 2026
    460e754
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions