View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0031247||Lazarus||LCL||public||2017-01-18 10:32||2017-10-16 22:53|
|Reporter||Armin Linder||Assigned To||Michl|
|Product Version||1.6.2||Product Build|
|Target Version||1.6.4||Fixed in Version||1.7 (SVN)|
|Summary||0031247: LCL TComboBox: modifier key triggers dropdown list|
|Description||When using AutoDropDown, a modifier key KeyDown event triggers the dropdown.|
|Steps To Reproduce||Put a TCombobox on a form, put the cursor in the edit field, press any modifier key (shift, alt ...), and the Combobox drops down.|
This is a deviation from Delphi, and it does severely hamper tabbing through forms (shift-Tab triggers dropdown instead of move focus)
|Tags||No tags attached.|
|Fixed in Revision||r54054, r54056|
|related to||0031308||closed||Michl||Combobox: Left-arrow deviation|
|related to||0031309||closed||Michl||Combobox: Backspace deviation|
|related to||0031331||closed||Michl||Combobox: cannot select text by shift+left/right (Autodropdown)|
|related to||0032559||closed||Michl||Tabulator isn't working for ComboBox and style csSimple|
More bugs/deviations compared with Delphi found.
- if you position the cursor in the text using the mouse, and press [Left-Arrow] to advance the cursor left, the cursor jumps to the end of the field instead, and advances 1 character left from there
- if you position the cursor in the text, using the mouse, and click to clear the autoselect, then press [Backspace] to delete a character left, the whole text field is deleted
For full description see forum post:
Another issue found is that the Lazarus version does provide some sort of case-insensitivity (cbactRetainPrefixCase:true, cbactearchCaseSensitive:true) which Delphi does not offer, but it seems not implemented properly: the attributes are correctly honored on text entry, but not on exit control. If you enter any text differing in case only from one of the items, the item is not selected during text entry, but it is selected on exit.
Please one bugreport for one issue. It is not guaranteed that one developer will fix all issues or only one and than this report is hard to read or bugs/features are forgotten.
> press any modifier key (shift, alt ...), and the Combobox drops down.
Fixed in trunk revision 54045, 54053.
||See also 2 new issues from comments.|
combobox1.zip (1,892 bytes)
> if you position the cursor in the text, using the mouse, and click to clear the
> autoselect, then press [Backspace] to delete a character left, the whole text
> field is deleted
Fixed for Win32 in trunk revision 54054. GTK2 is further broken, later I'll see, if I can fix that too.
> if you position the cursor in the text using the mouse, and press [Left-Arrow]
> to advance the cursor left, the cursor jumps to the end of the field instead,
> and advances 1 character left from there
This, I can't see. Can you check the added example combobox1.zip with latest trunk, if it shows that behaviour?
If it shows that behaviour, please explain it step by step, maybe I miss something.
> Another issue found is that the Lazarus version does provide some sort of
> case-insensitivity (cbactRetainPrefixCase:true, cbactearchCaseSensitive:true)
> which Delphi does not offer, but it seems not implemented properly: the
> attributes are correctly honored on text entry, but not on exit control. If you
> enter any text differing in case only from one of the items, the item is not
> selected during text entry, but it is selected on exit.
Fixed in trunk revision 54054.
||//Related: 0031308, 0031309|
Left-arrow issue: Dont see it too, on Win10 and posted demo zip..
I see issue4:
on this demo zip, focus combobox by mouse, then move caret, and press AltF4. App dont close. AltF4 dont work.
> I see issue4:
> on this demo zip, focus combobox by mouse, then move caret, and press AltF4.
> App dont close. AltF4 dont work.
If you find a bug, please open a new bugreport!!!
I fixed this issue in trunk revision 54055 (now it should be Delphi compatible, <Alt> + <F4> works, if DropDownWindow isn't opened).
||Sorry:I should have new report for this|
||Fixed in trunk revision 54054. Please test and close if ok.|
|2017-01-18 10:32||Armin Linder||New Issue|
|2017-01-27 11:15||Armin Linder||Note Added: 0097729|
|2017-01-27 11:19||Armin Linder||Note Added: 0097730|
|2017-01-27 11:20||Armin Linder||Note Edited: 0097730||View Revisions|
|2017-01-27 13:56||Michl||Note Added: 0097734|
|2017-01-27 13:56||Michl||Note Edited: 0097734||View Revisions|
|2017-01-31 21:12||Michl||Assigned To||=> Michl|
|2017-01-31 21:12||Michl||Status||new => assigned|
|2017-01-31 21:18||Michl||Note Added: 0097851|
|2017-02-01 01:36||Alexey Tor.||Note Added: 0097854|
|2017-02-01 12:09||Michl||Note Edited: 0097851||View Revisions|
|2017-02-01 12:14||Michl||File Added: combobox1.zip|
|2017-02-01 12:24||Michl||Note Added: 0097866|
|2017-02-01 12:38||Michl||LazTarget||=> -|
|2017-02-01 12:38||Michl||Note Added: 0097867|
|2017-02-01 12:38||Michl||Status||assigned => feedback|
|2017-02-01 12:43||Michl||Note Added: 0097868|
|2017-02-01 12:47||Michl||Note Edited: 0097868||View Revisions|
|2017-02-01 12:50||Michl||Note Edited: 0097868||View Revisions|
|2017-02-01 13:03||Alexey Tor.||Note Added: 0097869|
|2017-02-01 13:21||Alexey Tor.||Note Added: 0097870|
|2017-02-01 14:29||Michl||Relationship added||related to 0031308|
|2017-02-01 14:32||Michl||Relationship added||related to 0031309|
|2017-02-01 15:22||Michl||Note Added: 0097879|
|2017-02-01 15:31||Alexey Tor.||Note Added: 0097880|
|2017-02-01 17:20||Michl||Fixed in Revision||=> r54054|
|2017-02-01 17:20||Michl||Note Added: 0097887|
|2017-02-01 17:20||Michl||Status||feedback => resolved|
|2017-02-01 17:20||Michl||Fixed in Version||=> 1.7 (SVN)|
|2017-02-01 17:20||Michl||Resolution||open => fixed|
|2017-02-01 17:20||Michl||Target Version||=> 1.6.4|
|2017-02-01 20:25||Michl||Relationship added||related to 0031331|
|2017-02-01 20:48||Michl||Fixed in Revision||r54054 => r54054, r54056|
|2017-10-16 22:53||Michl||Relationship added||related to 0032559|