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 45686 - CTRL-F4 does not close tab as documented
Summary: CTRL-F4 does not close tab as documented
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2004-06-29 15:22 UTC by _ gtzabari
Modified: 2004-08-27 09:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2004-06-29 15:22:28 UTC
dev build 200406281800
JDK 1.5 beta 2

   CTRL-F4 is supposed to close individual tabs
within the VCS Output window (if you right-click
on a tab that's what it says) and this works fine
if your focus is on the tab itself. The problem is
that if you hit CTRL-F4 while your focus is inside
the contents of the tab the keyboard shortcut will
not work as expected. Users will never explicitly
select the tab using the keyboard then hit
CTRL-F4; you should make the shortcut work
regardless of where you are within the tab.
Comment 1 Martin Entlicher 2004-08-27 09:22:46 UTC
This is a regression, in 3.6 this works O.K.
Comment 2 Martin Entlicher 2004-08-27 09:39:04 UTC
In 3.6 it worked, because it removed the selected component rather
then the component that was specified as an argument to the discard
method.
This was a wrong behavior anyway.
It's fixed in trunk:
/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/CommandOutputVisualizer.java,v
 <--  CommandOutputVisualizer.java
new revision: 1.39; previous revision: 1.38