Bug 211360 - Graphics example can't select items from tree-menu
Summary: Graphics example can't select items from tree-menu
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.4 M6   Edit
Assignee: Kevin Barnes CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-11-28 19:20 EST by Alex Blewitt CLA
Modified: 2009-06-04 15:10 EDT (History)
3 users (show)

See Also:


Attachments
Patch (1.02 KB, patch)
2008-01-31 19:23 EST, Luma CLA
Silenio_Quarti: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2007-11-28 19:20:02 EST
Running GraphicsExample, I couldn't use the tree on the left to achieve anything different. I could drill down into sections, but from there, not achieve anything interesting.

I discovered that if I clicked 'next' then it would cycle through the animations. I suspect the listener on the tree isn't picking up the click/double click actions (if indeed, that's how it should be used)
Comment 1 Steve Northover CLA 2008-01-25 17:20:32 EST
This WORKSFORME.  Does this happen on Mac OSX-Cocoa?
Comment 2 Alex Blewitt CLA 2008-01-26 15:35:57 EST
Sorry, my bad. I meant MacOSX-Cocoa when I filed it. 
Comment 3 Luma CLA 2008-01-31 19:23:20 EST
Created attachment 88483 [details]
Patch

The reason is tree selection event doesn't carry a TreeItem. The patch fixes it by setting event.item to current selected item.
Comment 4 Steve Northover CLA 2008-02-08 14:19:25 EST
Ping.
Comment 5 Kevin Barnes CLA 2008-02-10 15:24:39 EST
fixed in Table and Tree > 20080210.

Luma thanks for the patch!