Skip to content

iced_examples/counter panics when clicking left or right on Sway #25

@JustSoup312

Description

@JustSoup312

When running the counter example on Sway window manager clicking the left or right buttons leads to a panic.

Two errors seem to be reported depending on if the panic is immediate or not.

If the panic isn't immediate the window seems to be dismissed with the following error spamming the logs:
Protocol error 1 on object zwlr_layer_surface_v1@16:

If the panic is immediate it displays the errors:

zwlr_layer_surface_v1@16: error 1: width 0 requested without setting left and right anchors
khronos-egl-6.0.0/src/lib.rs:1173:42:
called `Option::unwrap()` on a `None` value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions