kiwix / kiwix-desktop

Kiwix for Windows and GNU/Linux desktops
https://download.kiwix.org/release/kiwix-desktop/
GNU General Public License v3.0
748 stars 99 forks source link

Windows 11 - Kiwix desktop "not responding" freezing #1037

Closed awisniewski closed 6 months ago

awisniewski commented 8 months ago

Hello, Glad this offline tool is available for Wikipedia. I like the basics of this program and really want to enjoy it but I'm struggling. The application freezes and goes (Not responding) when I download a library file.

I've even tried downloading stuff I didn't necessarily want but was small file....example "Ray Charles" 1.79 MB Clicking Download , program goes unresponsive and windows task bar says (Not responding). Sometimes it unlocks after 3-5 minutes (timed), other times I force close the app after 5 minutes. (https://github.com/kiwix/kiwix-desktop/assets/11380254/a075c04a-8b4c-4a9e-bae0-2e548b29e0d3)

My computer has a Intel Core I5 CPU that was just built last year....so nothing very old here. Internet download speeds: 90Mbps download, 12Mbps upload

Kiwix Desktop: Version: 2.3.1
[Downloaded from https://kiwix.org/en/applications/ and Unzipped ]

Windows 11 Home Edition (22h2)

I'm not seeing any Antivirus alerts or blocks.

Is there something I can check as far as logs?

Jaifroid commented 8 months ago

While this sounds like a bug, as a workaround you do know you can download archives from outside the app, right? Go to library.kiwix.org. If you need filenames you can also use download.kiwix.org. Then just open the file from within the app.

kelson42 commented 8 months ago

@veloman-yunkan Is that one of the scenarios you are currently investigating/fixing?

veloman-yunkan commented 8 months ago

@kelson42

Yes and no. #87 which was a starting point for my work was about issues with huge downloads. However after some study of the code responsible for download management it became obvious that it is plagued with numerous bugs. So now my objective is to redesign & clean it up so that most bugs are eliminated automatically. I won't be satisfied with a situation that no obvious bugs are left, instead I am aspiring to achieve a design that obviously contains no bugs.

There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.

From C. A. R. Hoare's Turing Award Lecture

awisniewski commented 8 months ago

While this sounds like a bug, as a workaround you do know you can download archives from outside the app, right? Go to library.kiwix.org. If you need filenames you can also use download.kiwix.org. Then just open the file from within the app.

Thank you! I wondered about direct downloads and didn't find anything at first glance. This is great. Thank you. Also very happy to hear of the quick response to having the issue looked into. You guys are great.

Just wanted to note I tried Kiwix on my Windows 10 Home, 22H2. Worked great.

One other note on the issue with my my Windows 11 machine. After Kiwix freezes and and if it unlocks on the download. One strange thing is the position that you were in the download window as far as scrolling down say to midway, resets and the available downloads list goes back to the top.

kelson42 commented 6 months ago

Fixed by https://github.com/kiwix/kiwix-desktop/pull/1038