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

            Bug ID: 157304
           Summary: Macro: Retrieving selected text in FocusIn event for
                    column crashes LO
           Product: LibreOffice
           Version: 24.2.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 189667
  --> https://bugs.documentfoundation.org/attachment.cgi?id=189667&action=edit
Sample document with a macro to trigger the crash

Steps to reproduce

1) in "Tools" -> "Options" -> "LibreOffice(Dev)" -> "Security", set macro
security level to "Medium" (or lower) so the document macro is executed
2) open attached sample document "Keypress2.odb" (based on attachment 177721
from tdf#146933), allow macro execution
3) In the "Forms" tab, double-click on "TBL"
4) click in the first table cell to focus that one
5) press Tab key to switch focus to second column

-> LibreOffice crashes (triggered by the macro that is executed when the 2nd
column gets focused)

Note: It does not crash when using the gtk3 VCL plugin on Linux (in which case
another code path using native Gtk widgets is used).


Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6f60670877208612b5ea320b3677480ef6508abb
CPU threads: 12; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to