Skip to content

namir-clap: set_size returns Ok while the plugin is not resizable and ignores the request #98

Description

@ErwanLegrand

crates/namir-clap/src/gui.rs:192-198

set_size returns Ok(()) while can_resize() is false and get_size keeps returning the 960x640 constants, so a host that calls it anyway is told the resize succeeded when nothing changed.

Fix: return Err to match what the plugin actually does.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions