Bug 115239 - BOOKMARKS: You can't delete a bookmark, if you only delete the word (without selecting something around the word)
Summary: BOOKMARKS: You can't delete a bookmark, if you only delete the word (without ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Bookmarks
  Show dependency treegraph
 
Reported: 2018-01-26 08:09 UTC by Julian Jung
Modified: 2023-02-01 16:05 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 Julian Jung 2018-01-26 08:09:56 UTC
Description:
A bookmark, inserted on the first word in a writer document is not deleted after removing the whole word with backspace. Bookmarks on other positions gets removed after deleting the whole word they belong to.

Steps to Reproduce:
1. Insert a single word in writer
2. Insert a bookmark on this word
3. remove the whole word with backspace
--> The bookmark still exists with no representation

Actual Results:  
The bookmark still exists

Expected Results:
The bookmark gets removed by deleted the representing word with backspace, even it is the first word in the document.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Dieter 2018-01-26 15:02:02 UTC
(In reply to Julian Jung from comment #0)
> Bookmarks on other positions
> gets removed after deleting the whole word they belong to.
>

No bookmarks gets removed. I removed them in the navigator.

Version: 5.4.4.2 (x64)
Build-ID: 2524958677847fb3bb44820e40380acbe820f960
CPU-Threads: 4; BS: Windows 6.19; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 2 Buovjaga 2018-02-16 18:52:49 UTC
I get the same result as Dieter and it seems to be the way it was intended.

Julian: how do you prove your claim "Bookmarks on other positions gets removed after deleting the whole word they belong to"? Do you check in the navigator or the list in the Insert - Bookmark dialog afterwards?

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: 26783527823883ccd5bbf3b9e014a0a3c1e3a022
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on February 16th 2018
Comment 3 Buovjaga 2018-02-16 18:57:58 UTC
Ok, now I get it: you have to select around the word before you delete. It is not enough to simply select the whole word. However, this means you *can* delete the bookmark + first word, when you start your selection after the first word and select backwards.

I am not sure, if this is worth the effort to try and change. It is obviously related to how the bookmark is represented in the document structure (I didn't look).
Comment 4 IWAMOTO 2018-02-19 02:12:29 UTC
Issue is reproduced on.
OS:Windows 7 Home Premium x64


version: 6.0.1.1 (x64)
Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6
CPU threads: 2; OS:Windows 6.1; UI render: default;
Locale: ja-JP (ja_JP); Calc: group
Comment 5 Imai 2018-02-19 02:13:49 UTC
Issue is reproduced on:

OS X EL Capitan
ver.10.11.3(15D21)

LibreOffice 6.0
Comment 6 QA Administrators 2019-02-20 03:48:13 UTC Comment hidden (obsolete)
Comment 7 Dieter 2019-02-20 08:51:25 UTC
Still repro in 

Version: 6.3.0.0.alpha0+ (x64)
Build ID: f42554a1886ebe49170c25096dc3281b2c7bb1f4
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-02-08_22:37:30
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded

But I think as the discussion shows, the problem is more general: You alsways have to delete the word with at least one space, character or dot before or behind the word. But it should also be possible to delete the bookmark, if you only delete the word

=> update of summary
Comment 8 Dieter 2021-01-31 12:26:00 UTC
Still present in

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 9f9798f07f0b56ae474f31ded671cc8da598d244
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded

Steps to reproduce
1. Write three words in a document
2. Mark the second word and add a bookmark
3a. Mark the second word and delete it

Actual result:
Bookmark remains

Expected result:
Bookmark should be deleted, too.

3b. Mark the second word and include the space before or after and delete it

Actual result:
Bookmark is deleted, too.
Comment 9 QA Administrators 2023-02-01 03:20:35 UTC Comment hidden (obsolete)
Comment 10 Dieter 2023-02-01 16:05:38 UTC
Bug still present in

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

Tested with steps from comment 8