Community
Participate
Working Groups
Build 20060208 After installing a new feature from a local update site, I was prompted to restart the workbench and accepted. When the workbench restarted, my perspective layout was reset. When Update restarts the workbench, does it prevent the layout settings from being stored?
This should not happen what plug-in did you update?
A proprietary plug-in which contributes a couple of simple menu items. The plug-ins I installed certainly don't touch the perspective layout.
I can confirm this bug on Eclipse 3.2 M5. Steps to reproduce: - Make a clean installation - Open Eclipse, and modify the workbench layout (add, remove, move, resize view, etc.) - Restart Eclipse. - The layout remains the same. - Go to Install -> Update -> Search for new features to install. - Add a update site, eg: Subclipse Update Site (http://subclipse.tigris.org/update). - Install some feature. - Eclipse asks to restart, yes. - The workbench layout is reset. This is a very annoying bug, since I'm moving to 3.2, but every time I decide to install a new plugin it resets all my layout customizations...
I can reproduce with the steps from comment #3. Moving this bug to the UI team and marking as critical for Callisto.
Mvm, as discussed this may be related to bug 79615.
I experimented a bit yesterday with Callisto and this bug makes the site practically unusable. We are stuck to manual update because our developers cannot afford loosing all their customizations just because they tried to update a plugin.
Too bad this won't be addressed in M6. Any chance to raise the priority to P1 for RC1?
In my opinion, this is a blocking defect for the 3.2 release. We shouldn't ship with such a major flaw in Update.
I can confirm this on Windows XP Pro install using Eclipse3.2M6 on JSE1.5.0_06 from SUN. Plugins I installed which caused this behaviour are SpringIDE Mylar0.4.10 as well as 0.5.0 Subclipse Subversive
Just checked Eclipse3.2RC1 and the defect is still there. The offensive plugin this time is Mylar 0.5.0. Steps to reproduce: Install fresh copy of Eclipse3.2 RC1 Grab Mylar from the update site and install it Restart upon request and the workbench layout will be reset upon next start. Not sure if it is important but I'm installing my plugins to separate install locations.
I found the problem here. Update is calling Workbench.restart() twice. After the first call all windows are closed etc... so saving state the second time saves essentially an empty file. Here is the patch to update please apply this. I have logged another bug for Workbench to be more proactive in warning that the state is being saved a second time. see bug 137610 ### Eclipse Workspace Patch 1.0 #P org.eclipse.update.ui Index: src/org/eclipse/update/internal/ui/wizards/InstallWizard2.java =================================================================== RCS file: /home/eclipse/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/wizards/InstallWizard2.java,v retrieving revision 1.10 diff -u -r1.10 InstallWizard2.java --- src/org/eclipse/update/internal/ui/wizards/InstallWizard2.java 10 Apr 2006 21:48:58 -0000 1.10 +++ src/org/eclipse/update/internal/ui/wizards/InstallWizard2.java 19 Apr 2006 21:02:02 -0000 @@ -469,7 +469,6 @@ Job installJob = new Job(UpdateUIMessages.InstallWizard_jobName) { public IStatus run(IProgressMonitor monitor) { - install(monitor); if (install(monitor)) { return Status.OK_STATUS; } else {
Dejan, could you please get this patch in for 3.2 RC2?
Branko, can you handle this? Seems bad that we are calling restart twice.
*** Bug 79615 has been marked as a duplicate of this bug. ***
applied
*** Bug 140277 has been marked as a duplicate of this bug. ***