gnosygnu / xowa

xowa offline wiki application
Other
375 stars 41 forks source link

Possible scaling issue. #758

Open border999 opened 4 years ago

border999 commented 4 years ago

image The bottom is getting cut off so when it's attempting to display its progress it becomes guesswork about what it is saying sometimes. My screens resolution is 3840x2160, and the version I am using is xowa_app_windows_64_v4.6.5.1911.

border999 commented 4 years ago

also, if you could also find someway to better display the progress of imports and the like that would be helpful. I had to keep my laptop running for a few days because this wikipedia import took that long to run through all the necessary components. Knowing the time left on the import would be nice as well as a progress indicator that doesn't keep disappearing.

gnosygnu commented 4 years ago

Hi! Thanks for the interest in XOWA!

Thanks also for the screenshot as well as the specs on screen resolution. Unfortunately, this is a known issue with XOWA. There is a workaround detailed in https://github.com/gnosygnu/xowa/issues/24. The Options link has since changed to here: home/wiki/Special:XowaCfg?grp=xowa.app.startup

also, if you could also find someway to better display the progress of imports and the like that would be helpful. I had to keep my laptop running for a few days because this wikipedia import took that long to run through all the necessary components. Knowing the time left on the import would be nice as well as a progress indicator that doesn't keep disappearing.

Yeah, it's a little hard as I need to estimate how many pages are in the dump as well as calculate how "fast" the machine is. I usually run it in fire-and-forget mode and it completes in a night. A few days is sort of long. Out of curiosity, what's the processor / memory on your laptop?

border999 commented 4 years ago

Screenshot (263)

gnosygnu commented 4 years ago

Thanks for the screenshot. An i7 8700K 3.7 GHz with 32.0 GB RAM is pretty up to date.

That said, I forgot that the main reason for the delay is probably the search indexes. XOWA uses a PageRank algorithm to prioritize pages and that takes several hours for English Wikipedia. See http://xowa.org/home/wiki/Help/Features/Search/Build

border999 commented 4 years ago

noted

gnosygnu commented 4 years ago

Yeah, sorry, but it is what it is. For what it's worth, the PageRank algo builds a fairly good search index. This means that typing Eart in the URL bar will pull the most linked article in Wikipedia and not what alphabetically comes first.

Also, out of curiosity, did the steps in #24 help with the progress bar? I know it's awkward but unfortunately it is the only workaround for now.

border999 commented 4 years ago

it did work with the updated options link you provided here.

gnosygnu commented 4 years ago

Cool. Thanks for the update.

Let me know if there's anything else which should be done for this item. Again, the laptop resolution issue is an awkward hack, but unfortunately, there's no easier way for now.

Thanks!