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

            Bug ID: 163699
           Summary: LO crashes when double-clicking an image in the
                    navigator.
           Product: LibreOffice
           Version: 24.8.2.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
On a specific file, when double-clicking multiple times on different images in
the navigator panel, LO crashes. The exact steps of creating a document that
causes this behavior could not be determined, but the behavior appears after
the commit https://gerrit.libreoffice.org/c/core/+/168416.

Apparently, the problem occurs when calling
"GetCursor()->GetPointNode().GetTextNode()->GetTableBox()" without checking the
result of "GetTextNode()" for nullptr.

Steps to Reproduce:
1. Open attached file
2. In the sidebar, open "Navigator" and expand the "Images" tab
3. Double click on any image
4. Repeat step 3 on other images until LO crashes

Actual Results:
LO Writer crashes

Expected Results:
The document scrolls to the selected image.


Reproducible: Always


User Profile Reset: No

Additional Info:
Still repro on:
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 774275231294b8b8f41024cb1d5216bbe3f23aba
CPU threads: 16; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to