Page MenuHomeFeedback Tracker

TextListboxWidget EH OnItemSelected may return wrong column id
Reviewed, NormalPublic

Description

When player selects item inside TextListboxWidget using scrolling (and only scrolling) OnItemSelected will return column id -1, which is wrong, as an actual column id is 0.
After item selection using mouse click, returned column id will be correct even while scrolling, until ClearItems() method call.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
1803 (build 17134.407)
Category
Scripting
Steps To Reproduce
  1. Create layout with TextListboxWidget
  2. Make a script to fill it and handle OnItemSelected
  3. Check returned column value for OnItemSelected event on scrolling before/after LMB selection
Additional Information

Event Timeline

3Vaker created this task.Nov 18 2018, 6:15 AM
tom_48_97 closed this task as Resolved.Nov 22 2018, 3:54 PM
tom_48_97 claimed this task.
tom_48_97 added a subscriber: tom_48_97.

This is as designed, scrolling is only changing the row selection, the column selection is untouched unless clicked.

tom_48_97 reopened this task as Reviewed.Nov 22 2018, 3:55 PM