Apache OpenOffice (AOO) Bugzilla – Issue 87606
Cancelled Dialog Event window modifies document
Last modified: 2013-03-27 14:43:43 UTC
This problem appears with OOo 2.4.0 (not 2.3.1) with a OOo 1.1.x document containing a dialog where a control has a macro assigned to one of its events. 1 - Open the document 2 - Open the dialog module in the IDE 3 - Select a control bound to an event macro 4 - display Properties, Event tab, click on the button at right to open the Assign Action window. 5 - do nothing more than : click Cancel. Wait 2 seconds 6 - the Save icon is now enabled. If you close the document, you are requested to save it. The problem does not appear on an ODF document. Note: The problem does not appear on OOo 2.3.1 but on that 2.3.1 version there is another problem: the macro assignment is not displayed for the bound event. Perhaps the new problem results from correcting the old one.
Created attachment 52370 [details] OpenOffice text document with dialog and assigned event
setting regression keyword
@ jsk: Please have a look. @ bmarcelly : Is it still valid for OOo3.1?
The bug still appears on 3.1.0 (OOO310m11 build 9399) Moreover it now also appears on an ODF document created with OOo 3.1.0 Tested on Windows XP Home SP3.
Carsten, please have a look
cd: Fixed. Dialog returns wrong return result on clicking OK (RET_CANCEL). Therefore the code wasn't able to distinguish between OK and CANCEL. The fixed code is now able to process the return result correctly.
The fix is reviewed and looks good.
cd: Set target correctly.
Reproduced with AOO 4.00 in Win xp, the problem was solved. Best Regards.