ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.93k stars 332 forks source link

After exiting from an editor, the keyboard does not accept input #1633

Open HeroGalak opened 4 months ago

HeroGalak commented 4 months ago

This issue is unique.

Operating System

Linux (DEB package)

Version information

8.1.0.169

Expected Behavior

Working keyboard after exiting from one of the possible editors

Actual Behavior

After the editor is closed, the keyboard does not accept input. Also the physical power off button does not work. The only way to recover is to reboot by using mouse in the start panel of Linux Mint.

Reproduction Steps

Open an editor (document editor, presentations editor, etc) then close it and try, for example, to open start panel by pressing physical button on keyboard.

Additional information

System:
  Kernel: 5.15.0-113-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
    tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
    base: Ubuntu 22.04 jammy
Machine:
  Type: Convertible System: LENOVO product: 81X1 v: IdeaPad Flex 5 14IIL05
    serial: <superuser required> Chassis: type: 31 v: IdeaPad Flex 5 14IIL05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN serial: <superuser required> UEFI: LENOVO
    v: ECCN45WW date: 05/24/2023
Battery:
  ID-1: BAT0 charge: 42.0 Wh (93.8%) condition: 44.8/52.6 Wh (85.2%) volts: 12.6 min: 11.5
    model: Sunwoda L19D3PD6 type: Li-poly serial: <filter> status: Discharging cycles: 479
