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

Open
ynikitenko opened this issue Dec 4, 2023 · 10 comments
Open

Suggestion system goes unstable over time #1019

ynikitenko opened this issue Dec 4, 2023 · 10 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
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