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

Bug 47667

Summary: [Widgets] Navigator View Tree Navigation State on Re-Open
Product: [Eclipse Project] Platform Reporter: Daniel Figoni <dfigoni>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Grant Gayed <grant_gayed>
Severity: normal    
Priority: P3 CC: akurtakov, bso, farrellp
Version: 3.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: HP-UX   
Whiteboard:

Description Daniel Figoni CLA 2003-11-27 14:34:46 EST
Procedure:
---------
1. Create a simple project with a folder and file inside the folder.

2. To make the Navigator view navigation buttons active, left-click on your 
project in the Navigator view, then right-click and select 'Go Into'.  'Go 
Into' the respective folder as well.

3. Close the workbench and re-open it.

Expected Behaviour:
------------------
Navigator view arrow buttons are in the same state as when the workbench was 
closed (and position in the tree).  

Observed Behaviour:
------------------
Navigator view arrow buttons are not active.

OS/Platform Info:
----------------
HPUX 11.0 HP-UX B.11.00 A 9000/785 2013677842 two-user license
JRE 1.4.1_03

Notes:
The functionality seems to be functioning properly on Windows and Solaris 
platforms. It was evident only on HPUX.
Comment 1 Grant Gayed CLA 2003-12-01 13:05:27 EST
This works for me on hpux with the M5 build.  Is it possible that you have a 
more specific case that's not working?  Can you easily reproduce it with a new 
workspace with a new project+folder+file?
Comment 2 Daniel Figoni CLA 2003-12-02 11:37:30 EST
I was just about to reply to say I couldn't reproduce it...when...

Try the procedure below.  Going back up to the folder level before exiting 
seems to do the trick.

Procedure:
---------
1. Create a simple project with a folder and file inside the folder.

2. To make the Navigator view navigation buttons active, left-click on your 
project in the Navigator view, then right-click and select 'Go Into'.  'Go 
Into' the respective folder as well.

* 3. Go back one level (to folder level) using the navigator arrow button.

4. Close the workbench and re-open it.
Comment 3 Grant Gayed CLA 2003-12-03 12:51:29 EST
Trying this, after restarting the workbench, the right-arrow has lost its 
enablement which it previous had, but the left-arrow is still enabled.  The 
right-arrow seems like a minor point.  I'm using:

- hpux M5, gtk-1202, win32-1202 (same behaviour on all)
- the Navigator view on the Resource perspective

If in your case both arrows are disabled then this implies that the only way to 
see the project level at this point, without closing and recreating the 
Navigator, is to press the "Up to..." toolbar button?
Comment 4 Daniel Figoni CLA 2003-12-03 14:27:31 EST
I decided to try this scenario on HPUX 11i (11.11) and there is not a problem. 
But when I do it on a HPUX 11.00, none of the navigation arrows are active.  It 
seems the problem is localized to HPUX version 11.00.  By chance, did you try 
this on 11.00 or 11.11 ?

Re:
"If in your case both arrows are disabled then this implies that the only way 
to see the project level at this point, without closing and recreating the 
Navigator, is to press the "Up to..." toolbar button?"
Correct.

Something else to note now that I have played with it a little more. If you 
create another folder (folder y) with file within the top level folder and 
navigate ("go into") the file within this folder (folder y), then go back up to 
folder y. Close and re-open the workbench. The appropriate arrow buttons are 
active.  So it seems it specific to the position of one level from the root of 
the project.

Comment 5 Grant Gayed CLA 2009-08-27 14:43:25 EDT
Moving report to triage, see http://www.eclipse.org/swt/triage.php
for swt bug handling process.
Comment 6 Leo Ufimtsev CLA 2017-08-03 12:37:40 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 7 Alexander Kurtakov CLA 2017-12-06 01:56:30 EST
SWT no longer provides HPUX builds.