Bug 100874 - Macros with dialogs or message boxes don't fire on open document event.
Summary: Macros with dialogs or message boxes don't fire on open document event.
Status: RESOLVED DUPLICATE of bug 95191
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.0.6.3 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-12 16:26 UTC by Torney
Modified: 2016-07-18 09:07 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A little base with a macro on Open document event (19.14 KB, application/vnd.oasis.opendocument.database)
2016-07-12 16:26 UTC, Torney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torney 2016-07-12 16:26:41 UTC
Created attachment 126182 [details]
A little base with a macro on Open document event

Hi everyone,

So I'm seeing a bug with my two versions of LO (5.0.6.3 and 5.1.4) on mac os X el captain 10.11.4. My JRE is updated 1.8.
I "attached" with Customize option / (Open document) event a macro to open a Form.
But when I launch my .odb file, every thing is freezing and nothing works.
I tried with a simple Msgbox on the (Open document) event and I still have the same problem.
That's weird because all of my macros work on windows 10 with the both same versions of LO.
And these macros work very well on older versions like AOO 4.1.1 but not for the currents or newer versions.
Comment 1 Buovjaga 2016-07-17 09:34:41 UTC
Yeah, it works ok on Linux. Maybe it is some Java problem.

64-bit, KDE Plasma 5
Build ID: 5.1.4.2 Arch Linux build-1
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Comment 2 Alex Thurgood 2016-07-18 08:58:42 UTC
(In reply to Buovjaga from comment #1)
> Yeah, it works ok on Linux. Maybe it is some Java problem.
> 
> 64-bit, KDE Plasma 5
> Build ID: 5.1.4.2 Arch Linux build-1
> CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
> Locale: fi-FI (fi_FI.UTF-8)

This is a DUP, will find the original report.
Comment 3 Alex Thurgood 2016-07-18 09:05:08 UTC
The most common reasons from previous experience seem to be :

- mutex guards not being released ;
- incorrectly disposed exceptions preventing return to main event loop;
- some other race condition.

but what do I know, I'm not a developer ;-)
Comment 4 Alex Thurgood 2016-07-18 09:06:15 UTC
Confirming that bug present in 

Version: 5.2.0.0.beta2
Build ID: ae12e6f168ba39f137fc110174a37c482ce68fa4
CPU Threads: 2; OS Version: Mac OS X 10.11.5; UI Render: default; 
Locale: fr-FR (fr.UTF-8)
Comment 5 Alex Thurgood 2016-07-18 09:07:39 UTC

*** This bug has been marked as a duplicate of bug 95191 ***