Number input boxes mis-sized

What is your operating system?
Windows 11 Home 23H2 (problem present in previous windows version)

What is your Shotcut version (see Help > About Shotcut)?
24.06.26

Can you repeat the problem? If so, what are the steps?
All number input with ‘scroll’ arrows no longer fit the entire number in - perhaps arrows too big now.
Such as current timestamp - unable to see full number.
See screenshot with highlighted areas - seems to be all number inputs

Not an issue in previous version (24.04.28) see second screenshot.

I reproduced it with the system theme. That is weird. The workaround is to use something else in Settings > Theme.

I found this was changed in the GUI library we use to improve the appearance on Windows 11 to look more consistent with other Windows apps

https://bugreports.qt.io/browse/QTBUG-97668

That page refers to this Microsoft documentation for the official new appearance of numeric controls: Number box - Windows apps | Microsoft Learn

Widening numeric controls everywhere to deal with this for one theme on one operating system is absurd.

One option that I found from the linked page that does work is to set environment variable QT_STYLE_OVERRIDE to windowsvista:

This is fixed for the next version by changing that environment variable on startup on your behalf–if not already set–when using the system theme on Windows.

1 Like