Bug 140666 - NAVIGATOR: Not possible to delete a reference in the navigator
Summary: NAVIGATOR: Not possible to delete a reference in the navigator
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:7.6.0
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2021-02-25 13:54 UTC by Dieter
Modified: 2023-01-25 18:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dieter 2021-02-25 13:54:59 UTC
This is a follow up from bug 107670

Steps to reproduce
1. Open a new document
2. Insert => Cross-Reference
3. Choose type "Set Reference" and enter something in the Name-Field
4. Press Insert => Press Close
5. Open Navigator
6. Tty to delete Reference in navigator

Actual result: Doesn't work

Expected result: Should work like any other element in navigator
Comment 1 Jim Raykowski 2021-03-01 03:30:42 UTC
Hi Dieter,

Is there another way to delete a cross-reference other than to delete the entire span it targets?
Comment 2 Dieter 2021-03-10 07:48:36 UTC
(In reply to Jim Raykowski from comment #1)
> Hi Dieter,
> 
> Is there another way to delete a cross-reference other than to delete the
> entire span it targets?

I don't think so. Help says: "To remove a reference, delete the field."[1]

[1] https://help.libreoffice.org/7.2/en-GB/text/swriter/01/04090002.html?System=WIN&DbPAR=WRITER&HID=modules/swriter/ui/fldrefpage/FieldRefPage#bm_id3149042

BTW: I've found two other reports regarding cross-references and navigator:
Bug 87078 comment 2 suggest to add an option "insert cross-reference" to headings and perhaps other elements in the navigator
Bug 43254 asks for the possibility to change a name of a reference (perhaps it it could be possible in the navigator?)
Comment 3 Dieter 2022-02-20 10:49:22 UTC
Still present in

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c856f9bec12d98ed49f01578ded79f16ae7be051
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Actual situation:
The is now the category "Fields" in the navigator and you can delete every entry here. but still not possible to delete a reference.

But i think I was wrong with my previous comment, because it was about the field type "reference" and not about the reference as a target of such a reference field.
Comment 4 Buovjaga 2022-12-13 12:58:17 UTC
Repro, qualifying as enhancement

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fa5cc6c6e7ce89d6d9972d8ad2f9469b9bd5bf9a
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 13 December 2022
Comment 5 Jim Raykowski 2022-12-18 20:52:29 UTC
Here is effort to delete set references using the Navigator:
https://gerrit.libreoffice.org/c/core/+/144406
Comment 6 Commit Notification 2022-12-27 06:34:12 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9d387cc1e7848848c41f29ad91fee44ade79f678

tdf#140666 Make delete reference possible from the Navigator

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Dieter 2023-01-25 18:59:50 UTC
VERIFIED FIXED with

Version: 7.5.0.2 (X86_64) / LibreOffice Community
Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Jim, thanks for fixing it!