Skip to content

Bookmark spanning several paragraphs is split on opening and saving DOCX #23

Closed

Description

@farragoo

I’ve attached a small DOCX with one bookmark called SampleRange that covers three paragraphs. If I open it and press F5, the Navigator lists it three times. And if I edit a sentence outside the bookmark and save, the DOCX now contains three separate bookmarks with the same name.

Since one bookmark over three paragraphs shows up as three entries, I wonder if the paragraph breaks are where it’s getting split.

(Also, I found it difficult to edit or delete existing bookmarks. I think I accidentally did it by selecting text and pretending to insert a new bookmark, which revealed a box that allowed me to hover over existing bookmarks and delete them. See attached image. It would great to simply move that hover x over to the Navigator itself!)

Tested in 0.13.0 on Fedora KDE.

Navigator bookmark test.docx

Image

Activity

  1. added
    enhancementNew feature or request
    bugSomething isn't working
    on Nov 2, 2026
  2. self-assigned this
    on Nov 2, 2026
  3. stffnb commented on Nov 7, 2026

    @stffnb
    Owner

    Thanks for the test file, that made it easy to track down. You were right: the bookmark got split at the paragraph breaks. In 0.14.0 a bookmark across several paragraphs stays one bookmark. The Navigator lists it once, and DOCX and ODT save it with a single start and end again.
    About editing and deleting: the bookmark rows in the Navigator now have rename and delete directly, and clicking a row jumps to the bookmark. Renaming also updates cross-references and links that point to it. The Bookmark window now opens without a selection too, so you don't need the workaround anymore.

  4. farragoo commented on Nov 11, 2026

    @farragoo
    Author

    Thanks, this is great! Being able to open Bookmark without selecting text is much easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions