Dawnsbury Days 2.65 (scrollbar fix)
Bugfixes:
This patches fixes the most annoying bug in Dawnsbury Days. Over the past year since the game's release, this bug was reported 11 times in the Dawnsbury Days feedback form, at least 3 times on the Steam forums and at least twice on Discord, far more than any other bug.
The bug was that if you used the mouse scroll wheel to scroll through spell lists, shop items, your feats or anywhere else where scrolling is needed, sometimes the game didn't scroll. If you tried to drag the scroll bar by dragging with mouse left button, it also sometimes didn't work, and neither did clicking on an empty space in the scroll bar.
But despite the impact and the number of reports, the bug was also really hard to track down. Players who reported it couldn't reliably reproduce it. Often restarting the game "fixed" the bug, or moving the game to another monitor screen and sometimes the bug would appear only in some screens and not others.
This week, thanks also to recent detailed reports by beets and SwingRipper (thank you both very much!), I finally tracked down the bug and fixed it. Scrollbars should now always work for everyone, whether using the wheel or left-click-dragging, and regardless of your FPS.
The technical explanation is that if your game runs at less than 60 FPS, then two or more update cycles will sometimes happen without a draw cycle in between them. Update cycles normally handle input, but scrollbars are an exception and input to them is handled in draw cycles. On low FPS, there are more update cycles than draw cycles and as a result, the input may be "processed" and forgotten before it reaches the next draw cycle and thus the scrollbar logic.
- Fixed the long-standing bug where scrolling in character editor, shop and combat log sometimes didn't work if your FPS dropped below 60.
- Slightly increased the responsiveness to mouse and keyboard input throughout the game.
This patches fixes the most annoying bug in Dawnsbury Days. Over the past year since the game's release, this bug was reported 11 times in the Dawnsbury Days feedback form, at least 3 times on the Steam forums and at least twice on Discord, far more than any other bug.
The bug was that if you used the mouse scroll wheel to scroll through spell lists, shop items, your feats or anywhere else where scrolling is needed, sometimes the game didn't scroll. If you tried to drag the scroll bar by dragging with mouse left button, it also sometimes didn't work, and neither did clicking on an empty space in the scroll bar.
But despite the impact and the number of reports, the bug was also really hard to track down. Players who reported it couldn't reliably reproduce it. Often restarting the game "fixed" the bug, or moving the game to another monitor screen and sometimes the bug would appear only in some screens and not others.
This week, thanks also to recent detailed reports by beets and SwingRipper (thank you both very much!), I finally tracked down the bug and fixed it. Scrollbars should now always work for everyone, whether using the wheel or left-click-dragging, and regardless of your FPS.
The technical explanation is that if your game runs at less than 60 FPS, then two or more update cycles will sometimes happen without a draw cycle in between them. Update cycles normally handle input, but scrollbars are an exception and input to them is handled in draw cycles. On low FPS, there are more update cycles than draw cycles and as a result, the input may be "processed" and forgotten before it reaches the next draw cycle and thus the scrollbar logic.