Community
Participate
Working Groups
I20101025-1602 1. Window > Open Perspective > Java Browsing 2. Window > Show View > Ant 3. Nothing happens. 4. Window > Show View > Console 5. Nothing happens. The only indication that something has actually happened is that whatever part you had active no longer has its parent folder coloured in blue which would imply that a different part has been activated. Resizing the window does not help so this does not appear to be a layout problem.
There are two things wrong here. First, ModeledPageLayout creates (3.x) placeholder stacks by relying on the 'visible' feature instead of the 'toBeRendered' feature. Second, the EModelService's bringToTop(MUIElement) merely sets the element's 'toBeRendered' flag to 'true'. It should set the 'visible' flag to 'true' also.
(In reply to comment #1) > Second, the EModelService's bringToTop(MUIElement) merely sets the element's > 'toBeRendered' flag to 'true'. It should set the 'visible' flag to 'true' also. <rcjsuen> emoffatt: Should EModelService's bringToTop method set 'visible' to true? <emoffatt> no...if the stack is minimized then bringing one of its parts 'to top' shouldn't put it back in the presentation <emoffatt> it's starting to appear as if the general rule is that 'visible' == false puts the control under whomever set it to false, the general code should *never* change it (at least I can't think of a case offhand where this makes sense) <emoffatt> it's up to the 'hijacking' code to ensure that everything still works :)
Created attachment 181822 [details] ModeledPageLayout patch v1
(In reply to comment #3) > Created an attachment (id=181822) [details] > ModeledPageLayout patch v1 Patch released to CVS HEAD.