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 99279 - Cannot save web.xml with keyboard shortcut
Summary: Cannot save web.xml with keyboard shortcut
Status: RESOLVED DUPLICATE of bug 89548
Alias: None
Product: javaee
Classification: Unclassified
Component: DD Editor (show other bugs)
Version: 5.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-28 17:01 UTC by jernst
Modified: 2007-04-04 16: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 jernst 2007-03-28 17:01:14 UTC
I open web.xml in a J2EE project.
I edit the file in some fashion, the tab displays "web.xml *", indicating that
it has been modified.
I type "apple-s" (shortcut for "save", which works in all other places).
Nothing happens, file is not saved.

However, I can save the file by selecting File / Save.
Comment 1 Erno Mononen 2007-03-30 12:59:37 UTC
Are you using 5.5 FCS? This looks like a duplicate of issue 74048 which was 
fixed for 5.5 final. 
Comment 2 jernst 2007-03-30 17:22:14 UTC
About says "NetBeans ID 5.5 (Build 20061017101)"
Comment 3 Erno Mononen 2007-03-31 10:30:44 UTC
It should be the final build then, I'll have a look at this. So you have the 
multiview editor opened for web.xml, i.e. not just a regular xml editor? Could 
you also please specify which version of MacOS you have? Thanks.
Comment 4 jernst 2007-03-31 20:58:18 UTC
OSX 10.4.9 on Intel Core Duo 2, but I seem to recall that earlier versions had
the same problem, I just had never bothered to file a bug ...

% java -version
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)

I don't quite know the right NetBeans terminology, but the problem occurs if I
open up web.xml by double-click (leading to a multi-tabbed editor with titles
"General", "Servlets", "Filters" etc.), regardless of which tab I'm in, and it
occurs if I open up web.xml from the context popup menu with "Edit" (leading to
a regular editor).
Comment 5 Martin Schovanek 2007-04-04 11:11:31 UTC
Can reproduce in XML view in Multi View it works fine for me. Reproducible in
5.5.1 as well. In 6.0 both view works fine.

Workaround is to use [ctrl][S] shortcut instead [Command][S].
Comment 6 Erno Mononen 2007-04-04 16:39:56 UTC
Thanks jernst and Martin for the info. This is in fact duplicate of issue 89548 
- the fix for that fixed this one too, so the shortcut already works in 6.0 M6 
and newer. I'm marking this as a duplicate of that, thanks for reporting.

*** This issue has been marked as a duplicate of 89548 ***