Community
Participate
Working Groups
At the moment, if you call the showPart(*) APIs with a PartState.VISIBLE argument, the part may not actually become visible if it is in the same stack as the currently active part. This mirrors the API in 3.x but is essentially counterintuitive as the resulting user interface does not match what the words seem to imply, that being that the part is actually obscured by the active part instead of being "visible".
Created attachment 182472 [details] EPartService patch v1
(In reply to comment #1) > Created an attachment (id=182472) [details] > EPartService patch v1 This patch does not include the necessary changes to the 4.x workbench implementation. The code as-is will mean the IWorkbenchPage.VIEW_VISIBLE argument will not be honoured correctly if the shown part is in the same stack as the active part.
Created attachment 182482 [details] EPartService patch v2 This patch incorporates additional changes to preserve the behaviour of the 3.x APIs.
Fixed in CVS HEAD.
Nice ! Should we consider fixing this for 3.x ?
(In reply to comment #5) > Should we consider fixing this for 3.x ? I think not, because then you would be changing/breaking the API. ;)
This change was wrong and makes it impossible to make a part visible without forcing focus on it.
Let's keep this one closed and deal with it via the regression bug 396853.