Selection of text in Edit TCombobox in Find dialogs do not work.
Original Reporter info from Mantis: ggeldenhuys
-
Reporter name: Graeme Geldenhuys
Original Reporter info from Mantis: ggeldenhuys
- Reporter name: Graeme Geldenhuys
Description:
When you do a "Find..." or "Find in Files..." you are able to select (highlight) text in the ComboBoxes.
After you have done the first find, any other usages of the "Find..." or "Find in Files..." dialogs, you cannot highlight text in the Edit Comboboxes anymore.
With the help of 'git bisect' I managed to find the exact revision causing the problem (11 IDE recompiles later). In r19935 it works and in r19936 it doesn't.
Here is the 'git bisect' report showing the revision that caused the bug.
==============================
0ac4dda5116fa60fec59470dd3743ee922b8fb59 is first bad commit
commit 0ac4dda5116fa60fec59470dd3743ee922b8fb59
Author: paul &LtPos;paul@freepascal.org>
Date: Tue May 12 05:23:55 2009 +0000
lcl: request Font and Color update after DestroyWnd call to
properly restore them after new Handle creation (fixes issue #11935 (closed))
git-svn-id: http://svn2.freepascal.org/svn/lazarus/trunk@19936
4005530d-fff6-0310-9dd1-cebe43e6787f
:040000 040000 c157ba1f5901e9cc781d7476c79df85f62ac577d
f5e8810f6477d02bb579d4b6f80cb3870dda121f M lcl
==============================
Mattias suggested that it is the "auto completion" that is causing the problem. That was my first thought as well. So I copied a TComboBox definition from the *.lfm file into a small test application. Even with auto-completion enabled, the test application worked perfectly.
I also noted to Mattias that by following his advice and disable auto-compeletion in the "Find..." dialog, that the issue still exists. Also the "Find in Files..." dialog doesn't have a disable auto-completion button.
Mantis conversion info:
- Mantis ID: 14270
- OS: Ubuntu Linux
- OS Build: 8.04.2
- Build: latest revision
- Platform: x86
- Version: 0.9.27 (SVN)
- Fixed in version: 0.9.27 (SVN)
- Fixed in revision: 21102 (#03d39fc7)
- Target version: 0.9.30