Community
Participate
Working Groups
Eclipse 3.0 M8, Windows XP Make sure the views have existing items. Resize and/or hide (resize until zero) the columns. Restart the workbench. Observe that column widths for Problems view have been collapsed so that the total column width is about half the view width. Observe that Tasks view have defaulted the column widths, including making hidden columns visible. Check the plugin metadata area for org.eclipse.ui.workbench to see that view state was persisted correctly (as far as I can see).
pls look on bug 71489 - if the problem view was not active at shutdown, it will be restored correctly on the next start
It looks like 3.1 RC2 and RC3 have improved this behavior; columns in marker views are restored correctly regardless of whether they were the active view or not at the time of shutdown. The remaining issue is the handling of hidden columns. These are restored to a default (or best fit?) width instead of remaining hidden on the next startup. I usually hide the folder column in Problems and Tasks views since the file name is enough to give an idea of where the problem is. It bugs me that Eclipse insists on overriding my preference and show the hidden folder column after a restart. I suspect the fix is simple, probably just apply the zero width read from the workbench state instead of trying to be smart and make the column visible.
Created attachment 23508 [details] Changes org.eclipse.ui.views.markers.internal.TableView to respect zero-width columns during save & restore This is a simple patch to get marker-based views to respect zero column width set by the user. It makes two one-line changes, in getColumnData method to correct save state and in getSavedColumnData method to correct restore state.
Columns with zero width are reset intentionally. There was an old bug (bug 75945 - really a dupe of this one) that caused columns to be incorrectly saved with zero size. This means that there are a whole pile of workspaces persisted with zero column size, even though this was not desired by the user. This caused bug 86329: the columns would seem to disappear when you try to load an old workspace with a copy of Eclipse contiaining the fix for bug 75945. This causes the columns to seem to disappear entirely. The check for zero size is there to fix this (also, on GTK it is impossible to resize a 0-size column). This patch will cause a regression in bug 86329. The fix is to provide another means to show/hide columns. (Like an "edit columns" dialog). Reclassifying PR, since the original problem reported here is fixed.
*** Bug 8850 has been marked as a duplicate of this bug. ***
There are currently no plans to work on this feature
*** Bug 71117 has been marked as a duplicate of this bug. ***
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.