Apache OpenOffice (AOO) Bugzilla – Issue 62991
Scripts/javascript directory leftover after deleting all macros and libraries
Last modified: 2013-07-30 02:40:01 UTC
Problem: When all Javascript macros and libraries are removed from a document, an empty directory "Scripts/javascript" is left over in the document file. When the document is re-opened, the user will be presented with the Enable Macros or Disable Macros question, even though there are not actually any macros in the file anymore. I am using Gentoo Linux, but I think this applies to any platform. This issue occurs in every OOo program that has Javascript macros, and it doesn't matter whether the file is saved as OpenDocument or as OOo 1.0 format. Steps to reproduce: 1. create a new document or spreadsheet; 2. create a javascript macro library (and a javascript macro if you like) in the current document; 3. save and re-open your document; 4. remove all javascript macros and javascript libraries from the current document; 5. save and re-open your document; 6. you'll see a warning asking you to either Enable or Disable Macros. Expected result: The Scripts/javascript directory should be removed, so that the warning/question described above is not shown.
crap, can somebody change the title to "Scripts/javascript leftover"? (Or a better summary if you have an idea.)
confirmed with 680_m158 on WinXP Pro SP2
Reset assignee on issues not touched by assignee in more than 1000 days.