Next/Previous page buttons become focused and display tooltips incorrectly in certain situations
alcatrazEscapee opened this issue ยท 1 comments
Mod loader
Forge
Minecraft version
1.20.1
Patchouli version
1.20.1-81
Modloader version
Forge 47.1.3
Modpack info
No response
The latest.log file
https://gist.github.com/alcatrazEscapee/b18259bf60b51fd627dc19dca0a6fbf3
Issue description
The "Next" and "Previous" buttons sometimes have sticky tooltips:
This is behavior that intentionally occurs when using the Tab key to cycle through buttons, but occurs without that as well, with specific combinations of keys and/or scrolls. It occurs more frequently in longer books with more pages per entry.
Steps to reproduce
Example 1
- Open the "comprehensive_test_book" included in Patchouli
- Click "Builtin Page Types"
- Click "Spotlights"
- Click "Next"
- Bug The "Next" button is still
isFocused()
and the tooltip moves around the page. - Click "Next"
- Click "Previous"
- Bug The "Previous" button is still
isFocused()
and the tooltip moves around the page.
Video:
Minecraft.Forge_.1.20.1.-.Singleplayer.2023-11-01.21-13-23.mp4
Example 2
- Open the "comprehensive_test_book" included in Patchouli
- Click "Builtin Page Types"
- Click "Spotlights"
- Scroll to the next page
- Press "Previous"
- Scroll to the next page
- Bug: The "Previous" tooltip appears, with the previous button still being
isFocused()
Video:
Minecraft.Forge_.1.20.1.-.Singleplayer.2023-11-01.21-15-56.mp4
Other information
No response
Fixed by 3e9a848