Skip to content

Double Tap not working very well on client -> server #7920

Open
@Jerry-Terrasse

Description

Project

Deskflow

Deskflow version number

1.17.1.0

Build type

Community package (apt, dnf, brew, etc.)

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

  • Manjaro Linux 24.1.2
  • Ubuntu 24.04

Deskflow configuration

  • Manjaro Server, Ubuntu Client
  • Each has a single monitor
  • Manjaro is on the left, and Ubuntu is on the right
  • Manjaro connects to a 5GHz WLAN, and Ubuntu connects to a wired ethernet

What steps will reproduce the problem?

  1. Configure "Switch on double tap within 50ms"
  2. 50ms makes me very hard to switch from server to client
  3. BUT I can easily switch from client to server with single-direct mouse moving -- which means maybe there's something wrong with the setting on the client.
  4. Barrier 2.4.0 works well.

Log output

[2024-11-25T14:18:59] INFO: starting core server process (desktop mode)
[2024-11-25T14:18:59] INFO: core config file: /home/terrasse/.config/Deskflow/deskflow-server.conf
[2024-11-25T14:18:59] INFO: running command: /usr/bin/deskflow-server -f --no-tray --debug INFO --name Mech-Mjr-Tera --enable-crypto --address :24800 -c /home/terrasse/.config/Deskflow/deskflow-server.conf --tls-cert /home/terrasse/.config/Deskflow/tls/deskflow.pem
[2024-11-25T14:18:59] INFO: using legacy x windows screen
[2024-11-25T14:18:59] NOTE: started server, waiting for clients
[2024-11-25T14:19:00] INFO: version check server success, http status: 200
[2024-11-25T14:19:16] INFO: accepted secure socket
[2024-11-25T14:19:16] INFO: network encryption protocol: TLSv1.3
[2024-11-25T14:19:16] NOTE: accepted client connection
[2024-11-25T14:19:16] INFO: local languages: en
[2024-11-25T14:19:16] NOTE: client "wzx-station" has connected
[2024-11-25T14:19:34] INFO: switch from "Mech-Mjr-Tera" to "wzx-station" at 0,352
[2024-11-25T14:19:34] INFO: leaving screen
[2024-11-25T14:19:35] INFO: screen "Mech-Mjr-Tera" updated clipboard 0
[2024-11-25T14:19:35] INFO: screen "Mech-Mjr-Tera" updated clipboard 1
[2024-11-25T14:19:41] INFO: switch from "wzx-station" to "Mech-Mjr-Tera" at 3838,639
[2024-11-25T14:19:41] INFO: entering screen

Additional information

I do observe a slightly different behavior on the client if I check/uncheck "Switch on double tap", which means probably the configuration is indeed applied to the client. But Deskflow on the client seems failed to decide whether it should trigger switching.

Maybe this issue has something to do with network latency.

Metadata

Assignees

No one assigned

    Labels

    bugThere is an error or the program doesn't work properlytriageAwaiting repro confirmation (bug) or needs accepting (enhancement)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions