https://bugs.freedesktop.org/show_bug.cgi?id=82532

          Priority: medium
            Bug ID: 82532
          Assignee: [email protected]
           Summary: BASE: Macros:  Calling any macro on lost focus in
                    subform grid column causes Base app crash if click to
                    outside form
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.3.0.4 release
         Component: Database
           Product: LibreOffice

Created attachment 104533
  --> https://bugs.freedesktop.org/attachment.cgi?id=104533&action=edit
demonstration document Form1 grid macro crash bug - need to enable macros

This is a form/subform/grid crash problem when any macro is called when a grid
subform column loses focus. 

In LO Base

1.  Create form
2.  Create subform
3.  Create grid on subform
4.  Add columns to grid
5.  Add macro/LO Basic call to grid columns on event "when losing focus"
6.  Does not matter what the macro actually is.  In the attached demonstration,
the macro is a single comment 'REM' line.


This form (demo attached) will cause applications crashes in the following
situations:
1.  Open the form in edit mode
2.  Click the "design mode on/off" button.  Now design mode is off.
3.  Put the cursor on one of the grid columns with the macro called "when
losing focus"  In the sample, that is any of the columns in the grid.
4.  Click the "design mode on/off" button.

ACTUAL RESULT:  Application crash.

1.  Change the property of the subform --> Data --> Navigation Bar --> Parent
Form  (the sample already has this property set)
2.  Open the form in regular mode.
2.  Put the cursor on one of the grid columns with the macro called "when
losing focus"  (in the sample, this is any grid colum)
3.  Click the parent form navigation arrow to go to the next parent record.

ACTUAL RESULT:  Application crash

As noted, the macro is just a comment 'REM' line, so the crash is the result of
simply calling the macro in the LO form.  The crash cannot be caused by the LO
Basic code, which is just a comment 'REM' line (although I have used other code
in the same place, with the same result).

-- 
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

Reply via email to