Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dictionary lookup popup: Cannot lookup words from the dictionary heading #11755

Open
artjomsR opened this issue May 5, 2024 · 1 comment
Open

Comments

@artjomsR
Copy link

artjomsR commented May 5, 2024

  • KOReader version: 2024.04
  • Device: Kobo sage

Issue

I have several dictionaries in KOReader, but only 1 of them supports inflections. Meaning that if I look up a non-infinitive word, I only get 1 definition instead of X. I would like to be able to get more definitions by tapping on the infinitive form - this is the current heading of the dictionary popup window. However, tapping on it simply shows a blurry screen (instead of querying the infinitive form). Lookups from all other places of the dictionary popup work fine

Steps to reproduce

  1. Do a dictionary lookup of any word
  2. Try to get the definition of the headword by tapping on the bold word at the top, under the dictionary name
  3. Blurry screen appears

Notes

My description with inflected / non-infinitive form is simply the reasoning how the bug affects me. To actually reproduce it, you can use any word / dictionary. It's just that normally there's no need to get the definition from the bolded headword

Untitled.mp4
@poire-z
Copy link
Contributor

poire-z commented May 5, 2024

  • Try to get the definition of the headword by tapping on the bold word at the top, under the dictionary name
  • Blurry screen appears

This "head word" is actually a distinct text element/sub-widget in the Dict lookup result widget, and we... just didn't think their would be a use case for (re-)looking that (possibly different) word up, so there is ZERO event handler when tap or long-press on it. (So, long-press falls back to the classic behaviour of long-press on not-yet-moved movable widgets: making them translucent.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants