Bug 70356 - [Viewers] TableViewerImpl handle MouseDown not leaving when selection changes as in eclipse 2
Summary: [Viewers] TableViewerImpl handle MouseDown not leaving when selection changes...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-07-19 12:25 EDT by herve.blanloeil CLA
Modified: 2019-09-06 15:32 EDT (History)
0 users

See Also:


Attachments
Corrected/NotWorking (SWT.Visible defined) (4.62 KB, text/java)
2005-06-20 15:07 EDT, Phil Hunt CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description herve.blanloeil CLA 2004-07-19 12:25:12 EDT
I have a TableTreeViewer with a ComboBoxCellEditor in a column.
The ComboBoxCellEditor contents changes depending on selection in the table 
tree. With eclipse 3, selection change is taken into account after combo is 
expanded, so combo is not populated with expected content - worked in eclipse 2.

In eclipse 2 version of TableViewerImpl.handleMouseDown(MouseEvent event), 
following code ensured that mouse down event were actually not processed before 
selection ones:
if (tableItem != items[0]) {
	//This mouse down was a selection. Keep the selection and return;
	tableItem = items[0];
	return;
}
This piece of code is not present in eclipse 3: this makes the popup to be 
expanded sooner (which is fine too as it is more usable: in 2 you had to make 
two clicks: one for selection change and the other one to actually expand 
combo) but too soon as selection change has not been taken into account.
Possible to have both advantages: (selection change + expand) in one click ?
Comment 1 Phil Hunt CLA 2005-06-20 15:07:26 EDT
Created attachment 23567 [details]
Corrected/NotWorking (SWT.Visible defined)
Comment 2 Phil Hunt CLA 2005-06-20 15:47:39 EDT
Comment on attachment 23567 [details]
Corrected/NotWorking (SWT.Visible defined)

Please IGNORE.	This was attached to the wrong bug.
Comment 3 Boris Bokowski CLA 2007-06-20 15:47:34 EDT
Is this still a problem in 3.3?
Comment 4 Boris Bokowski CLA 2009-11-26 09:54:40 EST
Hitesh is now responsible for watching bugs in the [Viewers] component area.
Comment 5 Eclipse Webmaster CLA 2019-09-06 15:32:42 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.