| Summary: | "Reset Perspective..." disables "Save" and "Save All" buttons | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Zeb Ford-Reitz <zeb.ford-reitz> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | emoffatt, naray.gabor, pwebster, remy.suen, yevshif |
| Version: | 3.7.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux-GTK | ||
| Whiteboard: | stalebug | ||
|
Description
Zeb Ford-Reitz
Paul, do you see this problem on Linux with 3.7.x? Yes. It's related to opening a dialog while a view is maximized in the perspective (I can get the same behaviour if I open the preferences dialog). If I open the preferences dialog without any min/max changes, the 2 actions are disabled, but closing the dialog re-enables both. PW I confirm the bug, and it appears even today, with linux kernel 3.10.25, Eclipse 4.2 (Juno), and not sure about GTK version. Somehow the menu is messed up, and the maximized view (or editor in my case) remains active (good if the menu would be good). I decided to write a workaround, and succeeded, but it is not trivial at all. The concept is that the menu is restored correctly when I click on another editor or view, and the editor again. In practive, it means activating another part (IWorkbenchPart) which is not the focused one (view or editor), and after it is activated, activating the previously focused one thus the user gets the same GUI state. In my case, the editor loses the "Save As" menu, and there are usually views around, thus using part, perspective, and page listeners, I find a view on the page after perspective is activated and changed, store the active editor, then activate the found view, and when that view is activated, I activate the stored active editor. In case there is no view around, then we are unlucky, and the bug appears. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the stalebug whiteboard tag. |