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

Bug 351319

Summary: IGanttEventListener#evetsSelected is only called with non-empty selection
Product: z_Archived Reporter: Christian Sell <c.sell>
Component: NebulaAssignee: Laurent CARON <laurent.caron>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: laurent.caron
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://github.com/eclipse/nebula/pull/111
Whiteboard:
Attachments:
Description Flags
unified patch, workspace root none

Description Christian Sell CLA 2011-07-06 08:38:20 EDT
Build Identifier: HEAD

when multiple event selection is allowed, an application should be able to handle the case where an event is un-selected, resulting in an empty selection. Currently, this case is explicitly excluded in code.

Reproducible: Always
Comment 1 Christian Sell CLA 2011-07-06 08:58:37 EDT
Created attachment 199182 [details]
unified patch, workspace root

I have fixed this issue in my local workspace, by adding a configuration option to ISettings, which by default (AbstractSettings) is false. Depending on that option, #eventSelected will also be fired for empty selection. A patch is attached (unified, workspace root)
Comment 2 Laurent CARON CLA 2019-09-08 12:42:39 EDT
But fixed in Nebula 2.3.0

Big thanks to Christian Sell for this patch.