Community
Participate
Working Groups
Scenario: 1. Create a Java Project. 2. Inside the project create a class file and open it. 3. Edit the file, but don't save it. 4. Close the project. 5. In the "Save Resource" dialog which asks to save the dirty editor choose "No". Expected behavior: The project and editor are closed (editor disappears). Current behavior: The project is closed, but the editor is still open. Its content is still visible until clicked. The editor is still marked as dirty. Closing it shows the "Save Resource" dialog again. After choosing "Yes" an error dialog appears. Found in Eclipse 4.5 N20150119-2000.
Possibly duplicate of bug 41431?
(In reply to Szymon Ptaszkiewicz from comment #1) > Possibly duplicate of bug 41431? You are right Szymon. Thank you! *** This bug has been marked as a duplicate of bug 41431 ***
It is *not* duplicate of bug 41431. The actual problem here is that ResourceFileBuffer haven't tried to notify TextFileBufferManager's if the buffer was marked as dirty. The fix follows.
New Gerrit change created: https://git.eclipse.org/r/41576
*** Bug 346220 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 41431 ***