CPU:
  Info: quad core model: Intel Core i5-1035G1 bits: 64 type: MT MCP smt: enabled arch: Ice Lake
    rev: 5 cache: L1: 320 KiB L2: 2 MiB L3: 6 MiB
  Speed (MHz): avg: 1049 high: 1098 min/max: 400/3600 cores: 1: 1098 2: 1084 3: 1036 4: 1058
    5: 1036 6: 1063 7: 945 8: 1073 bogomips: 19046
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Iris Plus Graphics G1 vendor: Lenovo driver: i915 v: kernel ports: active: eDP-1
    empty: DP-1, DP-2, DP-3, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:8a56 class-ID: 0300
  Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 3-2:2 chip-ID: 5986:212a
    class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting unloaded: fbdev,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
  Monitor-1: eDP-1 model: LG res: 1920x1080 hz: 60 dpi: 158 size: 309x174mm (12.2x6.9")
    diag: 355mm (14") modes: 1920x1080
  OpenGL: renderer: Mesa Intel UHD Graphics (ICL GT1) v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2
    direct render: Yes
Audio:
  Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo driver: sof-audio-pci-intel-icl
    bus-ID: 00:1f.3 chip-ID: 8086:34c8 class-ID: 0401
  Sound Server-1: ALSA v: k5.15.0-113-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:34f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-10:4 chip-ID: 8087:0026
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 3 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 167.78 GiB (35.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ512HALU-000L2 size: 476.94 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: AL2QFXV7 temp: 34.9 C scheme: GPT
Partition:
  ID-1: / size: 274.76 GiB used: 83.87 GiB (30.5%) fs: ext4 dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 256 MiB used: 34.8 MiB (13.6%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 1.8 MiB (0.1%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-2:2 info: Acer Integrated Camera type: Video driver: uvcvideo interfaces: 2
    rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 5986:212a class-ID: 0e02
  Device-2: 3-6:3 info: Synaptics type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0
    speed: 12 Mb/s power: 100mA chip-ID: 06cb:00be class-ID: ff00 serial: <filter>
  Device-3: 3-10:4 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb interfaces: 2
    rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026 class-ID: e001
  Hub-4: 4-0:1 info: Super-speed hub ports: 6 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 43.0 C mobo: 39.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2617 apt: 2586 flatpak: 31
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
    1: deb https: //cloud.r-project.org/bin/linux/ubuntu jammy-cran40/
  Active apt repos in: /etc/apt/sources.list.d/apandada1-xournalpp-stable-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/apandada1-xournalpp-stable-jammy.gpg] https: //ppa.launchpadcontent.net/apandada1/xournalpp-stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/linrunner-tlp-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/linrunner-tlp-jammy.gpg] https: //ppa.launchpadcontent.net/linrunner/tlp/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //fastly.linuxmint.io virginia main upstream import backport
    2: deb https: //ubuntu.mirror.garr.it/ubuntu jammy main restricted universe multiverse
    3: deb https: //ubuntu.mirror.garr.it/ubuntu jammy-updates main restricted universe multiverse
    4: deb https: //ubuntu.mirror.garr.it/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/onlyoffice.list
    1: deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https: //download.onlyoffice.com/repo/debian squeeze main
  Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
    1: deb [arch="all", signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https: //repo.protonvpn.com/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/syncthing.list
    1: deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https: //apt.syncthing.net/ syncthing stable
  Active apt repos in: /etc/apt/sources.list.d/tomtomtom-yt-dlp-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/tomtomtom-yt-dlp-jammy.gpg] https: //ppa.launchpadcontent.net/tomtomtom/yt-dlp/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/vscodium.list
    1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https: //download.vscodium.com/debs vscodium main
  Active apt repos in: /etc/apt/sources.list.d/zhangsongcui3371-fastfetch-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/zhangsongcui3371-fastfetch-jammy.gpg] https: //ppa.launchpadcontent.net/zhangsongcui3371/fastfetch/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/volian-archive-nala-unstable.sources
    1: deb deb-src https: //deb.volian.org/volian/ nala main
Info:
  Processes: 314 Uptime: 2h 23m wakeups: 19 Memory: 7.42 GiB used: 3.09 GiB (41.7%) Init: systemd
  v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 6.0.4 inxi: 3.3.13
bhlevca commented 4 months ago

Not only that, but after several edits the app crashes internally and cannot edit anymore, and asks you to use Save As to another file name.

It happened in the past with other versions, it was fixed but it keeps resurfacing.

Version 8.1.0 is not good. I reverted to 8.0.1, which is more stable. 8.0.1 exhibits the same cursor freezing issues but at least it does not crash. Unfortunately, capturing and documenting how I arrive at the problem is very hard, but if I use it long enough it will happen.

XDmitryK commented 3 months ago

@bhlevca @HeroGalak Hi Version 8.1.1 has been release. You can check your issue? Unfortunnely, i can't reproduce your issue on my VM Mint 21.3 Typing on my keyboard works fine

HeroGalak commented 3 months ago

@XDmitryK I upgraded to latest version on both my laptop and desktop with Linux mint but the problem it's still there. Is there a way I can provide logs?

XDmitryK commented 3 months ago

@HeroGalak You can run the application in the terminal and there you can see the log. Also, if you send a video with a screen recording, this can also help us.

HeroGalak commented 3 months ago

In this video I show that before opening OnlyOffice the keyboard and power off button are ok, then after closing the editor they stop working.

Video (I uploaded it on Google Drive because of GitHub file size limit)

These are the logs launching the app from terminal and doing the same things as showed in the video.

herogalak@BASEALFA:~$ onlyoffice-desktopeditors

(DesktopEditors:2888): Gtk-WARNING **: 16:59:19.301: gtk_disable_setlocale() must be called before gtk_init()
libva error: vaGetDriverNames() failed with unknown libva error
QXcbConnection: XCB error: 8 (BadMatch), sequence: 771, resource id: 62914623, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 787, resource id: 62914623, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 873, resource id: 62914623, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1301, resource id: 62914623, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1306, resource id: 62914623, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1349, resource id: 62914623, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1361, resource id: 62914623, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1605, resource id: 62914623, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1610, resource id: 62914623, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1840, resource id: 62914623, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1865, resource id: 62914623, major code: 130 (Unknown), minor code: 3
herogalak@BASEALFA:~$
XDmitryK commented 2 months ago

@HeroGalak Thanks for video. In your case, there are no strange errors in the console. Let's try installing Linux Mint on our laptop. We haven't been able to reproduce this on desktop computers yet.