Bug 150852 - Enter , . / ; ' [ ] \ sometimes bacome Paste Special in Writter, when using Fcitx5 Chinese PinYIn
Summary: Enter , . / ; ' [ ] \ sometimes bacome Paste Special in Writter, when using F...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CJK-Chinese-Simplified
  Show dependency treegraph
 
Reported: 2022-09-08 03:14 UTC by cheapmeow
Modified: 2024-01-22 13:45 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cheapmeow 2022-09-08 03:14:57 UTC
Description:
when enter ,./;'[]\ in keyboard in Writter, it sometims becomes Paste Special, it makes me cant input these characters

i am using full size keyboard of laptop, Fcitx5 Chinese PinYIn

Steps to Reproduce:
1.open Fcitx5
2.switch Fcitx5 to Chinese PinYin
3.input for a while and copy some sentences
4.Enter , . / ; ' [ ] \ sometimes bacome Paste Special

Actual Results:
Enter , . / ; ' [ ] \ sometimes bacome Paste Special

Expected Results:
Enter , . / ; ' [ ] \ and get , . / ; ' [ ] \ in file


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
Version: 7.4.0.3 / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Calc: CL
Comment 1 Rangarajan 2022-09-11 08:16:33 UTC
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 465c3ad95059f0efa13c8027f7383c4d20a5b2ff
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded


Actual Results:
Enter , . / ; ' [ ] \ sometimes bacome Paste Special

Expected Results:
Enter , . / ; ' [ ] \ and get , . / ; ' [ ] \ in file

NO REPRODUSE
Comment 2 Kevin Suo 2022-09-14 15:40:11 UTC
I have being suffering from this in Calc for a long time, but for now I have not found the clear reproducible steps.

I am using Ibus-pinyin, Ubuntu 22.04 lts and Fedora 36 / Fedora 35.

Thanks for your hints that the keys related to this bug may be ,./;'[]\. Let's try our best to find a reliable "Steps to Reproduce". I set this to NEW for now.
Comment 3 Yueh-Shun Li 2024-01-22 11:14:46 UTC
I just encountered similar issue using fcitx5 Dvorak with LibreOffice Draw.

The input method engine, United States Dvorak[1], is basically a rearrangement of the alphabets and punctuation marks on on the bottom three lines of the keyboard, with "a" and "m" stay at the same position as the QUARTY keyboard. The system-wide layout is QUARTY, and I also chose QUARTY as the base input method engine (the one used when fcitx5 is "inactive").

When the issue occurs and I switch to Dvorak (using the shortcut key Ctrl+Shift), all alphabet other than "a" or "m" will be map to the same arbitrary functions, such as "Backspace" or "Paste Special". That is, when trying to type alphabets other than "a" or "m", or commas, periods and slashes into a text frame inside LibreOffice Draw, all keystrokes will results in an effective backspace deletion or special pasting. When switching to the QUARTY layout, it will behave as usual, but the issue persists when switching to the Dvorak layout again.

This issue occurs spontaneously, and I haven't found a way to reproduce it.

The following is the message dumped during the execution of LibreOffice Draw

```
❯ nix run nixpkgs-local#libreoffice -- --draw
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
Gtk-Message: 15:02:43.572: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 15:02:43.572: Failed to load module "colorreload-gtk-module"
Gtk-Message: 15:02:44.344: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 15:02:44.344: Failed to load module "colorreload-gtk-module"

(soffice:77047): dconf-WARNING **: 15:03:37.113: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(soffice:77047): dconf-WARNING **: 15:03:37.130: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(soffice:77047): dconf-WARNING **: 15:03:37.146: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
```

The "failed to commit changes to dconf" paragraph keeps repeating, but I wonder if it is related to this issue.

The only workaround I have found is deleting the text frame being edit and start over.

System setup:
- Input method: fcitx5
    - Input method engines: QUARTY (Base), Dvorak, Chewing
- Desktop environment: LXQt
- Linux distribution: NixOS
- `nix-info -m outputs`:
    - system: `"x86_64-linux"`
    - host os: `Linux 6.1.67, NixOS, 23.11 (Tapir), 23.11.20231212.cf28ee2`
    - multi-user?: `yes`
    - sandbox: `yes`
    - version: `nix-env (Nix) 2.18.1`
    - nixpkgs: `/nix/store/ch82i0ka6gw80amas17rfy392yyidpsf-source`
- `/etc/os-release`
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="23.11.20231212.cf28ee2"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 23.11 (Tapir)"
SUPPORT_END="2024-06-30"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="23.11 (Tapir)"
VERSION_CODENAME=tapir
VERSION_ID="23.11"
- `/etc/lsb-release`
DISTRIB_CODENAME=tapir
DISTRIB_DESCRIPTION="NixOS 23.11 (Tapir)"
DISTRIB_ID=nixos
DISTRIB_RELEASE="23.11"
LSB_VERSION="23.11 (Tapir)"


