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 48448 - [40cat] Option to switch between open documents only
Summary: [40cat] Option to switch between open documents only
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks: 50353
  Show dependency tree
 
Reported: 2004-09-03 11:51 UTC by vanob
Modified: 2008-12-23 14:32 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vanob 2004-09-03 11:51:38 UTC
[ BUILD # : 200408271257 ]
[ JDK VERSION : J2SE 1.5.0 ]

Currently you can navigate throgh the open objects
with Ctrl+`.

When you press Ctrl+` it lists all the open documents in the IDE including all the open objects
such as output window,projects window,files window.

It's a little bit inconvient because I use Ctrl+` to switch between my open java/properties files i.e. my open documents and it sometimes costs me several ` symbol presses to reach some file.
On the other hand those (for me) unnecessary objects shown in the popup window can be accessed 
with shortcuts ctrl+1,ctrl+2,... but my documents 
can only be acessed by ctrl+`.

So I would like to propose an option that will either list only open documents (java/properties files) or all open objects including open documents (current situation).
Comment 1 Jan Chalupa 2004-10-12 21:40:48 UTC
Hmm, perhaps I misunderstand. Alt-Left, Alt-Right doesn't work for you?
Comment 2 vanob 2004-10-12 22:34:50 UTC
Yes it works but that functionality is some kind of 
inconvenient when you have 50 files open for example
and want to switch between 17 and 39 files. :)

On the other side ctrl+` or ctrl+tab does an excellent job
for this task but for all windows and I need only editor's ones.

Hope you understand me.
Comment 3 Lukas Hasik 2004-10-13 10:11:08 UTC
and what about shift+F4 - all open documents listed in one window 

do you want a new shortcut for switching only among documents or do
you want some option (switch) to change the behaviour of ctrl+tab (to
switch only documents).
Comment 4 vanob 2004-10-13 10:38:57 UTC
do you want some option (switch) to change the behaviour of ctrl+tab (to
switch only documents).?

Yes exactly. :)
Comment 5 zikmund 2004-10-13 10:48:22 UTC
I'd prefer changing ctrl-tab default behavior. I can't imagine who
wants to go back to project view (especially when you use it mostly
for creating more and more files) or am I missing something?

From the accessibility point of view other windows like Projects,
Output etc. should be reachable after going through all editor files.
(I talked about this with Gabo on March and he agreed with such solution)
Comment 6 vanob 2004-10-13 11:05:22 UTC
From the accessibility point of view other windows like Projects,
Output etc. should be reachable after going through all editor files.
(I talked about this with Gabo on March and he agreed with such solution)

I'm not saying to remove the default functionality.
The freedom of choice and customization that's what I want.

I know there are plenty of methods how to switch between documents.
ctrl+tab,
Shift+F4,
Alt+Left,Right

And that's good. I use all of them depending on the case.
If I have many files open and have a file called DAO,
it's faster to press Shift+F4, type dao and press enter.

If I have two files open it's faster to switch with ctrl+tab
Again if I have many files open and can see two of them reside 
side by side I use Alt+Left,Right.

I often find myself concentrated on guessing what window will come up
with ctrl+tab. For example when you work some file, press Ctrl+1 and
open another one. Now I want to go to my previous file. Often I press 
ctrl+tab once and the project window pops up. That's annoying. I'm
used to access projects window with ctrl+1 and I don't have to think
about it. But with the current scenario I have to remember that
If I opened a file through projects window I have to press ctrl+tab
twice and if I came to that document from another document I have to
press it once. Where is the logic? Maybe someone find's it usable
but I don't. I definitely need an ability to switch between open
documents with ctrl+tab.

Look at other IDE's, for example Visual Studio .NET.
ctrl+tab switch is for open documents only. 

Sorry If I repeat myself but we do have shortcuts for 
accessing windows like (projects,output window and so on)
It's easy to remember that ctrl+1 is projects ctrl+2 is files
and so on. So honestly I never use ctrl+tab to switch to projects 
window. 

Again sorry I talked to much. Sometimes it's really 
hard to explain exactly the problem.
Comment 7 llturro 2004-10-13 12:02:13 UTC
Could it be Ctrl+Tab switching only between documents in the main
area? Or better, in the area you have selected? I was wondering what
would happen if somebody had moved HTTPMonitor, for instance, to the
document area and wanted to switch between document and monitor.
Comment 8 David Simonek 2004-10-13 12:25:32 UTC
I added HIE guys so that they know about this issue. I tend to agree
that Ctrl+Tab should switch only between documents, and no options are
neccessary IMO.
Comment 9 Jesse Glick 2004-10-15 15:55:08 UTC
Mostly agree. One problem: I do Find Usages, the Usages window pops
up, I select some usage, and jump to it. Now I am in the editor and
want to close the Find Usages window - using the keyboard only. How?
The only way I know of currently is Ctrl-Tab followed by Ctrl-F4.

Perhaps this is just a UI bug in the Refactoring module, that it has
no Window menu accessor (I would expect its results to appear in the
same mode as Search Results, perhaps), but consider the effect
generally if some module produces a window that (for whatever reason)
has no accelerator key / Window menu item. Maybe the Window menu could
have an item "Other >" (end of first block of menu items) which would
be enabled if and only if there were some window open which was not
otherwise accessible via menu items in this block?
Comment 10 Martin Krauskopf 2004-11-26 09:17:43 UTC
Fixed. New implementation switches only between documents. Concerning
issue with Refactoring module and similar ones - every widnows should
be accessible through menu or accelerator key (according to HIE).
Comment 11 Jesse Glick 2004-12-01 18:17:27 UTC
So I filed issue #51986 for refactoring module.
Comment 12 Quality Engineering 2008-12-23 14:32:14 UTC
This issue had *1 votes* before move to platform component