Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366314

Summary: [Contributions] The location of the history navigation toolbar is not stable
Product: [Eclipse Project] Platform Reporter: Sandip Chitale <sandipchitale>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: deepakazad, pwebster, remy.suen
Version: 3.7.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug
Attachments:
Description Flags
screenshot none

Description Sandip Chitale CLA 2011-12-10 14:01:52 EST
Build Identifier: M20110909-1335

Eclipse has a nice location history navigation toolbar. By repeatedly clicking on the history toolbar buttons you can quickly navigate to the locations the cursor/focus was at in various editors that are open. Unfortunately, out of the box, the position of the history navigation toolbar buttons is not stable if you have files of varying types open in the editor area. That is because the toolbar contributed by various editors are shown and hidden as the focused editor changes. These editor contributed toolbars (shown in blue rectangle below), when shown, are inserted to the left of history navigation toolbar.

This can be easily fixed by adding the editor contributed toolbars in the right-most position on the toolbar strip. This will make the position of all non-editor toolbars stable.


Reproducible: Always

Steps to Reproduce:
1. Open a .java and .project and .classpath files in editor area
2. Try repeatedly clicking on the Back button on the history navigation toolbar.
3. The location of Back button jumps around to the right and left
Comment 1 Sandip Chitale CLA 2011-12-10 14:13:38 EST
See http://sandipchitale.blogspot.com/2011/12/tip-stable-history-navigation-using.html for screenshots etc.
Comment 2 Deepak Azad CLA 2011-12-10 14:55:56 EST
This annoys me as well esp in 4.2.
Comment 3 Paul Webster CLA 2011-12-12 08:30:39 EST
(In reply to comment #2)
> This annoys me as well esp in 4.2.

Deepak, this doesn't appear in my 4.2 (only in my 3.8).  This is about an entire toolbar moving (not toolitems).  Could you provide the 4.2 toolbar shots as well?

Thanx in advance,
PW
Comment 4 Deepak Azad CLA 2012-01-12 01:35:06 EST
Created attachment 209352 [details]
screenshot

(In reply to comment #3)
> Deepak, this doesn't appear in my 4.2 (only in my 3.8).  This is about an
> entire toolbar moving (not tool items).  Could you provide the 4.2 toolbar shots
> as well?

At least the newly introduced debug toolbar comes and goes. For me the 'Skip all breakpoints' action is always there and I think it is part of a separate toolbar, because I see a separator between this tool item and rest of the debug actions.

Also the tool items in the Java editor toolbar come and go. Sometimes they are simply disabled instead of being hidden, I prefer this behavior at least in Java perspective as the location of tool items is preserved. Is there a separate bug for this issue?
Comment 5 Sandip Chitale CLA 2012-01-12 10:15:26 EST
My strong suspicion (not confirmed though) is that any action contributed through org.eclipse.ui.editorActions extension point will suffer from this behavior. The good news is that it may be possible to fix it in one place in the code.
Comment 6 Lars Vogel CLA 2019-11-14 03:07:51 EST
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.