[Libreoffice-bugs] [Bug 121822] New: Macro execution from macro-assigned button activation, involving a Save-as (FILESAVE) and subsequent Reload (FILEOPEN), Close and Reopen original makes application crash

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 30 14:29:33 UTC 2018


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

            Bug ID: 121822
           Summary: Macro execution from macro-assigned button activation,
                    involving a Save-as (FILESAVE) and subsequent Reload
                    (FILEOPEN), Close and Reopen original makes
                    application crash
           Product: LibreOffice
           Version: 6.1.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: m.p.de.graaff at gmail.com

Description:
Context description:
In a macro a sheet is being saved as .CSV, subsequently reloaded, the original
spreadsheet re-opened and finally the .CSV sheet closed.
This macro has been assigned to a button in the original spreadsheet.
The Macro resides not in an spreadsheet but in the "My Macros" section
Problem happens under WIN10 and Linux alike and on all computers I possess
(laptop, desktop under WIN10 and Suse Linux.

Problem description:
When activating this macro via Tools-Macros-Run Macro... (or ALT-F11 - run
macro) everything runs normal and with envisioned result, however ..
When activating this macro via the button in the original spreadsheet that has
the macro assigned to it, the application Calc crashes somewhere when
re-opening (FILEOPEN) the spreadsheet and closing the CSV to which 1 sheet
originally was "saved-as" (FILESAVE).


Steps to Reproduce:
1. Open the simple prepared test sheet with the macro available (*** where can
I upload that one via this form? ***)
2. Press the button to which the macro has been assigned
3. Press the OK button on all message boxes shown (after the last one the crash
follows)

TO run properly do the same, but start the macro "ThemeExport" via
Tools|Macros|Run Macro ..


Actual Results:
Crash

Expected Results:
Original sheet would be opened at the point I called the macro; the exported
CSV file contains the exported data


Reproducible: Always


User Profile Reset: No



Additional Info:
See Expected Results: saved the designated sheet as CSV export, reload it,
reopen the original spreadsheet, close the open CSV sheet

-- 
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/20181130/73046270/attachment.html>


More information about the Libreoffice-bugs mailing list