Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

gtktest "wrapping SpinButton" has glitchy behavior when holding buttons, or using keyboard arrows #258

@nyanpasu64

Description

@nyanpasu64

gtktest has a "wrapping SpinButton". I'm testing on gtk-rs on Windows 10 with gtk via msvc vcpkg.

When I decrease the wrapping SpinButton past the end using keyboard below 10, it gets stuck at 90 until I increase the value to 10 or switch widgets. Above 90, it gets stuck at 10 until I decrease the value to 90 or switch widgets.

If I hold down the +- buttons, I can get the value past the 10..90 range, to 0 or 100.

I'm not familiar with gtk, but is binding the wrapping behavior to connect_input wrong? Should it be bound to connect_value_changed instead?

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