Weird mousewheel scroll behavior with long menus

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!

Weird mousewheel scroll behavior with long menus

Postby Nash » Tue Oct 12, 2021 6:06 am

To reproduce this, run the example file, and go into Controls -> A Very Long Controls Menu.

This is just the controls menu with a lot of duplicated items to make the menu long enough that the scroll up/down arrows start to appear.

When you use the mousewheel to scroll down slowly, it works fine, and when you see the "this is the last item" text that's in yellow, it will be flush against the bottom edge of the screen:

Now, scroll up back a little, so that you don't see the last item anymore (maybe go to the middle of the list). Now, scroll your mousewheel aggressively (as in, swipe the wheel very fast and far, like as if to make it scroll more lines).

You will most likely be able to make the scrolling overshoot its limits, and the last item will now no longer be at the edge of the screen:

Depending on how hard you roll the mousewheel, the position can overshoot only a few lines, or in extreme cases, you could even make the last item go so high up that it goes to the middle of the screen.
You do not have the required permissions to view the files attached to this post.
User avatar
Twitter/Facebook/Youtube: nashmuhandes
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Weird mousewheel scroll behavior with long menus

Postby Player701 » Thu Oct 14, 2021 1:38 am

Possibly related to this issue.
User avatar
Joined: 13 May 2009
Location: Russia
Discord: Player701#8214
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests