To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=112775 Issue #|112775 Summary|Macro changes not saved on document Close/Save Component|framework Version|OOO320m12 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|tm Reported by|r000000
------- Additional comments from r000...@openoffice.org Tue Jun 29 00:33:31 +0000 2010 ------- Overview: Sometimes changes to a Macro, in either a Module or in a Dialog, are not saved when the document is closed (with Save). Analysis: This appears to happen if (1) the 'Save AutoRecovery information every __ minutes' option (Options -> Load/Save -> General) is turned on and (2) an auto-save action takes place prior to (a) Closing (with the Save option) or (b) manually saving the document (e.g., File -> Save or ctrl-s). Example: 1. Ensure the Save AutoRecovery option is turned on. For convenience, set the time value short, like 2 to 5 minutes. 2. Create a new document (spreadsheet and text documents have been tested). Create a Module (Module1 by default). Save the document. Optionally, open an existing document that contains a Module. 4. Modify the Module (for example, add a comment). 5. Wait for the autosave action (indicated by a 'saving' message in the status bar, which can be very quick in a simple document and thus difficult to see) or wait at least as long as the autosave minutes option is set to. 6. Close (Save) the document). 7. Open the document. Look at the Module. (The change you made is probably not there.) Comments: This also occurs for Dialog changes. This also occurs with previous versions of oo (2.0, 3.1.1 tested). (I'd had auto-save turned off while using version 2, so I didn't discover the problem for some time.) This occurs on at least Windows and on Linux. Auto-save does save the changes. This can be seen if the process is killed (after auto-save takes place); the restore process, on the next OO startup, shows the change. Workaround: (1) Turn off auto-save, or (2) execute a manual Save immediately after changing a Module or Dialog. (Probably still fails if the auto-save takes place between the time you make the change and the time you save it, but that's hard to confirm.) Further notes and possible appologies: I have no idea what subcomponent applies, or even what the various options mean; since it's required, I merely selected the first. As a first time issue submitter, I find the process not as straight forward as I might hope. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org