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

--- Comment #8 from Stéphane Guillou (stragu) 
<[email protected]> ---
Created attachment 195621
  --> https://bugs.documentfoundation.org/attachment.cgi?id=195621&action=edit
sample ODT to test .uno:IndexMarkToIndex

In 7.1, I get the signature "SwTextFrame::MapViewToModel":
https://crashreport.libreoffice.org/stats/crash_details/1f2b44e6-bf5a-4d63-90d7-2f4a055a03a9
In 7.2, 7.3 and 7.4, I get "SwTextFrame::MapViewToModel(o3tl::strong_int<int,
Tag_TextFrameIndex>) const":
https://crashreport.libreoffice.org/stats/crash_details/ceed0ab9-6a59-4f33-b0f0-6c2863b93d61

Crash is resolved in 7.6.7.2.

(In reply to sdc.blanco from comment #7)
> I can now execute .uno:IndexMarkToIndex without a crash.
> 
> On the other hand, I cannot get this command to do anything.
> 
> But I do not know if the problem is that:
> (a) "fix" has not restored intended functionality of "Index Mark to Index"
> or 
> (b) I do not understand how to use the command or what it should do (because
> it is not documented).
The command is a navigation feature that makes the cursor jump from the index
entry in the text to the index, if it exists:

https://opengrok.libreoffice.org/xref/core/sw/inc/cmdid.h?r=913e26de#747

You can use the attachment to test it.

I tested it at the commit before 3b9aa11d885c91a3b040cb2b103b815c75d170bc, it
works as expected: when cursor is in the index entry "test", running
.uno:IndexMarkToIndex jumps to the index.

Since the crash is fixed, at 27c57627fcd28a8f533b535b37ec6376f1505e6f, it does
not work.

Björn, do you think that might still be a side-effect of the same commit? Or
something else might have broken it between 7.1 and 7.6?

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

Reply via email to