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

Non correct filtered headwords number #1131

Closed
GD-fix opened this issue Sep 9, 2023 · 9 comments
Closed

Non correct filtered headwords number #1131

GD-fix opened this issue Sep 9, 2023 · 9 comments

Comments

@GD-fix
Copy link
Contributor

GD-fix commented Sep 9, 2023

Describe the bug
Initially (i.e. with empty filter) in Dictionary headwords window there is non correct number (0) of filtered those (see the first and the second screenshots).
After applying the non empty and then the empty again filter the number changes: for some dictionaries it is non correct (i.e. non equal to the Unique headwords total number) still (see the third screenshot: may be it's because of ignored due to the long size headwords?) and for other dictionaries it becomes correct (see the forth screenshot).

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Dictionaries panel'
  2. Click right on a dictionary
  3. Scroll down to the end of headwords list
  4. See error
  5. Print and then delete some letters in filter string
  6. Scroll down to the end of headwords list
  7. Compare

Expected behavior
The equal numbers of Unique headwords total and filtered in case of empty filter.

Screenshots
Screenshot_headwords_initial
Screenshot_initial2
Screenshot_headwords_noncorrect
Screenshot_headwords_correct

OS and software versions

  • OS: OpenSUSE Tumbleweed
  • Version up to date
@GD-fix
Copy link
Contributor Author

GD-fix commented Sep 9, 2023

P. S. ArchWiki doesn't have skipped during indexing headwords...

@GD-fix

This comment was marked as spam.

@GD-fix

This comment was marked as off-topic.

@GD-fix
Copy link
Contributor Author

GD-fix commented Nov 25, 2023

In current pre-release all the same...

And additional question: the fact that in ZIM dictionaries after applying the non empty and then the empty again filter the numbers of Unique headwords total and filtered aren't still equal is due to this (in case when abbreviated headwords are the same)?

@GD-fix

This comment was marked as off-topic.

@xiaoyifang

This comment was marked as off-topic.

@GD-fix

This comment was marked as off-topic.

@GD-fix
Copy link
Contributor Author

GD-fix commented Jun 8, 2024

And what is the problem to correct the code, that it will be initially (on headwords window opening) the same as after filter applying?

@GD-fix GD-fix changed the title Non correct filtered headwords Non correct filtered headwords number Jul 6, 2024
@GD-fix
Copy link
Contributor Author

GD-fix commented Sep 21, 2024

The problem was solved.

@GD-fix GD-fix closed this as completed Sep 21, 2024
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