Description: Surrounding text does not work properly in kf5 vcl Steps to Reproduce: Steps to reproduce: 1. Enable the "Allow to modify surrounding text". 2. Install and run the prerelease version from https://www.libreoffice.org/download/download-libreoffice/ (./install RPMS libreoffice/ && ./libreoffice/opt/libreofficedev26.2/program/soffice) 3. Type into Writer: a b (a [space] b) Actual Results: Spaces are removed. Expected Results: Spaces are not removed Reproducible: Always User Profile Reset: No Additional Info: .
Forgot to mention, the issue only happens in LibreOffice, not in other apps like Kate, Firefox...
Sorry again, this issue happens when you use fcitx5-unikey and enable the option in the step 1.
I tried to reproduce, but as already mentioned earlier in https://bugs.documentfoundation.org/show_bug.cgi?id=152519#c24 (that ticket also has more details on the setup), I cannot reproduce the problem on Debian testing with current master, in a KDE Plasma Wayland session. Can you please share the exact version information from "Help" -> "About LibreOffice" and your Linux distro? Any ideas on what a relevant difference might be why I cannot reproduce the problem? (In reply to trmdi from comment #0) > 1. Enable the "Allow to modify surrounding text". Don't know whether this is relevant, but in the fcitx5-unikey version provided by Debian testing (5.1.9-1) this is called "Allow to modify surrounding text (experimental)". What version of fcitx5-unikey are you using? Version: 26.8.0.0.alpha0+ (X86_64) Build ID: 6b3b9a2a2dfc0588e368b64bb4c86d246ec012a0 CPU threads: 32; OS: Linux 6.17; UI render: default; VCL: qt6 (cairo+wayland) Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded Version: 26.8.0.0.alpha0+ (X86_64) Build ID: 6b3b9a2a2dfc0588e368b64bb4c86d246ec012a0 CPU threads: 32; OS: Linux 6.17; UI render: default; VCL: kf5 (cairo+wayland) Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded
Also, can you please try whether you encounter the issue also with the qt6 instead of the kf5 VCL plugin? You can test that by setting environment variable SAL_USE_VCLPLUGIN=qt6 when starting LibreOffice.
"Spaces are removed" issue should happen on vcl gtk3 (Libreoffice on Gnome or KDE) only.
Edit: "Spaces are removed" issue should happen on vcl gtk3 (Libreoffice on Gnome or Xfce) only.
It also happens on with qt6 vcl. > Version: 26.2.0.0.beta1 (X86_64) Build ID: 1ff380402efe713308d6f0e5c815a6e3a1b3b67c CPU threads: 4; OS: Linux 6.15; UI render: default; VCL: qt6 (cairo+xcb) Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded > "Allow to modify surrounding text (experimental)" Yes, that's it. I'm using fcitx5-unikey 5.1.7 on openSUSE Tumbleweed KDE Live.
"a b" => space is removed on wayland+kf5, not removed on wayland+qt6
"a[space][backspace]f[space]b" => space before b is removed on both kf5/qt6 vcl. It does not happen in Kate. Expect "à b".