Dota2-Gameplay icon indicating copy to clipboard operation
Dota2-Gameplay copied to clipboard

Armory: Can not box select multiple items due to pane scrolling not being disabled.

Open DrQuint opened this issue 4 years ago • 0 comments

The Armory is a view at the bottom of the inventory screen and emulates the previous client's Inventory screen, which was a 1:1 reflection of the steam inventory system. Dota 2's armory, however, has a largely expanded view and feature set. One of these features is multi-selection. Either by holding CTRL and clicking individual items, or through an action generally known as box selection. The bug concerns the latter method of multi-selection.

Within normal behavior, you can scroll through the pane by clicking anywhere outside of the armory, meaning even outside an empty slot, and dragging your mouse. (Clicking over an item and dragging will instead drag that item to a new position. Pane can also be scrolled by using the mousewheel) This dragging behavior works correctly in isolation, however, it is defective when interacting with Box Selection.

Box selection is meant to take priority over pane scrolling, and is initiated by dragging the mouse from an empty slot in the armory. Meaning a player should be able to box in all the items they want to select together (And use the mousewhell mid-selection to move the pane to gather multiple pages of items). This behaviour was correct shortly after the Armory's release.

But since around before the release of TI8, the priority for this action was lost. This means once a user initiates a box selection, the pane will move alongside and underneath the player's cursor, sending the items the player likely wanted to select away from the box. This means that box selection is still possible, but only if the user is persistent enough to perform the action in the opposite direction of typical box selection as well as capable of eye-ballling the correct distance.

Fix: Disable Pane Scrolling when initiating a drag action withing the Armory's empty slots. the pane should still be scrollable by clinking underneath or above the slots. This should make it possible to box select again. Or, alternatively, make Box selection communicate the disabling of pane scrolling. Whichever approach accommodates to the existing features.

DrQuint avatar Jun 02 '22 17:06 DrQuint