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

            Bug ID: 164732
           Summary: Macros are called on filter application without
                    deterministic reason
           Product: LibreOffice
           Version: 24.8.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 198583
  --> https://bugs.documentfoundation.org/attachment.cgi?id=198583&action=edit
Case1: KO

I initially had a performance issue in a sheet document. After some analysis, I
found that it was due to macros being re-evaluated when applying a filter. I
created a much simpler reproduction case. In the reproduction files, the macro
only opens an information dialog and returns a static value.

Steps to reproduce:
- Open one if the attached files
- Enable the macro
- During the opening, there are several information dialogs open, click on OK
(there are useful to understand the problem in following steps).
- On column C, filter to keep only "false" value
- Expected: No information dialog is displayed. The macro has already been
applied, so the result is here and there is no reason to compute again.
- Observed: On "*_KO.ods" files, some information dialogs are displayed. This
clearly shows that the macros are being executed again.

The behavior is wrong, ie macros are called again, when there are at least the
same macro twice one below the other.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to