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

Bug 360928

Summary: [Handlers] HandlerUtil returns null for getCurrentSelection
Product: [Eclipse Project] Platform Reporter: Wim Jongman <wim.jongman>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED DUPLICATE QA Contact: Paul Webster <pwebster>
Severity: normal    
Priority: P3 CC: remy.suen
Version: 3.7.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Wim Jongman CLA 2011-10-14 04:47:27 EDT
Hi,

On linux when a jface dialog is opened before fetching the current selection from the HandlerUtil in the handler's execute method, the call

HandlerUtil.getCurrentSelection(event)

returns null.

This is different from windows where this does not occur.

build-id: M20110909-1335
Comment 1 Remy Suen CLA 2011-10-14 07:48:57 EDT
Probably the same bug as bug 242246.
Comment 2 Paul Webster CLA 2011-10-26 13:24:29 EDT

*** This bug has been marked as a duplicate of bug 242246 ***