Page MenuHomePhabricator

QtWebEngine generates wrong temp directory
Open, NormalPublic

Description

As soon as a QtWebEngine is used (e.g. StatisticsView or IntroPart) it always generates application temp directory called "MITK Workbench" ignoring the real temp directory on the same level that normaly has a random suffix (e.g. "MITK Workbench_3010055099").

Event Timeline

floca triaged this task as Normal priority.Jul 9 2020, 10:16 PM
floca created this task.

Solution is probably QWebEngineProfile::SetCachePath() and SetPersistentStoragePath(): https://stackoverflow.com/questions/37774910/how-to-prevent-creating-strange-folders-while-using-qwebengineview

floca added a comment.Jul 10 2020, 8:38 AM

I guessed so to. For me it is not clear where to query the correct current temp path?