Created attachment 151509 [details] Debug log - VPN was disabled at entry 50, wherein it proceeds normally SUMMARY Using Krita 5.1, the software will fail to get past the very first initialization stop on the launcher for Resources if the user is on a VPN. This may be a specific Private Internet Access issue, or it may be a broader issue where Krita fails to start if the DNS resolution is nonstandard. Either way, it's a bug which prevents the software from starting entirely with a Failed to read DNSConfig error produced until the VPN is disabled. STEPS TO REPRODUCE 1. Run a VPN which modifies DNS settings (PIA used) OBSERVED RESULT Krita's launcher will get perpetually stuck on the first initialization with debugging reporting Failed to read DnsConfig EXPECTED RESULT Presumably on failing to gain network access after a few retries, the program should abort trying and boot normally. SOFTWARE/OS VERSIONS Windows: 10 ADDITIONAL INFORMATION PIA as tested uses 'WireGuard' VPN. This may be the culprit as an edge case, or it may be a wider issue with abnormal VPN/DNS configurations. As such I've listed it as 'minor'. It's easily resolvable by an end user by split tunnelling however it's a very strange issue which requires some effort to discover by the end user.
Is that a Windows Store or Steam package or just standard Krita downloaded from the website?
(In reply to Tiar from comment #1) > Is that a Windows Store or Steam package or just standard Krita downloaded > from the website? Apologies, it's a standard download from the Krita website.
Can confirm indirectly, I've noticed since recently (probably one of Tiar's or Halla's MRs regarding resources) that the resource loader attempts to enumerate network resources when reading our data folder. I don't have the stack trace with me, but I recall it's actually a Qt problem. This under Windows 10 21H2, master branch build. Marking as confirmed, I will upload the stacktrace once I'm at my desktop.
Created attachment 151523 [details] Stacktrace of network share enumeration inside Qt
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1550
Git commit 99644fa7bee1f2ae1b6787a4b5c2ee79a7b528e2 by L. E. Segovia. Committed on 25/08/2022 at 15:01. Pushed by lsegovia into branch 'master'. KoResourcePaths: fix regression when enumerating resource directories Before commit 985ba60efb40f0cf46f50ab3803943d27c0dec55, all checks for extra resource directories were made via QString::split with SkipEmptyParts. This behaviour was removed, which means that if EXTRA_RESOURCE_VARIABLES has an empty value, the resource loader will try to hit an UNC network path for every non-empty folder. Related: bug 457348 M +6 -4 libs/resources/KoResourcePaths.cpp https://invent.kde.org/graphics/krita/commit/99644fa7bee1f2ae1b6787a4b5c2ee79a7b528e2
Git commit f9eb1c6e8165063eba7293f91c728777439040b8 by L. E. Segovia. Committed on 25/08/2022 at 16:29. Pushed by lsegovia into branch 'krita/5.1'. KoResourcePaths: fix regression when enumerating resource directories Before commit 985ba60efb40f0cf46f50ab3803943d27c0dec55, all checks for extra resource directories were made via QString::split with SkipEmptyParts. This behaviour was removed, which means that if EXTRA_RESOURCE_VARIABLES has an empty value, the resource loader will try to hit an UNC network path for every non-empty folder. Related: bug 457348 (cherry picked from commit 99644fa7bee1f2ae1b6787a4b5c2ee79a7b528e2) M +6 -4 libs/resources/KoResourcePaths.cpp https://invent.kde.org/graphics/krita/commit/f9eb1c6e8165063eba7293f91c728777439040b8