Skip to content
This repository has been 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

Open
nyanpasu64 opened this issue Aug 23, 2019 · 0 comments

Comments

@nyanpasu64
Copy link

nyanpasu64 commented Aug 23, 2019

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?

@nyanpasu64 nyanpasu64 changed the title gtktest "wrapping spinner" has glitchy behavior when holding buttons, or using keyboard arrows gtktest "wrapping SpinButton" has glitchy behavior when holding buttons, or using keyboard arrows Aug 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant