Apache OpenOffice (AOO) Bugzilla – Issue 98216
ComboBox Autocomplete ( AutoFill ) option cannot be switched off
Last modified: 2017-05-20 10:35:22 UTC
In the ComboBox Model there is a boolean property AutoComplete, see com.sun.star.awt.UnoControlComboBoxModel This property can be set/reset by UI on the property panel of the control, see item "AutoFill" in form control or dialog control. Problem : setting it to "No" does not switch OFF the AutoComplete feature. Consequence: suppose you need to enter a case-sensitive text; if an existing item has the same beginning, it enforces the case of these letters. Example: - existing item = ucb - wanted value = UCR --> result will be ucR
The property value changed through control model passes boolean type value to VCLXComboBox::setProperty method. But sal_Int16 type value is extracted from the passed any in it. The value from changed at the model has no chance to update value. Proposed patch to fix it.
Created attachment 72064 [details] Proposed patch on OOO330
Please attach example.
Created attachment 82544 [details] Writer document demonstrating the AutoFill in a ComboBox
Thank you bmarcelly Confirmed with AOO410m1(Build:9750) - Rev. 1562493 Rev.1562493 Win 7
"hanya" committed SVN revision 1595141 into trunk: #i98216# extract boolean value for AutoFill value of ComboBox model
Fixed on trunk.
Set target.