This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 37228

Summary: workflow of quick editor file switch has issues
Product: platform Reporter: _ jrichard <jrichard>
Component: Window SystemAssignee: jrojcek <jrojcek>
Status: RESOLVED FIXED    
Severity: blocker CC: pzavadsky
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 50353    
Attachments: patch to add system property for restricting recent window list to document windows

Description _ jrichard 2003-11-14 02:21:09 UTC
besides issue 37226, there are some workflow
issues with the quick window switching.

often I'll go to the filesystems to open a file
and get the filesystems window at the top of the
stack.  I then accidentally switch to it a few
times before I get fed up and activate a few
editor windows to push it down the stack.  There
are a bunch of ways to fix this I guess:

 - make two lists, one without non-editor windows
 - remove the none-editor files from the ctrl+` list
 - have a toggle in the options window to choose
if non-editor windows should be included

(also note that most non-editor windows are
infrequently used and already have shortcuts)
Comment 1 pzajac 2003-11-14 08:37:24 UTC
reassigned to core/window system
Comment 2 Marian Mirilovic 2003-11-14 09:51:24 UTC
Jano,
what do you think about it?
Comment 3 jrojcek 2003-11-14 10:45:10 UTC
Sounds reasonable. Will see what we can do with it.
Comment 4 _ jrichard 2004-01-21 03:28:23 UTC
Just want to point out that eclipse has both "editor-only" navigation
and "window" navigation mechanisms...  When I use eclipse, I rarely 
use that "window" navigation, so personally I'd switch the default
navigation to "editor-only" and allow "window" navigation as an option.


Comment 5 stighd 2004-10-06 18:09:18 UTC
Created attachment 18102 [details]
patch to add system property for restricting recent window list to document  windows
Comment 6 stighd 2004-10-06 18:18:21 UTC
Hello,

I've attached a patch to
org.netbeans.core.windows.actions.RecentViewListAction which adds a
boolean system property
org.netbeans.core.windows.actions.recentViewListAction.RESTRICT_TO_DOCUMENTS,
which, if set to "true", restricts the list of windows in the recent
file list to document (i.e. MODE_KIND_EDITOR) windows. This works
nicely for me, and is a fairly simple patch.
Comment 7 jrojcek 2004-11-25 16:46:34 UTC
Fixed. Ctrl-Tab now switches between editor windows only.