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 81132 - "Save All" Button on the toolbar doesn't work for gui(form) editors
Summary: "Save All" Button on the toolbar doesn't work for gui(form) editors
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
: 91270 91271 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-26 09:05 UTC by ilvisne
Modified: 2007-05-14 16:39 UTC (History)
1 user (show)

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 ilvisne 2006-07-26 09:05:55 UTC
I am using NB 5.5 Beta 2. 

Problem: If i edit, change a JPanel or add some component to a JPanel, i have to
click twice"Save All" Button on the toolbar to save it. After first click,
button is disabled and then immediately again activated without saving. After
second click does it, what it has to do. i think, this problem concerns only gui
editor, because "save all" works fine for textual editors.
Comment 1 Tomas Pavek 2006-07-26 12:55:33 UTC
Caused by recent fix of issue 79363. I think it happens only if you save a form
in which you added a new event handler since opening or last save - then it is
reloaded after save and marked modified. Reassigning to java editor.
Comment 2 ilvisne 2006-07-26 14:44:28 UTC
>I think it happens only if you save a form
>in which you added a new event handler

No. I have created a new JPanel and added a jlabel. after that i clicked "Save
All". the same error happens still.
Comment 3 Tomas Pavek 2006-07-26 15:20:06 UTC
You are right, it happens still, but only with Save All. Saving just the file 
works ok. Also Save All seems to work fine in 6.0 dev.
Comment 4 Tomas Pavek 2006-12-19 14:45:23 UTC
*** Issue 91270 has been marked as a duplicate of this issue. ***
Comment 5 Tomas Pavek 2006-12-19 14:48:55 UTC
*** Issue 91271 has been marked as a duplicate of this issue. ***
Comment 6 Jan Pokorsky 2007-05-14 16:39:40 UTC
[nb 070514, jdk 1.5.0_10]

In NB6.0 the infrastructure that handles loading/storing java files was
rewritten. After these changes I cannot reproduce such a behavior. Closing as fixed.