UI events are only sent to things when ticks happen

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

UI events are only sent to things when ticks happen

Postby Gutawer » Thu Jun 23, 2022 2:27 pm

I don't know exactly where this would be characterised between "bug" and "feature request", but essentially I think it's pretty unexpected behaviour that due to the way D_DoomLoop is written, menus and event handlers don't actually get events such as mouse movement as they happen, but they instead queue up until the ticker is run. Especially now that menus can be run at uncapped framerates with the game still paused, this creates an essentially arbitrary restriction that means that menus can't run as smoothly as they should be able to - 35 FPS is pretty noticeable jerky in some contexts.

It'd be better if things like menus got UI events instantly, so that they can be made as smooth as wanted.
User avatar
User Accounts Assistant
Joined: 16 Apr 2016
Discord: Gutawer#3431

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests