Bug 211606 - [Viewers] [ColumnViewer] EditorActivationEvent should be called by mouse up event.
Summary: [Viewers] [ColumnViewer] EditorActivationEvent should be called by mouse up e...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-30 11:19 EST by Andrey Kononenko CLA
Modified: 2019-09-06 16:10 EDT (History)
1 user (show)

See Also:


Attachments
Snippet for reproducing of the bug (7.57 KB, application/octet-stream)
2007-11-30 11:19 EST, Andrey Kononenko CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kononenko CLA 2007-11-30 11:19:25 EST
Created attachment 84190 [details]
Snippet for reproducing of the bug

Build ID: N/A

Steps To Reproduce:
Use attached snippet.

1. Mouse down on check box.
2. Drag mouse to other column (e.g. on 1st column)
3. Mouse up on other cell.

Expected result: several cells are selected (from the mouseDown to the mouseUp cells).
Actual result: no selection, check box change its state. 


More information:
The issue refer to a single mouse click cell editor activation. Perhaps starting something by a mouse down event is not common practice. More useful behavior is using a mouse up event, because of possibility to implement multi selection in any case and other features (like skip any action by mouse up outside). The issue was discussed http://www.eclipse.org/newsportal/article.php?id=1014&group=eclipse.technology.nebula#1014
Comment 1 Andrey Kononenko CLA 2007-11-30 11:47:01 EST
I'd like to suggest possible solution, because we've implemented it in my application: 

handleEditorActivationEvent(...) method is called only during MouseDown event (in method handleMouseDown(...)). Thus if MOUSE_CLICK_SELECTION uses for cell editor activation, than it is considered only for mouseDown event and starts editor by first mouseDown event. If user wants select several cells by mouse dragging, then first selected cell will be with started editor.

It is possible to change method hookEditingSupport(...) and add handleMouseUp(...) method (similar to handleMouseDown) and implement some behavior to recognize "mouse up" cell and make solution about start cell editor and multi selection.
Comment 2 Boris Bokowski CLA 2009-11-26 09:55:25 EST
Hitesh is now responsible for watching bugs in the [Viewers] component area.
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:10:26 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.