Bug #6282
Combo-box VALUE-CHANGED
0%
History
#1 Updated by Marian Edu over 4 years ago
For drop-down/drop-down-list combo-box when the drop down list is made visible and a value is selected before closing it the value-changed event always fire and modified is set to true, even if the same item as before was selected - in FWD if the selection does not change the event isn't fired and modified remains false as a result.
The changed event in ListSelectionModel isn't fired if the same item was selected. Since that is used basically by the selection-list widget the code looks alright in that respect - for selection-list when one click on the same item so selection does not change the value-changed even isn't fired - the code needs to take into consideration the combo-box use-case (a listener that needs to be notified even if new selection is the same as current one).
#3 Updated by Vladimir Tsichevski about 1 year ago
Seems, this issue does not exist anymore (trunk rev. 15969).
Marian, can you confirm this, or create a demo example proving this issue still exists?
#4 Updated by Marian Edu about 1 year ago
Vladimir Tsichevski wrote:
Seems, this issue does not exist anymore (trunk rev. 15969).
Marian, can you confirm this, or create a demo example proving this issue still exists?
Vladimir, it's been a while since we've tested anything in FWD and currently we're not actively involved in the project so I can't really confirm anything. However, there might be tests for VALUE-CHANGED that could help in testcases - look into tests/ui_tests/combo_box folder. Although this has more to do with the event handling so maybe something in the interactive sub-folder, not sure if this exact scenario is being simulated though.