Bug 263427 - [Viewers] [JFace] Programmatic selection does not change the focus with virtual tables
Summary: [Viewers] [JFace] Programmatic selection does not change the focus with virtu...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL: http://www.eclipse.org/newsportal/art...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 03:42 EST by Clovis CLA
Modified: 2019-09-06 16:13 EDT (History)
1 user (show)

See Also:


Attachments
Test case (1.46 KB, text/plain)
2009-02-03 03:44 EST, Clovis CLA
no flags Details
Test case with setUseHashlookup(true) (1.49 KB, text/plain)
2009-02-11 02:31 EST, Clovis CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clovis CLA 2009-02-03 03:42:33 EST
Programmatic selection of a cell in a TableViewer (using TableViewer.setSelection(ISelection, true)) does not change the focus if the table is virtual.
Comment 1 Clovis CLA 2009-02-03 03:44:05 EST
Created attachment 124518 [details]
Test case
Comment 2 Boris Bokowski CLA 2009-02-10 15:38:06 EST
Make sure you call v.setUseHashlookup(true).
Comment 3 Clovis CLA 2009-02-11 02:31:36 EST
Created attachment 125360 [details]
Test case with setUseHashlookup(true)

Same as previous test case, but with setUseHashlookup(true)
Comment 4 Clovis CLA 2009-02-11 02:33:36 EST
Using setUseHashlookup(true) does not fix the problem.
Comment 5 Thomas Schindl CLA 2009-02-11 04:44:04 EST
Boris with Focus he means the dotted lines around the row. Clovis could you please attach a screenshot to make clear what you mean.
Comment 6 Thomas Schindl CLA 2009-02-11 04:46:27 EST
the problem is that in the virtual case we are using Table#select() and not Table#setSelectedItem() like we do in the none-virtual case!
Comment 7 Thomas Schindl CLA 2010-01-28 17:13:52 EST
multi change because of intenion of stepping back as platform-ui committer
Comment 8 Eclipse Webmaster CLA 2019-09-06 16:13:19 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.