View Single Post
Old 04-26-2025, 11:14 AM   #16
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,709
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I see a lot of scattering of webengine cache files on both Linux and Windows. I've always meant to try Kovid's approach at unifying on Windows (requires patching qtbase), but I've never gotten around to it.

https://github.com/kovidgoyal/bypy/b...qt_base.py#L66

https://github.com/kovidgoyal/calibr...stants.py#L423

I don't see anything similar for Linux or macOS in calibre, so I'm assuming there might be another way to consolidate that doesn't require patching?

Either that, or the default qt cache locations on Linux or macOS don't cause any issues.

On Arch Linux, I have a QtWebEngine folder in ~/.cache/sigil-ebook/sigil

Inside that QtWebEngine folder is a folder named 'Preview' that contains cache data that is recreated if I delete the folders and relaunch Sigil. There was also a 'Default' folder adjacent to 'Preview' that has not been recreated thus far. It could be a remnant from something past.

The standard Sigil Preference directory also contains a QtWebEngine folder with a Preview folder in it (that gets recreated when deleted and relaunching Sigil), but that one does not appear to get any new cache data written to it beyond that (at least not with the content I've opened thus far).

Also note that I have no issues running multiple instances of Sigil on Linux when using a build of the latest git commit. It seems to be a Windows only thing.

I'll try to check Windows in a bit.

Last edited by DiapDealer; 04-26-2025 at 12:15 PM.
DiapDealer is offline   Reply With Quote