[1]: https://en.wikipedia.org/wiki/Dvorak_keyboard_layout
Comment 4 Yueh-Shun Li 2024-01-22 11:18:36 UTC
(In reply to Yueh-Shun Li from comment #3)
> I just encountered similar issue using fcitx5 Dvorak with LibreOffice Draw.
> 
> The input method engine, United States Dvorak[1], is basically a
> rearrangement of the alphabets and punctuation marks on on the bottom three
> lines of the keyboard, with "a" and "m" stay at the same position as the
> QUARTY keyboard. The system-wide layout is QUARTY, and I also chose QUARTY
> as the base input method engine (the one used when fcitx5 is "inactive").
> 
> When the issue occurs and I switch to Dvorak (using the shortcut key
> Ctrl+Shift), all alphabet other than "a" or "m" will be map to the same
> arbitrary functions, such as "Backspace" or "Paste Special". That is, when
> trying to type alphabets other than "a" or "m", or commas, periods and
> slashes into a text frame inside LibreOffice Draw, all keystrokes will
> results in an effective backspace deletion or special pasting. When
> switching to the QUARTY layout, it will behave as usual, but the issue
> persists when switching to the Dvorak layout again.
> 
> This issue occurs spontaneously, and I haven't found a way to reproduce it.
> 
> The following is the message dumped during the execution of LibreOffice Draw
> 
> ```
> ❯ nix run nixpkgs-local#libreoffice -- --draw
> javaldx: Could not find a Java Runtime Environment!
> Warning: failed to read path from javaldx
> Gtk-Message: 15:02:43.572: Failed to load module
> "window-decorations-gtk-module"
> Gtk-Message: 15:02:43.572: Failed to load module "colorreload-gtk-module"
> Gtk-Message: 15:02:44.344: Failed to load module
> "window-decorations-gtk-module"
> Gtk-Message: 15:02:44.344: Failed to load module "colorreload-gtk-module"
> 
> (soffice:77047): dconf-WARNING **: 15:03:37.113: failed to commit changes to
> dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> ca.desrt.dconf was not provided by any .service files
> 
> (soffice:77047): dconf-WARNING **: 15:03:37.130: failed to commit changes to
> dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> ca.desrt.dconf was not provided by any .service files
> 
> (soffice:77047): dconf-WARNING **: 15:03:37.146: failed to commit changes to
> dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> ca.desrt.dconf was not provided by any .service files
> ```
> 
> The "failed to commit changes to dconf" paragraph keeps repeating, but I
> wonder if it is related to this issue.
> 
> The only workaround I have found is deleting the text frame being edit and
> start over.
> 
> System setup:

- LibreOffice Draw Version Information:
Version: 7.5.9.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 16; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

> - Input method: fcitx5
>     - Input method engines: QUARTY (Base), Dvorak, Chewing
> - Desktop environment: LXQt
> - Linux distribution: NixOS
> - `nix-info -m outputs`:
>     - system: `"x86_64-linux"`
>     - host os: `Linux 6.1.67, NixOS, 23.11 (Tapir), 23.11.20231212.cf28ee2`
>     - multi-user?: `yes`
>     - sandbox: `yes`
>     - version: `nix-env (Nix) 2.18.1`
>     - nixpkgs: `/nix/store/ch82i0ka6gw80amas17rfy392yyidpsf-source`
> - `/etc/os-release`
> BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
> BUILD_ID="23.11.20231212.cf28ee2"
> DOCUMENTATION_URL="https://nixos.org/learn.html"
> HOME_URL="https://nixos.org/"
> ID=nixos
> LOGO="nix-snowflake"
> NAME=NixOS
> PRETTY_NAME="NixOS 23.11 (Tapir)"
> SUPPORT_END="2024-06-30"
> SUPPORT_URL="https://nixos.org/community.html"
> VERSION="23.11 (Tapir)"
> VERSION_CODENAME=tapir
> VERSION_ID="23.11"
> - `/etc/lsb-release`
> DISTRIB_CODENAME=tapir
> DISTRIB_DESCRIPTION="NixOS 23.11 (Tapir)"
> DISTRIB_ID=nixos
> DISTRIB_RELEASE="23.11"
> LSB_VERSION="23.11 (Tapir)"
> 
> 
> [1]: https://en.wikipedia.org/wiki/Dvorak_keyboard_layout
Comment 5 Kevin Suo 2024-01-22 13:45:36 UTC
Set back version to 7.4.0.3. The version field should reflect the earliest version effected.

Leave OS field as Linux All as this bug seems not exist in Windows or macOS.