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

Bug 374400

Summary: "popup style" for invoking outliner from within content
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: ClientAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: aclement, lmsurpre, mamacdon, Michael_Rennie
Version: 0.4   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 420870, 422499    
Bug Blocks: 368848    

Description Susan McCourt CLA 2012-03-15 11:40:24 EDT
Some background first:
We've been talking in bug 368848 about how to navigate a long list of contiguous sections.  One idea is to provide a navigation outline of the sections.  For example, on the commit page, list all the diffs in an outline.  

This got us talking about outline position.  For example, on a diffs page you probably don't want an outline on the left that is taking up your code space.  

I'm starting to imagine an outline at the top that is either pinned or that can be popped up from within the content.

Which finally gets me to the point of this particular bug.

Do we want a mode for an outliner (on the editor page, commit page, etc.) where you could simply popup a lightweight outliner in the middle of your content, click the link, and have it move you there?  

Anyone think they would like this in the editor?
Comment 1 John Arthorne CLA 2012-03-15 11:49:51 EDT
Just some input.. in Eclipse I use the popup outline heavily. This is mainly for keyboard accessibility to avoid having to click around changing focus (Ctrl+O, start typing method name, hit enter). I could imagine other ways of doing that, such as the command console slide-out supporting a "go to function" command.
Comment 2 Mark Macdonald CLA 2012-03-15 14:31:15 EDT
(In reply to comment #1)
> Just some input.. in Eclipse I use the popup outline heavily. This is mainly
> for keyboard accessibility to avoid having to click around changing focus
> (Ctrl+O, start typing method name, hit enter).

I have the usage pattern as John. In Orion I've tried to duplicate it by using Incremental Find: Ctrl+J, start typing a function name, then press ESC once you've found it. But this approach generates a lot of false positives. A keyboard-accessible quick outline would be ideal.
Comment 3 Susan McCourt CLA 2012-04-18 14:14:54 EDT
Szymon is exploring this for the git sectional pages.  
Assigning bug to him.  once we've had a chance to try it/use it, we may open other bugs to get other places (editor outliner) to use a similar concept.
Comment 4 Susan McCourt CLA 2012-05-25 11:46:29 EDT
Libing found this example of a floating sidebar, perhaps something like this could be used for a popup section navigator (or editor outliner).  

http://www.wduffy.co.uk/blog/wp-content/demos/jquery-scrolling-element/
Comment 5 Michael Rennie CLA 2013-11-29 15:29:30 EST
We could just use the outline renderer as-is in a popup (the same way it is used in the side view) then the two outlines would look the same and would not require any more code from clients - i.e. they contribute an outliner it is used in both places.
Comment 6 John Arthorne CLA 2015-05-05 14:44:59 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html