DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

Wrong candidate window position with ibus

Open WXZhao7 opened this issue 2 years ago • 7 comments

This issue is unique.

  • [X] I have used the search tool and did not find an issue describing my bug.

Operating System

Linux (DEB package)

Version information

7.1.0.215

Expected Behavior

vscode

The candidate window follows the cursor position.

Actual Behavior

onlyoffice

Wrong cursor position returned to ibus or something worse happened.

Reproduction Steps

  1. install from .deb or just run AppImage
  2. just type with ibus

Additional information

My computer: image and

❯ gnome-shell --version
GNOME Shell 3.36.9

Here I reproduced this bug with ibus-typing-booster. It really effects many input methods such as Pinyin. It hard for me to type with ibus-rime in ONLYOFFICE.

WXZhao7 avatar Jun 12 '22 09:06 WXZhao7

Hi, sorry for late response

Could you provide any guide on how to properly install ibus/ibus-typing-booster on Ubuntu system, since none of us have any major experience with that

ShockwaveNN avatar Aug 16 '22 09:08 ShockwaveNN

@ShockwaveNN Just sudo apt-get install ibus-typing-booster:) User Documentation

WXZhao7 avatar Aug 16 '22 09:08 WXZhao7

@WXZhao7 Sorry, tried this guide, but seems that there is no instruction how to setup in on KDE, and I don't think I have enough free time to proper research this helper

I've tried with

sudo apt-get install ibus-typing-booster
ibus-setup

And added Japanese language to test - but didn't found how to trigger this ibus window, not a single hotkey is working and then I've selected Japanese from menu on my toolbar - English letters still used

ShockwaveNN avatar Aug 17 '22 07:08 ShockwaveNN

@ShockwaveNN Thanks for your help. I could reproduce the candidate window bug with GNOME rather than KDE. You may need a VM with standard Ubuntu20 to reproduce it easily. And the tip from IBUS-ArchWiki said that KDE comes with a plasmoid called Input Method Panel that can act as an IBus frontend and can possibly provide a better integrated experience.

I use ibus-libpinyin as the major IM and install it by sudo apt install ibus-libpinyin. I'm trying to compile and install the latest iBus because of the Fix wrong cursor location in gtk3 apps from log. ibus-libpinyin

WXZhao7 avatar Aug 17 '22 09:08 WXZhao7

@WXZhao7 Ok, I've installed Ubuntu 20.04 and ibus-libpinyin package but I seems do not understand how to enable this input, I've added Japanese language in Ubuntu settings, but it's still inputed as latin alphabet without any settings

Please note that I'm not familiar with ibus and any other languages except Latin\Cyrillic symbols so please explain or rerod a video how to enabled that

ShockwaveNN avatar Aug 17 '22 12:08 ShockwaveNN

@ShockwaveNN OK, I will try to show how to reproduce it in a new VM. Here I use ibus-typing-booster to simplify the language configuration.

  1. I create a new ubuntu20.0.4 VM with KVM, update software, and install onlyoffice and ibus-typing-booster. And finnally reboot the VM to reload ibus-daemon.
  2. add ibus-typing-booster to IM following the official video guide of ibus-typing-booster. I also record a GIF to testify that really work. add-ibus-typing-booster
  3. using ibus-typing-booster to reproduce (just click the input method icon and select Typing-booster to enable it) onlyoffice

Sorry, I'm not sure if this bug is caused by ibus or onlyoffice.

WXZhao7 avatar Aug 18 '22 08:08 WXZhao7

@WXZhao7 Thanks for this detailed instruction, I was able to reproduce it

I've created issue 58592 in our private issue tracker Moving this issue to DocumentServer repo, since it's our base product and problem actual there too

ShockwaveNN avatar Aug 18 '22 09:08 ShockwaveNN