View Single Post
Old 04-26-2025, 07:41 PM   #34
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,961
Karma: 6361444
Join Date: Nov 2009
Device: many
Please try the off the record approach. If that works we at least have a safety net.

We can then revert and try to track down exactly where the damn cache files are going on Windows so that they are properly cleared.

According to latest qtbase code it should go here:

extracted from qtbase source in github from src/corelib/io/qstandardpaths_win.cpp

Code:
QString QStandardPaths::writableLocation(StandardLocation type)
{
    QString result;
    switch (type) {
    case CacheLocation:
        // Although Microsoft has a Cache key it is a pointer to IE's cache, not a cache
        // location for everyone.  Most applications seem to be using a
        // cache directory located in their AppData directory
        result = sHGetKnownFolderPath(writableSpecialFolderId(AppLocalDataLocation));
        if (!result.isEmpty()) {
            appendTestMode(result);
            appendOrganizationAndApp(result);
            result += "/cache"_L1;
        }
        break;
But it somehow ends up in roaming and seemingly without the final "cache" folder?

Does this folder even exist?

C:\Users\<??????>\AppData\Roaming\sigil-ebook\sigil\cache\

Last edited by KevinH; 04-26-2025 at 07:45 PM.
KevinH is offline   Reply With Quote