Created attachment 48547 [details] Netbeans 6.9 project and OXT See the attached extension project. In OOo 3.30 the execute method is called, in LibO3.4 it is not. No error occurrs, just no call to XJob::execute.
.
fixed on master as well as 3-4 branch. Fix will be available in LO 3.4.3 http://cgit.freedesktop.org/libreoffice/libs-core/commit/?h=libreoffice-3-4&id=eecd2e5aef2b1fd9db05d49911b3d9e0c35efed0
In OO3.3.0 -> Tools -> Customize -> Events a macro could be assigned to "Activate Document". In LO 3.4.1 this doesn't work. In both versions doesn't work an assigned macro in "Print Document" and may be other events. Try this i.e.: Sub HelloWorld msgbox "Hello World!" End Sub
The same behaviour like in OO3.3.0 now again in the nightly build of the master branch (LibO-dev 3.5): http://dev-builds.libreoffice.org/daily/Provo_Windows_x86_Tinderbox/master/current/ In this master build "Activate Document" is fixed (works again like in OO3.3.0), but not "Print Document" and may be other events!
We needed 3.4.2-rc3, so we add the fix from the comment 2 also to the 3-4-2 branch.
(In reply to comment #4) > The same behaviour like in OO3.3.0 now again in the nightly build of the master > branch (LibO-dev 3.5): > > http://dev-builds.libreoffice.org/daily/Provo_Windows_x86_Tinderbox/master/current/ > > In this master build "Activate Document" is fixed (works again like in > OO3.3.0), but not "Print Document" and may be other events! > Thomas, please file a different report for your problem. This bug here is fixed for both 3.4.2 and master.
In 3.4.2 RC3 it is not fixed at all: Macro now works again with "Activate Document" (Tools -> Customize -> Events) - but could NOT be REMOVED! Even after saving and reloading the event is still there. Macro DOES NOT work with "Print Document"! Please look also: https://bugs.freedesktop.org/show_bug.cgi?id=39449
(In reply to comment #7) > In 3.4.2 RC3 it is not fixed at all: > > Macro now works again with "Activate Document" (Tools -> Customize -> Events) - > but could NOT be REMOVED! Even after saving and reloading the event is still > there. > > Macro DOES NOT work with "Print Document"! > > Please look also: > https://bugs.freedesktop.org/show_bug.cgi?id=39449 > Thomas, this bug as originally reported, and manifest with the sample extension, *IS* fixed for 3.4.2. If the bug still happens for you, with the extension attached here, please reopen. If not, it's a different bug (like the bug 39449 you referenced), and further discussion should happen over there.