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 227337 - Document changes not saved after closing reload dialog
Summary: Document changes not saved after closing reload dialog
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 7.3
Hardware: PC Windows 8 x64
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-12 08:39 UTC by Miloslav Metelka
Modified: 2013-06-03 12:09 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 Miloslav Metelka 2013-03-12 08:39:22 UTC
Report from user (originally entered into issue 206513):

I use Netbeans 7.3 on windows 8 (64bit) and this is actually quite easy to
reproduce.

All my files are stored on a samba server mounted on a local drive on a windows
box I use. And although I use the same timeserver to time sync all the machines
in the network, netbeans still complains sometimes that some files need to be
reloaded (however that seems to be a different story). Anyway, to reproduce the
bug in my env I do the following:

1) Make changes to a file and quickly save (works fine)
2) Make another quick change (write, delete a single character) and attempt a
save (I'm in the habit of pressing a lots of ctrl+s)
3) At this time I get a:
   "Question" - File "..." was modified externally. Overwrite it?
   And this dialog box has two options: Yes / NO
4) However if I press Esc while the dialog box is still open (just to get rid
of it mind you) the following happens:
   - the dialog box disappears
   - any attempts to save the file afterwards (ctrl+s) end up with the windows
ding sound
   - the file/save option is disabled
   - any changes done to the file afterwards do not enable the file/save option
or ctrl+s
   - the title of the file is still shown as bold in the file tabs (suggesting
its changes are not saved)
Comment 1 Miloslav Metelka 2013-03-12 08:47:07 UTC
What file types are involved - java, php or others?
Could you test the problem in Dev build 201303052300 or
later (downloadable
from http://bits.netbeans.org/download/trunk/nightly/latest/ )? Thanks.
Comment 2 Miloslav Metelka 2013-06-03 12:09:22 UTC
As mentioned in comment 88 in issue 206513 the problem no longer happens.