You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the SDL release notes I can't tell if this is a regression in SDL or USDX using a now-deprecated way of handling keys, but considering it's a bugfix SDL version introducing this behaviour for now I'm leaning towards a regression. I'll open a ticket in the SDL repo and link it here
The text was updated successfully, but these errors were encountered:
ticket at SDL has been closed because it's impossible to reproduce when building directly from the repo (or actually the other way around: it always breaks, even on very old versions). As mentioned there, USDX' SDL_KEYDOWN, SDL_TEXTINPUT handler isn't particularly readable either and frankly I'm surprised it has ever worked at all. SDL_StartTextInput being done right before the main loop (and that being the only time it's used) is also strange to me: it doesn't make sense for that to be active all the time?
It can probably be split into two separate handlers and then each screen can decide what to with it. Also enable/disable the actual textinput stuff instead of having it active all the time.
This is an issue on at least Linux. It's confirmed on Archlinux. Unsure about other distro's or OSes.
How to reproduce:
E
to edit any song+
or-
on the NumpadExpected result:
The
Tone
field is edited by +1 or -1Actual result:
The
Tone
field is edited by +2 or -2Similar bugs have been reported outside of github in the form of "pause not working" (= it's probably being triggered twice, thus pausing+unpausing)
Downgrading to version 2.28.1 of Archlinux sdl2 package fixes the issue.
From the SDL release notes I can't tell if this is a regression in SDL or USDX using a now-deprecated way of handling keys, but considering it's a bugfix SDL version introducing this behaviour for now I'm leaning towards a regression. I'll open a ticket in the SDL repo and link it here
The text was updated successfully, but these errors were encountered: