When releasing the mouse over the Survival tab in the Creative menu while using the scroll bar, the inventory switches to the Survival tab
Linked Issues
is duplicated by2
- Unresolved
Anon Ymus- 22
- 9
- Confirmed
Low
- Platform
- UI
- Creative
- inventory scrollbar
1.5 - 24w35a
1.5 1.5.1 1.5.2 13w18c 13w19a 13w21b 13w22a 13w23a 13w23b 1.7.4 14w02a 14w02b 1.8 1.8.1-pre1 1.8.8 15w49b 1.10.2 16w41a 16w42a 1.11 1.11.2 1.12-pre6 1.12.1 1.12.2 18w02a 18w03b 18w06a 18w22c 1.13 18w30b 18w31a 18w32a 18w33a 1.13.1 1.13.2-pre2 1.13.2 19w08b 19w09a 19w11a 19w11b 19w12b 19w13b 1.15.2 20w18a 1.16-pre3 1.16-pre5 1.16-rc1 1.16 1.16.1 1.16.2-pre1 1.16.3-rc1 1.16.3 1.16.4 20w49a 20w51a 21w03a 21w05b 21w06a 21w07a 21w11a 21w15a 21w17a 1.17 1.18.2 1.19 1.19.2 1.19.3 1.19.4 23w12a 1.20-rc1 1.20 1.20.1 1.20.3-rc1 1.20.4 1.21.1 24w35a
Created Issue:
Scrolling into Survival Inventory
When scrolling down in any inventory tab with an active scrollbar, scrolling too far and releasing on top of the survival inventory tab switches to it. Not a terrible bug, but very annoying when trying to quickly scroll to the bottom of a tab.
is duplicated by
When scrolling down in any inventory tab with an active scrollbar, scrolling too far and releasing on top of the survival inventory tab switches to it. Not a terrible bug, but very annoying when trying to quickly scroll to the bottom of a tab.
Scrolling into Survival InventoryWhen releasing the mouse over the Survival tab in the Creative menu while using the scroll bar, the inventory switches to the Survival tab
The fix for this issue would be to simply move the CreativeInventoryScreen#mouseReleased (Yarn mappings) method into the CreativeInventoryScreen#mouseClicked method. Note that this is the same fix for MC-11739, since they are the same issue and I think one should duplicate the other.
The creative inventory tabs change the selected item group when the mouse is released rather than first pressed. This behavior is inconsistent with other tested tab types; the create world screen, advancements screen, and statistics screen tabs all activate when the mouse is first pressed.
Relates to MC-11739 but focuses on specific clicks rather than clicks involved with other user interface elements.


Confirmed.
Happens when scrolling up as well (switching to the search page).
Confirmed, but I think I know what is going on.
When you release your mouse while over the survival inventory tab, it switches to the tab.An easy fix is to make sure that you aren't over the survival inventory tab when you release.
Confirmed for 1.8. When you clock anywhere while the Inventory is open (even not on the GUI), and release on any tab, you will switch to it.
Confirmed for 1.8.1-pre1.
Confirmed for 1.13 & 18w30b.
Confirmed for 18w31a.
Confirmed for 18w32a.
Confirmed for 18w33a.
Confirmed for 1.13.1.
Confirmed for 1.13.2-pre2.
Confirmed for 1.16 Pre-release 2.
Confirmed for 1.16-pre3.
Confirmed in 1.16-pre4.
Confirmed in 1.16-pre5.
Confirmed in 1.16-pre6.
Confirmed in 1.16-pre7.
Confirmed in 1.16-pre8.
Confirmed in 1.16-rc1.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a
Can confirm in 21w07a.
Can confirm in 21w11a.
Can confirm in 21w15a.
Can confirm in 21w17a.
Can confirm in 1.17.
Can confirm in 1.18.2.
Can confirm in 1.19.
Can confirm in 1.19.2.
Code analysis (Yarn mappings)
One fix for this issue would be to move the CreativeInventoryScreen#mouseReleased method that implements the item group selection behavior to the CreativeInventoryScreen#mouseClicked method. A side effect would be that the item group would be changed when the mouse is first pressed, but that would be more consistent with other user interface elements.
This issue still exists in Minecraft 1.19.4.
This issue still affects 23w12a.