https://bugs.documentfoundation.org/show_bug.cgi?id=165903
Bug ID: 165903
Summary: Crashes if "Run Macro..." button is pressed outside of
editor. Recreate-able.
Product: LibreOffice
Version: 25.2.1.2 release
Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Base
Assignee: [email protected]
Reporter: [email protected]
Description:
Hitting either of the "Run Macro" or the "Assign..." buttons immediately forces
LibreOffice to crash, then it wants to recover the file I was working on. I
can record and edit macros, but can only run them from within the editor. They
won't run outside of it and I can't apply them to Base form buttons.
Keyword: EDITING
Steps to Reproduce:
1. Hit the "Run Macro" or the "Assign..." buttons.
2. Watch LibreOffice crash every single time.
3. Try to remember that this is a volunteer created project.
Actual Results:
I'm able to record and edit macros, and run them from within the editor, but
when I'm using Base, after creating a button on a form, then using its Control
Properties "Events" tab, then going to the "..." by "Mouse Button Pressed,"
then clicking on "Run Macro...", it just causes LibreOffice to immediately
crash. If I open it again, then it asks if I want to restore the database I
was working on.
The same thing happens if I go to the Editor via the Tools menu, then go to the
Tools menu again, and choose "Select Macro", then navigate to the "Module1" of
my database, then click on "Assign..."
In the main LibreOffice landing page, I went to the Tools menu, then Options,
then Advanced, then to the Expert Configuration window, and found something
very strange that I think could be causing the problem:
Preference Name: org.openoffice.Office.UI.Commands:LabelType['.uno:RunMacro']
Property: Label
Type: string
Value: R~un Macro...
Should the Value actually say "Run Macro" instead of "R~un Macro"?
Also, when I search in that window for "macro" a bunch of different settings
show up which don't really make a lot of obvious sense. I did find the one for
macro recording, so I set that to "true" and there are some others that have to
do with disabling things like an infobar for it, but that seems to be neither
here nor there.
I just want to be able to apply my macro to a button I put on a form in Base.
I don't understand what the problem is, nor why it should be this complicated.
I've made sure that I have the latest JRE instealled, I've added that to the
Advanced section under Tools, then Options. I've made sure that everything
(LibreOffice, JRE, and Windows 10 Pro) is 64-bit and updated.
I tried doing the Repair option for uninstalling, but that did not work. I
then uninstalled, removed the remaining files (uncluding those that
RevoUninstaller's advanced uninstaller still missed), and that didn't fix the
problem either. I saved the user folder as user_old, to force LibreOffice to
create a new one (set everything to default settings), and that didn't help
either.
When I re-open my database, LibreOffice does ask me if I want to enable macros,
and yet nothing ever gets applied to that button (not shocking, but this seems
weird to me, that it would ask me that when nothing got applied to anything in
the database itself).
What am I missing here? What should I be doing to fix this?
Expected Results:
Everything crashes, nothing seems to work the way it should, and I'm just
getting confused and frustrated by this.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
I'm not some great programmer and I might not understand everything you say if
you make it more technical than it has to be. Thanks in advance for
understanding.
Version Info:
Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render:
Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.