[Libreoffice-bugs] [Bug 124628] New: Push Button Event "Approve Action" freezes LibO

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 9 18:51:44 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=124628

            Bug ID: 124628
           Summary: Push Button Event "Approve Action" freezes LibO
           Product: LibreOffice
           Version: 6.0.7.3 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jrk33 at web.de

Created attachment 150628
  --> https://bugs.documentfoundation.org/attachment.cgi?id=150628&action=edit
Writer Document with 4 Push Buttons

Hello,
we had a discussion on a program from me.
The discussion took place in the German Mailliglist:
http://document-foundation-mail-archive.969070.n3.nabble.com/Versionsabhangiges-Einfrieren-von-LibreOffice-nach-Makrodurchlauf-tp4259306.html
First, it turned out that my code was not programmed correctly. After I had
this improved, it turned out that there was a problem with the file /
Folderpicker.
Bug 1a)
https://bugs.documentfoundation.org/show_bug.cgi?id=123502
Bug 1b)
https://bugs.documentfoundation.org/show_bug.cgi?id=124579
This problem is now fixed thanks to Mike Kaganski in Libo versions 6.3.0.0
(master of 08.04.2019) and 6.2.4. Nevertheless, Libo crashed, or froze under
certain conditions.
In the search for the problem, I found the following.
In the sample document there are four push buttons which react to two different
events and start a macro:
a) Push button "Approve action" calls up a dialog window via the routine
"xStart"
b) Push Button "Mouse Button released" starts a file operation via the routine
"xCalc"
c) Push button "Approve action" opens a dialog window via the routine "xStart"
d) Push Button "Mouse Button released" starts a file operation via the routine
"xStart"
If I use a) Libo freezes as soon as the message box appears after the program
has expired.
If I use b) everything works fine.
If I use c) everything works fine.
If I use d) everything works fine.
So I'm assuming the event "Approve action" has a problem with calling the
Routine „xStart“ which shows the Dialog1.
Itinerary:
Event "Approve action" → Dialog window → File operation → Messagebox.
The moment the final messagebox is displayed, Libo freezes.
This was tested with these operating systems and with different Libo-Versions:
Windows 7 Home Premium (x64)
Windows 10 Pro (x64) 1809
In some cases, a) works, provided you switch off the computer and start again.
Then a) but at the latest on the second call of the program of a) Libo freezes.
Whether this is a new bug or is related to the file / Folderpicker problem,
please check.
>From my point of view, the problem may also be related to the operating system
used, especially since I had no problems with my original code in a Windows 10
Pro 1803 and an earlier Libo version. I think it was Libo 6.0.4.2 or earlier.
If I use a) and call only a messagebox, then the program runs perfectly.
If you use a) and instead of "StarDesktop.loadComponentFromURL (sURL," _blank
", 0,", uses the File / Folder Picker, Libo freezes too.
Whether this problem synonymous with other operating systems occurs I can not
say, because in our tests only Win 7 and 10 were used.
Note:
The „Image Button“ also has the event "Approve action" and has the same
problem. I have not tested any other events.
We tested with these LibO-Versions, with the same result:
1)
LO 6.2.2.2 (x64) @ Windows 7 Home Premium 64-bit)
2)
Version: 6.0.7.3 (x64)
LibreOffice 6.1.3.2 / 6.1.4.2 / 6.1.5.2 / 6.2.3.1 /
 @ Windows 10
3)
Version: 6.2.1.2 (x64)
Build-ID: 7bcb35dc3024a62dea0caee87020152d1ee96e71
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: CL
@Windows 10 Pro (x64) 1809
4)
Version: 6.3.0.0.alpha0+ (x64)
Build ID: f512f8818aec08a5b463c8acdf781e7ab27036f5
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64 at 42, Branch:master, Time: 2019-04-09_03:11:29
Locale: de-DE (de_DE); UI-Language: en-US
Calc: CL
@Windows 10 Pro (x64) 1809

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190409/44ca48d6/attachment.html>


More information about the Libreoffice-bugs mailing list