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

Suggestion system goes unstable over time #1019

Closed
ynikitenko opened this issue Dec 4, 2023 · 17 comments
Closed

Suggestion system goes unstable over time #1019

ynikitenko opened this issue Dec 4, 2023 · 17 comments
Assignees
Milestone

Comments

@ynikitenko
Copy link

I use Wiktionary as a dictionary. I translate many words one by one, but at some point the search bar just stops working. I have to close the tab and open the ZIM file anew.

Steps to reproduce:

  1. Open Kiwix and load a local file.
  2. Type a word in the search bar, get the search result (open the respective page).
  3. Repeat this several times. After 3-5 words search stops working: the suggestions appear, but they are inactive (one can't type Enter or press the line with the mouse, because nothing changes).

Version: 2.3.1, Arch Linux, X11.

@ynikitenko
Copy link
Author

I wrote about that in #395; some things have improved since then. I can use the newest Kiwix version now! But it's still not perfect.

@kelson42 kelson42 added this to the 2.4.0 milestone Dec 10, 2023
@kelson42 kelson42 self-assigned this Dec 10, 2023
@kelson42
Copy link
Collaborator

@ynikitenko Thank you for your bug report, I will try to reproduce.

@kelson42
Copy link
Collaborator

@ynikitenko We are about to release soon version 2.4.0 and have tried to reproduce your bug but I can't. Not sure if it has been fixed or if I fail to recreate the condition you have on your computer. I would recommend to test with the latest nightly and let us know if you still have this problem https://download.kiwix.org/nightly/2024-04-29/kiwix-desktop_x86_64_2024-04-29.appimage. If this is the case pleas e share the exact ZIM files and the exact search terms you are using.

@ynikitenko
Copy link
Author

My version is 2.3.1. The bug is still there, unfortunately.
Probably I should better try after you release the new version?

@kelson42
Copy link
Collaborator

@ynikitenko Version of the nightly build has not been updated, but this is a new piece of new code. Please share the detail of your scenario via text or you can also make a screencast if this is easier.

@kelson42
Copy link
Collaborator

@veloman-yunkan Might that be that is somehow related to a very slow storage backend?

@ynikitenko
Copy link
Author

ynikitenko commented May 11, 2024

Sadly I could not run the new appimage. On Arch Linux it gave me an error similar to #225 :

./kiwix-desktop_x86_64_2024-04-29.appimage QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled /tmp/.mount_kiwix-ZdAhf6/usr/libexec/QtWebEngineProcess: symbol lookup error: /tmp/.mount_kiwix-ZdAhf6/usr/libexec/QtWebEngineProcess: undefined symbol: _ZN11QtWebEngine11processMainEiPPKc, version Qt_5 /tmp/.mount_kiwix-ZdAhf6/usr/libexec/QtWebEngineProcess: symbol lookup error: /tmp/.mount_kiwix-ZdAhf6/usr/libexec/QtWebEngineProcess: undefined symbol: _ZN11QtWebEngine11processMainEiPPKc, version Qt_5 [5890:5890:0511/183106.526645:ERROR:extension_system_qt.cpp(121)] Failed to parse extension manifest. Segmentation fault (core dumped)

I tried to build it from source using AUR, but it also produced an error.
I would wait for the package to be updated in the official repository, and then send you the results.

By the way, does flatpack contain the most recent version? I might try that then.

@ynikitenko
Copy link
Author

@veloman-yunkan Might that be that is somehow related to a very slow storage backend?

I have an SSD drive. Everything works very quickly (as well as Kiwix, when it gives me results).

@kelson42 kelson42 changed the title search is unstable over time Suggestion system goes unstable over time May 12, 2024
@kelson42
Copy link
Collaborator

@ynikitenko Flatpak version has the same version release, so 2.3.1, but you can test the latest Flatpack nightly https://download.kiwix.org/nightly/org.kiwix.desktop.flatpak.
@ynikitenko Very sorry to see that you are not able to run the appimage, could you please open a dedicated issue for that? This seems really not normal.
@veloman-yunkan I'm not able to reproduce this problem at all. Assigning to you to see if you have more success.

@kelson42 kelson42 assigned veloman-yunkan and unassigned kelson42 May 19, 2024
@ynikitenko
Copy link
Author

Sadly I can't launch the Flatpak version as well.

flatpak run org.kiwix.desktop qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) Could not initialize GLX

It gives me a similar error as the AppImage. Sorry, I really don't have much time at the moment to open all these issues. Feel free to open them if needed. The best way for me is to use the official Arch Linux distribution (after it is released), then I can tell you whether the most important bug for me is away or not.

@kelson42 kelson42 modified the milestones: 2.4.0, 2.5.0 Aug 11, 2024
@kelson42
Copy link
Collaborator

@ynikitenko We just have released the version 2.4.1 of Kiwix. This new version brings a lot of fixes around the search bar. I would like to refresh this issue with your help and see if this is still and issue (or not). Would you be able please to run 2.4.1 and let us know if you have still the same bugy behaviour? Another one... or maybe the bug is fixed?

@kelson42 kelson42 assigned kelson42 and unassigned veloman-yunkan Dec 24, 2024
@ynikitenko
Copy link
Author

This is great news and thanks for your work!
I've flagged the Arch Linux package outdated. Shall wait until they update that and then write back to you.

@kelson42
Copy link
Collaborator

@ynikitenko OK, this might take a while. You can test with the appimage or with the flatpak version? Otherwise I would close the issue... but you could still leave your feedback later.

@ynikitenko
Copy link
Author

ynikitenko commented Dec 25, 2024 via email

@kelson42
Copy link
Collaborator

kelson42 commented Dec 25, 2024

@ynikitenko @hashworks knows already and follows our releases accurately anyway, see kiwix/kiwix-tools#696 (comment). He faces anyway difficulties letting me think that it could take weeks if not monthes to get this integrated in archlinux.

I'm sure you can understand that we can not make our ticket lifecycle depending on a third party distribution. I'm glad to reopen the issue if the bug is not fixed or not fixed properly.

@ynikitenko
Copy link
Author

Hi @kelson42 , I've just checked the flatpak version.
That worked like charm! The search is stable over time (I don't have to reopen zim files). I can use keyboard shortcuts to navigate to the search bar. Translations are shown. I could even open several different wiktionaries in two tabs!
Because of the previous problems I could use only the wiktionary from 2016 and the corresponding ancient kiwix binary. It was a deal-breaker (however, I also have kiwix on my smartphone and tablets, so it was not that bad; and I could use online wiktionary also quite often). Now it's much better. Looking forward to getting a native Arch version of Kiwix!
Thanks a lot for your (and of all maintainers') work! Hope my numerous issues have been useful :)
I wish you Happy New Year!
Hopefully stay in touch.
Best, Yaroslav

@kelson42
Copy link
Collaborator

kelson42 commented Dec 31, 2024

@ynikitenko Glad to read so many things work better! We always appreciate good written issues, they are essential to improve the software. Feel free to open new ones!

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

No branches or pull requests

3 participants