H-M-H / Weylus

Use your tablet as graphic tablet/touch screen on your computer.
Other
6.58k stars 255 forks source link

[BUG] Stylus Use Disables Touch Functionality (+Workaround) #263

Open Jonny999999 opened 3 months ago

Jonny999999 commented 3 months ago

Issue

When initially opening Weylus on my tablet, touch functionality works fine. However, after using the stylus once, touch input stops responding, only the stylus continues to work.

Background

I frequently switch between using touch for navigating and the stylus/pen for writing and drawing within Xournal++.

Environment

Current Workaround

Opening a second web interface instance seems to resolve the issue temporarily.

Method 1 - Second Tab:

  1. On PC:
    • Start Weylus
  2. On Tablet:
    • Start the browser
    • Open the Weylus URL (first tab)
    • Open a new tab
    • Open the Weylus URL again (second tab)
    • Close the first tab
    • Now I can freely switch between touch and stylus as I like, and both continue to work. Note: This workaround needs to be repeated after restarting Weylus or the browser.

EDIT: Method 2 - Open on Host first:

  1. On PC:
    • Start Weylus
    • Start the browser
    • Open the Weylus URL
  2. On Tablet:
    • Start the browser
    • Open the Weylus URL
  3. On PC:
    • Close browser
  4. On Tablet:
    • Now I can freely switch between touch and stylus as I like, and both continue to work.

Bottom line: I stumbled upon a workaround that's doing the job for now, although it's a bit strange. If anyone knows why this is happening, let me know. Otherwise, maybe the workaround helps someone with a similar problem.

This issue might be related: GitHub Issue #243.

mzen17 commented 2 weeks ago

I also have this bug. The workaround solves the problem well (Samsung S8+ with Arch Linux (i3wm)).