Community
Participate
Working Groups
I20110914-0200 1. Window > Save Perspective As... > Give it a name > OK 2. Window > New Window 3. The new window steals the shared area from the first window. Trying to active the first window will activate the second window.
This is because the current code is cloning the value of the MPlaceholder's 'ref' (so it's pointing at the one in the original window. I'm currently working on this; I have code in ElementReferenceRenderer that will reset the ref (based on id), creating and adding the MPart/MArea to the new window's sharedParts list if necessary. There are still some issues to be worked out though...
Pushed in >201101005. commit b9cca45a2414af0c391374cb7879ed4bc1e12834 There is still some issue that cause the main menu to change in the non-active window but this appears to be unrelated to this work.
Dean, I didn't seem to be able to get the MPlaceholder's 'ref' feature to be null in the clone even though I had changed its 'derived' state to 'true' in the model. For now I have code that explicitly 'nulls' them but it seems like the 'derived' thing should have worked...feel free to check this, I'd gladly remove the null'ing code if we can make it automagic...
Pushed in >20111005. Commit to fix many of the warnings in the ModelService. commit e1e80dd71f90a93b51ba36c17252909521dde74e
(In reply to comment #2) > There is still some issue that cause the main menu to change in the non-active > window but this appears to be unrelated to this work. Did you open a bug and capture the repo steps? We should probably track that down :-) PW
(In reply to comment #5) > Did you open a bug and capture the repo steps? Eric showed me this on his computer. It's bug 348920.
Verified in I20111025-2000.