http://bugs.winehq.org/show_bug.cgi?id=30938
Bug #: 30938 Summary: Update a XIM candidate position when cursor location changed Product: Wine Version: 1.5.6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: felixonmars@gmail.com Classification: Unclassified
How to reproduce: 1. $ wine notepad 2. Activate input method (SCIM/IBUS/FCITX, etc), input something
Result: Candidate window is below the notepad window, and never moved.
Expected result: Candidate window moves as it is in gedit.
Probably related to these patches I found: http://markmail.org/message/haq2zykslfkhwdil http://markmail.org/thread/2bfrrce47cqzga4l
http://bugs.winehq.org/show_bug.cgi?id=30938
Felix Yan felixonmars@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |felixonmars@gmail.com, | |fracting@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30938
Felix Yan felixonmars@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Update a XIM candidate |Update a XIM candidate |position when cursor |position when cursor |location changed |location changes
http://bugs.winehq.org/show_bug.cgi?id=30938
Ma Xiaojun damage3025@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damage3025@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30938
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |aric@codeweavers.com Ever Confirmed|0 |1
--- Comment #1 from Qian Hong fracting@gmail.com 2012-10-22 08:50:39 CDT --- Confirming with ibus, CC Aric, thanks!
http://bugs.winehq.org/show_bug.cgi?id=30938
--- Comment #2 from Felix Yan felixonmars@gmail.com 2013-01-31 03:01:04 CST --- Created attachment 43390 --> http://bugs.winehq.org/attachment.cgi?id=43390 Update a XIM candidate position when cursor location changes
I adjusted the following patch to apply it on latest git, which works correctly here if InputStyle set to "overthespot". Please kindly let me know if there's something wrong in the attached patch, thanks!
http://markmail.org/thread/2bfrrce47cqzga4l
http://bugs.winehq.org/show_bug.cgi?id=30938
lilydjwg@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lilydjwg@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30938
Yichao Zhou broken.zhou@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |broken.zhou@gmail.com
--- Comment #3 from Yichao Zhou broken.zhou@gmail.com 2013-08-03 10:12:19 CDT --- Is there any problem preventing this patch being merged?
http://bugs.winehq.org/show_bug.cgi?id=30938
--- Comment #4 from Aric Stewart aric@codeweavers.com 2013-08-20 08:57:50 CDT --- (In reply to comment #3)
Is there any problem preventing this patch being merged?
Patches are not merged from bugzilla. You need to submit it to the wine-patches mailing list.
http://bugs.winehq.org/show_bug.cgi?id=30938
--- Comment #5 from lilydjwg@gmail.com --- I've tried the latest patch, but it doesn't work.
https://bugs.winehq.org/show_bug.cgi?id=30938
--- Comment #6 from Felix Yan felixonmars@gmail.com --- (In reply to lilydjwg from comment #5)
I've tried the latest patch, but it doesn't work.
You need the following registry key to activate this behavior:
[HKEY_CURRENT_USER\Software\Wine\X11 Driver] "InputStyle"="OverTheSpot"
https://bugs.winehq.org/show_bug.cgi?id=30938
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #7 from Sebastian Lackner sebastian@fds-team.de --- An updated version of the patch is available here: https://github.com/compholio/wine-compholio/blob/master/patches/winex11-Cand...
Please note that its still unlikely that it will be merged - I don't see any disadvantage of this approach, but a proper solution would have to be integrated into imm32.dll. The current solution only works with all input controls, which are based on the user32/Caret API to draw the cursor position.
https://bugs.winehq.org/show_bug.cgi?id=30938
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/winex11-Candid | |ateWindowPos
https://bugs.winehq.org/show_bug.cgi?id=30938
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=30938
Ma Xiaojun damage3025@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|damage3025@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=30938
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/winex11-Candid |er/patches/winex11-Candidat |ateWindowPos |eWindowPos
https://bugs.winehq.org/show_bug.cgi?id=30938
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a90ddea5188dc63dd8698614958 | |43a7d7a20cbef Resolution|--- |FIXED Status|STAGED |RESOLVED CC| |zzhang@codeweavers.com
--- Comment #8 from Zhiyi Zhang zzhang@codeweavers.com --- Fixed by a90ddea5188dc63dd869861495843a7d7a20cbef from https://gitlab.winehq.org/wine/wine/-/merge_requests/6286
https://bugs.winehq.org/show_bug.cgi?id=30938
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.16.