Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369174 - TreeViewer should fire double-click event at column header
Summary: TreeViewer should fire double-click event at column header
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7.1   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 01:29 EST by Leung Wang Hei CLA
Modified: 2019-11-14 03:39 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leung Wang Hei CLA 2012-01-20 01:29:43 EST
Build Identifier: 20110916-0149

TreeViewer should fire double click event not only for item but header.

One of the very common usages is: double click to sort.

Tried to workaround with a timed- selection listen but failed.  The 2nd event just does not fire.

Reproducible: Always

Steps to Reproduce:
1. Create a TreeViewer with a column
2. Add double click listener like this:

column.addListener(SWT.MouseDoubleClick, listener);  // Not working, listener never called

treeViewer.addDoubleClickListener(new IDoubleClickListener();  // Work in the item, not column header

3. Event fired for item but not for column header
Comment 1 Lars Vogel CLA 2019-11-14 03:39:44 EST
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.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.