https://bugs.documentfoundation.org/show_bug.cgi?id=92916
Bug ID: 92916
Summary: registerContextMenuInterceptor does not work when run
in a macro on "Open Document"
Product: LibreOffice
Version: 4.4.2.2 release
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Created attachment 117419
--> https://bugs.documentfoundation.org/attachment.cgi?id=117419&action=edit
presence.ods (macro on open document)
Hi
Description: registerContextMenuInterceptor does not work when run in a macro
on "Open Document".
The presence.ods attached launches a procedure on "Open Document".
This procedure changes the context menu for the range C2:E8.
Launched manually *after* opening the document continues to function.
Associated with the event "Open Document" it no longer works.
The procedure is launched (verified by print statements and xray on objects)
but the menu is not displayed.
Steps to reproduce:
1. Open the presence.ods attached
2. Accept macros if prompted
3. Right click somewhere in range C2:E8
Expected result: customized context menu
Actual result: standard context menu
This worked fine until version 4.3.4
4. Tools> Macros> Run macros> registerContextMenuInterceptor
5. Right click somewhere in range C2:E8
Expected & actual result: customized context menu
Also reproduced on:
- windows 7 & 4.4.2.2
- windows 7 & 4.4.4.3
- windows 7 & Version: 5.0.0.3 Build ID:
f79b5ba13f5e6cbad23f8038060e556217e66632
Locale: fr-FR (fr_FR)
So I set status to New
May be related to bug 92770 ?
Regards
Pierre-Yves
--
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