https://bugs.freedesktop.org/show_bug.cgi?id=63525
Priority: medium
Bug ID: 63525
Assignee: [email protected]
Summary: Macros: in macros with dialogs the use of the
EndExecute function freezes libreoffice
Severity: normal
Classification: Unclassified
OS: Windows (All)
Reporter: [email protected]
Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
Version: 4.0.2.2 release
Component: BASIC
Product: LibreOffice
Created attachment 77947
--> https://bugs.freedesktop.org/attachment.cgi?id=77947&action=edit
tescase to reproduce the problem
Problem description:
I program complex macros with complex dialogs in libreoffice. I have found that
if you launch from a macro a complex dialog which has interaction with the
document (changing values of the cells in a spreadsheet, for example) the
invocation of the endExecute function to close dialogs is capable to hang
LibreOffice.
The probabibility for this to happen seems to be related to the complexity of
the dialog, with small dialogs doesn't happen but as more big is the dialog
more probable is the error to happen.
if the dialog doesn't interact with the document the problem doesn't appear (as
far as I know)
I have seen the problem in Windows xp and Windows 8, I have not tested it in
linux still
I have seen the problem in libreoffice 4.0.2 and 3.6.5
I attach a testcase which opens and closes a dialog 10 times. there is a button
to do it with a simple dialog where the problem probably will not happen and a
button for doing it with a complex dialog where the problem happen normally in
the first iteration
Steps to reproduce:
1. open the testcase file
2. click the button "Launch TestCase (simple dialog)". the simple dialog will
try to open and close 10 times and the cell of the left will show the iteration
number
3. click the button "Launch TestCase (complex dialog)". the complex dialog will
try to open and close 10 times and the cell of the left will show the iteration
number
Current behavior:
Libreoffice freezes when trying to close the complex dialog programmatically in
the step 3 (normally in the first try)
Expected behavior:
Libreoffice showing and closing the complex dialog 10 times. the tescase could
be repeated and infinite number of times withot hanging
Operating System: Windows 8
Version: 4.0.2.2 release
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs