Skip to content

Everything typed on client is in ALL CAPS (Wayland) #7886

@jwakely

Description

@jwakely

💵 Bounty: $200 (details)

Project

Deskflow

Deskflow version number

1.17.1

Build type

Deskflow package (downloaded from Deskflow)

Operating systems (OS)

  • Windows
  • macOS
  • Linux (X11)
  • Linux (Wayland)
  • BSD-derived
  • Other (please specify)

Wayland on Linux

  • I have reviewed the Wayland known issues and my issue is new
  • I am not using Wayland on Linux

Signing on macOS

  • I have authorized the app to run on my Mac
  • I am not using macOS

Continuous build

  • I have tried the latest continuous build and the issue persists
  • I am unable to try the latest continuous build

OS versions/distros

Fedora 40, running KDE/plasma desktop on Wayland. Using Fedora 40 RPMs downloaded from github.com/deskflow/deskflow.
UK keyboard, KDE region settings are for UK.

Deskflow configuration

Two Fedora 40 systems. The deskflow server is a laptop with an external display attached (so two screens for the server). The client is a tower with a single display attached. Connecting over a direct cat-5 cable between the two machines, with manually assigned IP addresses.

What steps will reproduce the problem?

Start Deskflow on both systems, click "Allow" in "Input capture requested" and "Remote control requested" dialogs. Move mouse from server to client and type using the server's keyboard. All letters typed are uppercase. Holding Shift doesn't change anything. Turning caps lock on doesn't change it.

Other characters are wrong too:
Typing [ enters 8 on the client, ] enters 9, backslash enters - and | enters ¬

This doesn't always happen. After rebooting both systems and restarting deskflow it seems to be OK again for a while. Once it starts happening, no amount of restarting deskflow on server and client helps, nor does logging out of KDE on the client and logging in again and restarting deskflow.

Anything typed directly on the keyboard connected to the server works as normal, only characters typed on the server's keyboard and shared with the client via deskflow are incorrect.

Log output

Server logs:

[2024-11-12T14:19:21] INFO: starting core server process (desktop mode)
[2024-11-12T14:19:21] INFO: core config file: /home/jwakely/.config/Deskflow/deskflow-server.conf
[2024-11-12T14:19:21] INFO: running command: /usr/bin/deskflow-server -f --no-tray --debug INFO --name carbon.home --enable-crypto --address :24800 -c /home/jwakely/.config/Deskflow/deskflow-server.conf --tls-cert /home/jwakely/.config/Deskflow/tls/deskflow.pem
[2024-11-12T14:19:21] INFO: using ei screen for wayland
[2024-11-12T14:19:21] NOTE: started server, waiting for clients
[2024-11-12T14:19:21] INFO: accepted secure socket
[2024-11-12T14:19:21] INFO: network encryption protocol: TLSv1.3
[2024-11-12T14:19:21] NOTE: accepted client connection
[2024-11-12T14:19:21] INFO: local languages: en
[2024-11-12T14:19:21] NOTE: client "wraith.home" has connected
[2024-11-12T14:19:21] INFO: version check server success, http status: 200
[2024-11-12T14:19:26] NOTE: logical output size: 2560x2520@0.0
[2024-11-12T14:19:26] NOTE: logical output size: 2560x2520@0.0
[2024-11-12T14:19:26] NOTE: failed to create xkb context: Resource temporarily unavailable
[2024-11-12T14:19:26] NOTE: logical output size: 2560x2520@0.0
[2024-11-12T14:19:26] WARNING: failed to apply barrier 1 (640/1440-2559/1440)
[2024-11-12T14:19:26] WARNING: failed to apply barrier 8 (0/1440-2559/1440)
[2024-11-12T14:19:27] INFO: switch from "carbon.home" to "wraith.home" at 30,349
[2024-11-12T14:19:27] INFO: leaving screen
[2024-11-12T14:19:30] WARNING: language "" is unknown
[2024-11-12T14:19:30] WARNING: failed to convert layout lang code: ""
[2024-11-12T14:19:30] WARNING: language "" is unknown
[2024-11-12T14:19:30] WARNING: failed to convert layout lang code: ""
[2024-11-12T14:19:30] WARNING: language "" is unknown
[2024-11-12T14:19:30] WARNING: failed to convert layout lang code: ""
[2024-11-12T14:19:30] WARNING: language "" is unknown
[2024-11-12T14:19:30] WARNING: failed to convert layout lang code: ""
[2024-11-12T14:19:30] WARNING: language "" is unknown
[2024-11-12T14:19:30] WARNING: failed to convert layout lang code: ""
[2024-11-12T14:19:30] WARNING: language "" is unknown
[2024-11-12T14:19:30] WARNING: failed to convert layout lang code: ""
[2024-11-12T14:19:30] WARNING: language "" is unknown
[2024-11-12T14:19:30] WARNING: failed to convert layout lang code: ""
[2024-11-12T14:19:32] INFO: switch from "wraith.home" to "carbon.home" at 2534,2518
[2024-11-12T14:19:32] INFO: entering screen

