Community
Participate
Working Groups
HandlerUtil#getActiveShell(*) returns the active shell based on the ActiveShellSourceProvider code: final Shell newActiveShell = display.getActiveShell(); currentState.put(ISources.ACTIVE_SHELL_NAME, newActiveShell); It is susceptable to transient shells. PW
See ProgressManagerUtil#getDefaultParent
Would it be enough to call #getDefaultParent()? Will that return the active shell if it's a window or a dialog (and something useful if there's one of those transient tooltips up)? PW
Updated as per http://wiki.eclipse.org/Platform_UI/Bug_Triage PW
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. -- The automated Eclipse Genie.
This bug has been marked with as "stalebug" for some time now. I mark this bug as "worksforme" to indicate that no work is planned here. If this bug is still relevant for the latest release, please reopen the bug and remote the "stalebug" whiteboard tag.
Still an issue. See Bug 569067 for a usecase. I have reopened for now, but I may patch up the usecase in Bug 569067 if this issue is too hard to solve.
(In reply to Jonah Graham from comment #6) > Still an issue. See Bug 569067 for a usecase. > > I have reopened for now, but I may patch up the usecase in Bug 569067 if > this issue is too hard to solve. I am not going to be able to disentangle this. Among other things I don't think ActiveShellSourceProvider exists anymore (e4 change?) but the bug is still present.