Skip to content

[Bug] SpinButton behavior #1281

@ChristopherSteiner

Description

@ChristopherSteiner

Describe the bug
Currently all occurences of the SpinButton in Ueli behave weird. All of them can only be changed by using the up and down function, when a value is entered manually it gets reset after losing focus.
For some SpinButtons the value is increased by 2 per step up or down. The video below shows both issues (don't mind the weird theme, my screenrecorder seems to be buggy aswell):

Ueli.2024-12-04.11-36-28.mp4

To Reproduce
Steps to reproduce the behavior:

  1. Go to any of the controls that currently contain a SpinButton. Either Calculator Settings, Search History Settings or File Search Settings
  2. Click into the control
  3. Type a valid number
  4. Click out of the control

Expected behavior
The control behaves like a masked input that only allows numbers to be entered.

Environment

  • OS: Windows
  • Version 9.11.1

Additional context
The issue with the "double jump" per step is likely because the input type is set to number on the SpinButton, which causes to up/down Buttons to appear.

Maybe it is easier to replace all occurences of the spin button with the control used for the Rescan Interval

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions