Skip to content

Nested dictionary lookup uses original sentence instead of using respective sentence from dictionary #11754

Description

@artjomsR
  • KOReader version: 2024.04
  • Device: Kobo sage

Issue

When you save a word in vocab builder, it saves the word in context of its original sentence. So if you look up a word from a book, everything works as expected.

However, you can still do dictionary lookups within dictionary's lookup. The problem is that in this case, the wrong sentence is used as context: it uses the original book sentence, rather than the dictionary one

I rely on these sentences for context so it's an important feature, especially since I'm using Anki's SRS to come back to these sentences+words multiple times

Steps to reproduce

  1. Do a dictionary lookup from any book
  2. Do another lookup from the dictionary definition popup
  3. Add the word to the vocab builder
  4. Close all popups, go to Vocabulary builder from the main menu, find the newly added word.
  5. Press on the 3 dots which will show the word in the context of the sentence
  6. Observe that the word from the dictionary lookup was used (from the 2nd step) but the original sentence was used (from the 1st step)
IMG_3549.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions