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

            Bug ID: 150457
           Summary: Crash on hovering footnote references after removing
                    footnote
           Product: LibreOffice
           Version: 7.5.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: hoss...@libreoffice.org

Description:
After removing references, hovering the footnote reference in the text, crashes
LibreOffice.

The logic of removing footnotes has problems, because:

1. Removing footnote numbers was not once possible in LO 6.4. Now, it is
possible, but not for the first footnote in the selection.
2. After removal of footnotes, the references remain, and clicking on them
leads to wrong place, which is the next remaining reference.

Steps to Reproduce:
1. Open attachment 177482 from bug 146713
2. Go to the bottom of the first page in the footnotes section, select from the
first footnote and extend selection to covert all footnotes.
3. Press DEL to delete footnotes. You will see that "1" remains
4. Even hovering the mouse on footnote references like 2 leads to crash.

Actual Results:
LibreOffice crashes

Expected Results:
LibreOffice should not crash


Reproducible: Always


User Profile Reset: No



Additional Info:
Reproducible in the latest 7.5 dev master:

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 895d6716ba8f12d98e3685145d433fce72270faa
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Also in 7.4:
Version: 7.4.0.1 / LibreOffice Community
Build ID: 43e5fcfbbadd18fccee5a6f42ddd533e40151bcf
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

In LibreOffice 6.4, it is not possible to select and remove the references. You
can only select one line, and even by selecting one line, the reference number
is not removable.
Version: 6.4.0.1
Build ID: 1b6477b31f0334bd8620a96f0aeeb449b587be9f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

In LiberOffice 7.2, it is possible to select and remove footnotes, but it does
not lead to crash:
Version: 7.2.4.1 / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to