Hi everyone,
I run Scrivener (https://www.literatureandlatte.com/scrivener/overview) under Wine. It is a writing program, built in QT, and I use deadkeys to get diacritics (ë, ê, etc). The problem is that after I start Scrivener, it continues to use the first diacritic I type, no matter what the key combination used is. I can only reset what appears by typing a letter with a diacritic of the opposite case and then typing the one I actually want. E.g. if I start with ê and now want ë, I have to type a capital with a diacritic and then I can get ë.
This happens only with Qt programs under Wine (tested by installing the Windows version of VLC under Wine). If I type diacritics in other programs under Wine, it's fine. If I type diacritics in native Linux Qt programs, it's fine. I've installed ibus and instructed Scrivener to use it, but it doesn't help.
An interesting thing to note: in the file open/save dialog in Scrivener, the diacritics are fine. As far as I know, this will use a native Linux file dialog, which would explain it.
Another user of Scrivener has noted on Literature and Latte's forum that he uses Scrivener under Crossover and Mint and the diacritics are fine (https://www.literatureandlatte.com/foru ... ec32eaef02).
Which all leads me to think that the problem lies in specifically using Qt programs under Wine, but I don't understand either well enough to know if it is in Wine or in Qt? Any suggestion of where to look would be appreciated.
Running Archlinux: 5.4.1-arch1-1 #1 SMP PREEMPT Fri, 29 Nov 2019 13:37:24 +0000 x86_64 GNU/Linux.
Wine: wine-4.21
Scrivener 1.9.16.0 (Windows)
Also tested with VLC 3.0.8 Vetinari (Windows)
Using a Windows 7 setting and winetricks. Scrivener needs .net 4.6.2, which is installed.
Log output:
01dd:err:module:load_so_dll failed to load .so lib "/usr/bin/../lib32/wine/l3codeca.acm.so": libmpg123.so.0: cannot open shared object file: No such file or directory
01dd:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x32e3a0, 0x32e410 0x32e3a8
01dd:fixme:nls:get_dummy_preferred_ui_language (0x34 0x32e3a0 0x32e410 0x32e3a8) returning a dummy value (current locale)
01dd:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
01dd:err:module:import_dll Library QtSvg4.dll (which is needed by L"C:\\Program Files (x86)\\Scrivener\\imageformats\\qsvg4.dll") not found
01dd:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
01dd:fixme:imm:ImmReleaseContext (0005011A, 02A22578): stub
01dd:fixme:win:FlashWindowEx 0x32f204 - semi-stub
01e2:fixme:heap:RtlSetHeapInformation 0x230000 0 0x22e370 4 stub
01e2:fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 0x180020d00, 0x180090260, 0x180090280) stub.
01e2:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x180068add, 28) stub
01dd:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
01dd:fixme:win:FlashWindowEx 0x329e54 - semi-stub
01dd:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
01dd:fixme:imm:ImeHandleNotify WM_IME_NOTIFY:IMN_SETCOMPOSITIONFONT
01dd:fixme:imm:ImeHandleNotify WM_IME_NOTIFY:IMN_SETCOMPOSITIONWINDOW
01dd:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
01dd:fixme:imm:ImeHandleNotify WM_IME_NOTIFY:IMN_SETCANDIDATEPOS
01dd:fixme:imm:ImeHandleNotify WM_IME_NOTIFY:IMN_SETCOMPOSITIONFONT
01dd:fixme:imm:ImeHandleNotify WM_IME_NOTIFY:IMN_SETCOMPOSITIONWINDOW
01dd:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
01dd:fixme:imm:ImeHandleNotify WM_IME_NOTIFY:IMN_SETCANDIDATEPOS
01dd:fixme:imm:ImeHandleNotify WM_IME_NOTIFY:IMN_SETCOMPOSITIONFONT
01dd:fixme:imm:ImeHandleNotify WM_IME_NOTIFY:IMN_SETCOMPOSITIONWINDOW
01dd:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
01dd:fixme:imm:ImeHandleNotify WM_IME_NOTIFY:IMN_SETCANDIDATEPOS
01dd:err:module:import_dll Library QtSvg4.dll (which is needed by L"C:\\Program Files (x86)\\Scrivener\\imageformats\\qsvg4.dll") not found
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x3164f1c) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x31154ac) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x310643c) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x30c244c) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x308847c) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x307745c) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x788b0e54) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x6209b61c) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x39b7f4) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x36edd4) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x2582b1c) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x640ce994) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x1002d79c) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x657a3b7c) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x610537ec) stub
01dd:fixme:msvcrt:__clean_type_info_names_internal (0x67260174) stub
Cecilia
Diacritics problem in Qt app on Wine
Re: Diacritics problem in Qt app on Wine
The first question is why don't you use the native Linux version?
Do you experience the same problem if you do not install dotnet or other winetricks or dll overrides?
Do you experience the same problem if you do not install dotnet or other winetricks or dll overrides?