Bug 270440 - List control draws wrong focus rect when DefaultSelection listener calls setItems(..)
Summary: List control draws wrong focus rect when DefaultSelection listener calls setI...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-30 08:49 EDT by Markus Keller CLA
Modified: 2019-09-06 16:12 EDT (History)
1 user (show)

See Also:


Attachments
modified Snippet59.java (2.15 KB, text/plain)
2009-03-30 08:49 EDT, Markus Keller CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2009-03-30 08:49:16 EDT
Created attachment 130237 [details]
modified Snippet59.java

I20090325-1135

The List control draws a wrong focus rectangle when the DefaultSelection listener calls setItems(..).

To reproduce, run the attached snippet and then doubleclick a list item (not the first item). Now, the first item also looks like it has the keyboard focus, but it doesn't.

If you create the List with SWT.MULTI, the focus rect completely disappears, but the logical focus actually ends up on the first item, which can be seen if you press Ctrl+ArrowDown.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:12:06 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.