Open Mazhoon opened 1 month ago
Running with WINEDEBUG=warn+all this seems to be related to delays (repeats n times during loading)
0024:warn:msvcrt:_wsopen_dispatch :failed-last error (2)
0024:warn:seh:OutputDebugStringW L"[Warning]: C:\\j\\branches-WsCrafter.2024.1\\Products\\ABProfiMathe\\src\\Framework\\ABProfi.cpp(301): [myMessageOutput] [Qt] Warning: QFontEngineFT: Failed to create FreeType font engine\r\n"
0024:warn:seh:dispatch_exception L"[Warning]: C:\\j\\branches-WsCrafter.2024.1\\Products\\ABProfiMathe\\src\\Framework\\ABProfi.cpp(301): [myMessageOutput] [Qt] Warning: QFontEngineFT: Failed to create FreeType font engine\r\n"
0024:warn:seh:OutputDebugStringA "[Warning]: C:\\j\\branches-WsCrafter.2024.1\\Products\\ABProfiMathe\\src\\Framework\\ABProfi.cpp(301): [myMessageOutput] [Qt] Warning: QFontEngineFT: Failed to create FreeType font engine\r\n"
0024:warn:seh:dispatch_exception "[Warning]: C:\\j\\branches-WsCrafter.2024.1\\Products\\ABProfiMathe\\src\\Framework\\ABProfi.cpp(301): [myMessageOutput] [Qt] Warning: QFontEngineFT: Failed to create FreeType font engine\r\n"
0024:warn:file:NtCreateFile L"\\??\\C:\\windows\\Fonts\\cour.ttf" not found (c0000034)
0024:warn:file:CreateFileW Unable to create file L"C:\\windows\\Fonts\\cour.ttf" (status c0000034)
0024:warn:msvcrt:_wsopen_dispatch :failed-last error (2)
0024:warn:file:NtCreateFile L"\\??\\C:\\windows\\Fonts\\cour.ttf" not found (c0000034)
0024:warn:file:CreateFileW Unable to create file L"C:\\windows\\Fonts\\cour.ttf" (status c0000034)
0024:warn:msvcrt:_wsopen_dispatch :failed-last error (2)
0024:warn:seh:OutputDebugStringW L"[Warning]: C:\\j\\branches-WsCrafter.2024.1\\Products\\ABProfiMathe\\src\\Framework\\ABProfi.cpp(301): [myMessageOutput] [Qt] Warning: QFontEngineFT: Failed to create FreeType font engine\r\n"
0024:warn:seh:dispatch_exception L"[Warning]: C:\\j\\branches-WsCrafter.2024.1\\Products\\ABProfiMathe\\src\\Framework\\ABProfi.cpp(301): [myMessageOutput] [Qt] Warning: QFontEngineFT: Failed to create FreeType font engine\r\n"
0024:warn:seh:OutputDebugStringA "[Warning]: C:\\j\\branches-WsCrafter.2024.1\\Products\\ABProfiMathe\\src\\Framework\\ABProfi.cpp(301): [myMessageOutput] [Qt] Warning: QFontEngineFT: Failed to create FreeType font engine\r\n"
0024:warn:seh:dispatch_exception "[Warning]: C:\\j\\branches-WsCrafter.2024.1\\Products\\ABProfiMathe\\src\\Framework\\ABProfi.cpp(301): [myMessageOutput] [Qt] Warning: QFontEngineFT: Failed to create FreeType font engine\r\n"
0024:warn:file:NtCreateFile L"\\??\\C:\\windows\\Fonts\\arial.ttf" not found (c0000034)
0024:warn:file:CreateFileW Unable to create file L"C:\\windows\\Fonts\\arial.ttf" (status c0000034)
0024:warn:msvcrt:_wsopen_dispatch :failed-last error (2)
0024:warn:file:NtCreateFile L"\\??\\C:\\windows\\Fonts\\arial.ttf" not found (c0000034)
0024:warn:file:CreateFileW Unable to create file L"C:\\windows\\Fonts\\arial.ttf" (status c0000034)
copying arial.ttf and cour.ttf to wineprefix suppresses those warnings, but startup time does not change and "Failed to create FreeType font engine" warnings remain. Trying to force fontengine to directwrite with qt.conf doesn't seem to work, but the whole font thing might be a red herring, as any phase of the startup takes longer than the whole program startup on Windows 10.
Using the 14 day test version, the behaviour corresponds to that described on WineHQ AppDB: Works pretty well, except that startup takes a minute or so (tested on Windows 10, no observable delay). No observable differences between Wine 8.6 and 9.8. Profiling output does not seem to be that informative: