Skip to content

Drawer style is changed to "lighten" in annotations created from "underscore" highlights #13030

Description

@xiety
  • KOReader version: 2024.11
  • Device: PocketBook 741 InkPad Color

Issue

I opened a book I had read a long time ago. And I saw that the underscore style of all highlights had been changed to a lighten.

Is there a way to update the new annotations from still existing highlights?

I opened the metadata.epub.lua file and found this differences there:

Annotation

        [2105] = {
            ["chapter"] = "CHAPTER",
            ["color"] = "gray",
            ["datetime"] = "2024-02-11 13:35:10",
            ["drawer"] = "lighten",
            ["page"] = "/body/DocFragment[49]/body/div/p[84]/text().147",
            ["pageno"] = 1297,
            ["pos0"] = "/body/DocFragment[49]/body/div/p[84]/text().147",
            ["pos1"] = "/body/DocFragment[49]/body/div/p[84]/text().153",
            ["text"] = "test",
        },

Hightlight

            [2] = {
                ["chapter"] = "CHAPTER",
                ["datetime"] = "2024-02-11 13:35:10",
                ["drawer"] = "underscore",
                ["pos0"] = "/body/DocFragment[49]/body/div/p[84]/text().147",
                ["pos1"] = "/body/DocFragment[49]/body/div/p[84]/text().153",
                ["text"] = "test",
            },

Bookmark

        [8] = {
            ["chapter"] = "CHAPTER",
            ["datetime"] = "2024-02-11 13:35:10",
            ["highlighted"] = true,
            ["notes"] = "test",
            ["page"] = "/body/DocFragment[49]/body/div/p[84]/text().147",
            ["pos0"] = "/body/DocFragment[49]/body/div/p[84]/text().147",
            ["pos1"] = "/body/DocFragment[49]/body/div/p[84]/text().153",
        },

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions