Hot Door CORE Forum
list view valueChanged missing in Windows - Printable Version

+- Hot Door CORE Forum (http://hotdoorcore.com/forum)
+-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bugs (http://hotdoorcore.com/forum/forumdisplay.php?fid=5)
+--- Thread: list view valueChanged missing in Windows (/showthread.php?tid=266)



list view valueChanged missing in Windows - Rick Johnson - 01-15-2021

When clicking on an item in a list view, calls to a list view's valueChanged works as expected. Clicking in a blank area changes the current value, and changes the currentIndex to -1, but that change only registers in macOS. Under Windows, deselecting an item in a list view does not call the valueChanged callback. Is there a workaround for this? My plugin needs to respond to all changes in the state of the list view. Thanks.


RE: list view valueChanged missing in Windows - garrett - 01-18-2021

I believe it should be firing under that condition in Windows, so this is likely a bug. We'll look into it.


RE: list view valueChanged missing in Windows - Rick Johnson - 01-27-2022

Oh-oh. This was fixed in CORE 0.7.8, but it's reappeared in 0.8.0.

With a listView widget, I set a callback for setValueChangedCallback. With one item selected in the list, I click in a blank area below the shown items, and it correctly calls the ValueChangedCallback for Mac, but does not trigger for Windows. This is with AI 23-26, Visual Studio 2015. The problem affects only Windows builds.

Thanks.