https://bugs.winehq.org/show_bug.cgi?id=47990
Bug ID: 47990 Summary: Wine64: Candidate of CJK input method is invisible on macOS Catalina. Product: Wine Version: 4.18 Hardware: x86-64 OS: Mac OS X Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jactry92@gmail.com
Created attachment 65509 --> https://bugs.winehq.org/attachment.cgi?id=65509 WINEDEBUG=+tid,+pid,+imm,+keyboard,+key,+macdrv
Tested with wine-4.18-112-g717109ce79: 1. $ wine64 notepad 2. Switch to Chinese Pinyin input method, and try to type something
You will find that candidate didn't display, though you still can type some Chinese characters into notepad with the input method.
I didn't see similar on macOS 10.14, so I think this is a Catalina special issue.
https://bugs.winehq.org/show_bug.cgi?id=47990
--- Comment #1 from Jactry Zeng jactry92@gmail.com --- More information of my test environment:
ProductName: Mac OS X ProductVersion: 10.15 BuildVersion: 19A602
$ locale LANG="zh_CN.UTF-8" LC_COLLATE="zh_CN.UTF-8" LC_CTYPE="zh_CN.UTF-8" LC_MESSAGES="zh_CN.UTF-8" LC_MONETARY="zh_CN.UTF-8" LC_NUMERIC="zh_CN.UTF-8" LC_TIME="zh_CN.UTF-8"
https://bugs.winehq.org/show_bug.cgi?id=47990
berto_anfam@yahoo.co.id changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |berto_anfam@yahoo.co.id
https://bugs.winehq.org/show_bug.cgi?id=47990
juju juju812@sina.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juju812@sina.com
--- Comment #2 from juju juju812@sina.com --- This problem still exists in wine 7.2, MacOS Big Sur 11.6 and Monterey 12.1. While troubleshooting I found one error message in Console from SCIM_Extension as below:
warning: attempt to begin free window rendezvous for IMKUIPanel: 0x7fd166f52890 failed due to Error Domain=com.apple.ViewBridge Code=23 "(null)" UserInfo={com.apple.ViewBridge.error.hint=description not found, com.apple.ViewBridge.error.description=NSViewBridgeHostAbsentError}
As for https://developer.apple.com/forums/thread/109319, this "NSViewBridgeHostAbsentError" is probably the reason why candidate list can't be displayed.
For I'm not familiar MacOS ViewBridge framework, if anyone can clarify why this error happened?
Thanks a lot.
https://bugs.winehq.org/show_bug.cgi?id=47990
JK_STAR 398063392@qq.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |398063392@qq.com
--- Comment #3 from JK_STAR 398063392@qq.com --- Still exists in latest wine 7.19 in macos 10.15-12 in VMware Workstation.
https://bugs.winehq.org/show_bug.cgi?id=47990
--- Comment #4 from JK_STAR 398063392@qq.com --- dlls/winemac.drv/cocoa_app.m | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/winemac.drv/cocoa_app.m b/dlls/winemac.drv/cocoa_app.m index b13bc678c6d..fca9e2d4d9b 100644 --- a/dlls/winemac.drv/cocoa_app.m +++ b/dlls/winemac.drv/cocoa_app.m @@ -213,6 +213,11 @@ - (void) dealloc } [super dealloc]; } + + - (void)applicationDidFinishLaunching:(NSNotification *)notification + { + [NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory]; + }
- (void) transformProcessToForeground:(BOOL)activateIfTransformed {
can be fix by this patch, or wait for my commit.