Client logs:

[2024-11-12T14:21:55] INFO: starting core client process (desktop mode)
[2024-11-12T14:21:55] INFO: running command: /usr/bin/deskflow-client -f --no-tray --debug INFO --name wraith.home --enable-crypto --sync-language 192.168.99.2:24800
[2024-11-12T14:21:55] INFO: using ei screen for wayland
[2024-11-12T14:21:55] NOTE: started client
[2024-11-12T14:21:55] NOTE: connecting to '192.168.99.2': 192.168.99.2:24800
[2024-11-12T14:21:55] NOTE: server fingerprint: 55:B6:30:DF:67:E4:77:47:BD:23:DF:91:B0:3D:3C:E0:A8:D2:E5:54:69:6E:07:6B:C5:03:00:D4:5E:BE:0C:1A
[2024-11-12T14:21:55] INFO: connected to secure socket
[2024-11-12T14:21:55] INFO: server tls certificate info: /CN=Deskflow
[2024-11-12T14:21:55] INFO: network encryption protocol: TLSv1.3
[2024-11-12T14:21:55] INFO: local languages: en
[2024-11-12T14:21:55] INFO: remote languages: en
[2024-11-12T14:21:55] NOTE: connected to server
[2024-11-12T14:21:55] INFO: version check server success, http status: 200
[2024-11-12T14:21:58] NOTE: logical output size: 1920x1080@0.0
[2024-11-12T14:21:58] NOTE: logical output size: 1920x1080@0.0
[2024-11-12T14:21:58] NOTE: failed to create xkb context: Resource temporarily unavailable
[2024-11-12T14:21:58] NOTE: logical output size: 1920x1080@0.0
[2024-11-12T14:22:09] INFO: entering screen
[2024-11-12T14:22:09] INFO: clipboard was updated
[2024-11-12T14:22:09] INFO: clipboard was updated
[2024-11-12T14:22:09] INFO: leaving screen
[2024-11-12T14:22:10] INFO: entering screen
[2024-11-12T14:22:12] INFO: leaving screen
[2024-11-12T14:22:32] INFO: entering screen
[2024-11-12T14:22:54] INFO: leaving screen
[2024-11-12T14:23:57] INFO: entering screen
[2024-11-12T14:24:31] INFO: leaving screen
[2024-11-12T14:24:51] INFO: entering screen
[2024-11-12T14:25:05] INFO: leaving screen
[2024-11-12T14:26:45] INFO: entering screen
[2024-11-12T14:27:08] INFO: leaving screen
[2024-11-12T14:27:32] INFO: entering screen
[2024-11-12T14:28:02] INFO: stopping core process (desktop mode)
[2024-11-12T14:28:02] INFO: stopping core desktop process
[2024-11-12T14:28:02] WARNING: desktop process exited with error code: 9
[2024-11-12T14:28:02] INFO: starting core client process (desktop mode)
[2024-11-12T14:28:02] INFO: running command: /usr/bin/deskflow-client -f --no-tray --debug INFO --name wraith.home --enable-crypto 192.168.99.2:24800
[2024-11-12T14:28:02] INFO: using ei screen for wayland
[2024-11-12T14:28:02] NOTE: started client
[2024-11-12T14:28:02] NOTE: connecting to '192.168.99.2': 192.168.99.2:24800
[2024-11-12T14:28:02] NOTE: server fingerprint: 55:B6:30:DF:67:E4:77:47:BD:23:DF:91:B0:3D:3C:E0:A8:D2:E5:54:69:6E:07:6B:C5:03:00:D4:5E:BE:0C:1A
[2024-11-12T14:28:02] INFO: connected to secure socket
[2024-11-12T14:28:02] INFO: server tls certificate info: /CN=Deskflow
[2024-11-12T14:28:02] INFO: network encryption protocol: TLSv1.3
[2024-11-12T14:28:02] INFO: local languages: en
[2024-11-12T14:28:02] INFO: remote languages: en
[2024-11-12T14:28:02] NOTE: connected to server
[2024-11-12T14:28:04] INFO: entering screen
[2024-11-12T14:28:04] INFO: clipboard was updated
[2024-11-12T14:28:04] INFO: clipboard was updated
[2024-11-12T14:28:05] INFO: leaving screen
[2024-11-12T14:28:05] INFO: entering screen
[2024-11-12T14:28:05] INFO: leaving screen
[2024-11-12T14:28:08] NOTE: logical output size: 1920x1080@0.0
[2024-11-12T14:28:08] NOTE: logical output size: 1920x1080@0.0
[2024-11-12T14:28:08] NOTE: failed to create xkb context: Resource temporarily unavailable
[2024-11-12T14:28:08] NOTE: logical output size: 1920x1080@0.0
[2024-11-12T14:28:09] INFO: entering screen
[2024-11-12T14:28:16] INFO: leaving screen
[2024-11-12T14:28:17] INFO: entering screen
[2024-11-12T14:28:40] INFO: stopping core process (desktop mode)
[2024-11-12T14:28:40] INFO: stopping core desktop process
[2024-11-12T14:28:40] WARNING: desktop process exited with error code: 9
[2024-11-12T14:28:40] INFO: starting core client process (desktop mode)
[2024-11-12T14:28:40] INFO: running command: /usr/bin/deskflow-client -f --no-tray --debug INFO --name wraith.home --enable-crypto --sync-language 192.168.99.2:24800
[2024-11-12T14:28:40] INFO: using ei screen for wayland
[2024-11-12T14:28:40] NOTE: started client
[2024-11-12T14:28:40] NOTE: connecting to '192.168.99.2': 192.168.99.2:24800
[2024-11-12T14:28:40] NOTE: server fingerprint: 55:B6:30:DF:67:E4:77:47:BD:23:DF:91:B0:3D:3C:E0:A8:D2:E5:54:69:6E:07:6B:C5:03:00:D4:5E:BE:0C:1A
[2024-11-12T14:28:40] INFO: connected to secure socket
[2024-11-12T14:28:40] INFO: server tls certificate info: /CN=Deskflow
[2024-11-12T14:28:40] INFO: network encryption protocol: TLSv1.3
[2024-11-12T14:28:40] INFO: local languages: en
[2024-11-12T14:28:40] INFO: remote languages: en
[2024-11-12T14:28:40] NOTE: connected to server
[2024-11-12T14:28:44] NOTE: logical output size: 1920x1080@0.0
[2024-11-12T14:28:44] NOTE: logical output size: 1920x1080@0.0
[2024-11-12T14:28:44] NOTE: failed to create xkb context: Resource temporarily unavailable
[2024-11-12T14:28:44] NOTE: logical output size: 1920x1080@0.0
[2024-11-12T14:28:45] INFO: entering screen
[2024-11-12T14:28:45] INFO: clipboard was updated
[2024-11-12T14:28:45] INFO: clipboard was updated
[2024-11-12T14:28:48] INFO: leaving screen
[2024-11-12T14:28:49] INFO: entering screen
[2024-11-12T14:28:49] INFO: leaving screen
[2024-11-12T14:29:14] INFO: entering screen
[2024-11-12T14:29:26] INFO: leaving screen
[2024-11-12T14:29:26] INFO: entering screen

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    waylandThis issues effects Wayland on Linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions