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

            Bug ID: 155418
           Summary: EDITING: Regression: Insert - Cross-reference, Set
                    Reference duplicates the selected text
           Product: LibreOffice
           Version: 7.6.0.0 alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Commit
https://git.libreoffice.org/core/commit/384a80fc56e75e3d1ee18ffc303db85490716829
changed reference mark behavior and thus was bound to break code dependent on
the old behavior.

One such instance seems to be Insert - Cross-reference -> Set Reference which
now duplicates the text selected to become a reference marker.

Steps to Reproduce:
1. type 'foo'
2. press Ctrl-a to select 'foo'
3. Insert - Cross-reference, Set Reference, Name: bar, Insert, Close

Actual Results:
The document now has the text "foo" followed by the cross-reference "foo"
("foofoo"), with the cursor between the "foo"s. No text is selected.

Expected Results:
Previously these steps would result in a single cross-reference "foo" that was
selected.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
I'd consider this regression a less-severe bug than 81720, as this one (1)
doesn't affect reference manager users, (2) can be easily worked around by
erasing the extra text after using Set Reference, and (3) 81720 also affected
the workflows using Set Reference.

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

Reply via email to