Bugzilla – Bug 323190
Focus issues
Last modified: 2008-01-16 00:34:09 UTC
---- Reported by gert.driesen@pandora.be 2007-01-11 14:50:51 MST ---- The LinkLabel's GotFocus and LostFocus events never fire, and the focus rectangle is not removed once focus has moved to another control. To reproduce: 1. compile and run the attached code snippet. 2. follow the on-screen instructions. ---- Additional Comments From gert.driesen@pandora.be 2007-01-11 14:51:51 MST ---- Created an attachment (id=171266) Repro ---- Additional Comments From everaldo@simios.org 2007-03-11 23:09:57 MST ---- It was cause by a problem under TabStop, now is fixed in SVN r74082. ---- Additional Comments From gert.driesen@pandora.be 2007-04-19 08:15:57 MST ---- Everaldo, this does not appear to be fixed. Once the LinkLabel has lost focus, the GotFocus/LostFocus are never fired again (and the focus rectangle remains visible even if focus is on another control). ---- Additional Comments From everaldo@simios.org 2007-04-19 12:25:49 MST ---- Not all the time, I cant figure when it happens but I see that sometimes it happens. Let me take a look at it one more time. ---- Additional Comments From everaldo@simios.org 2007-04-19 12:30:09 MST ---- I figure the problem, if you click on a LinkLabel that already have focus then focus breaks. Let me check. Imported an attachment (id=171266)
This looks related to bug #325809. To repro, click Reset, and the click the LinkLabel a bunch. A LinkLabel->LostFocus should never be generated. The Select in Control.WmLButtonDown is causing the LinkLabel to be unselected.
Fixed in r93001