Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 309080

Summary: Expanding root item in Tree selects item but doesn't fire Selection event
Product: [Eclipse Project] Platform Reporter: Tim <eclipse>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact: Bogdan Gheorghe <gheorghe>
Severity: normal    
Priority: P3 CC: ipun
Version: 4.8Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Tim CLA 2010-04-14 04:52:29 EDT
Build Identifier: I20090611-1540

I have a view with a TreeViewer in it. When this view is initially opened, nothing is selected. If you click the expand arrow of a root node, this root node will be selected (at least visually) but no selectionChanged event is fired. If you then left-click somewhere on the root node, the selectionChanged event is fired. Right-clicking the node does not set the selection.

This happens on Red Hat 4 with X version 6.8.2, both with KDE and Gnome. On Windows XP this bug does not appear.

Reproducible: Always

Steps to Reproduce:
1. Create a view with a TreeViewer and some data.
2. Open the view. Nothing should be selected.
3. Click the expand arrow of a root node. The node is now selected.
Comment 1 Grant Gayed CLA 2010-05-13 16:03:59 EDT
Verified that this is an swt problem, changing report title slightly to reflect this.  This problem can be seen in the ControlExample.
Comment 2 Ian Pun CLA 2017-06-27 15:09:59 EDT
This is not reproducible as selecting the expand arrow does not visually select the root node anymore in GTK3.22 on Fedora 25. Closing as WORKSFORME unless someone else is able to find this happening with an updated system.