nextcloud / nextcloud/whiteboard

Stylus input bug: fast handwriting produces incorrect lines (trajectory ignored)

Open
#750 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
215
Forks
39
Avg merge
1d 3h
Merged PRs (30d)
32

Description

When using a stylus for fast handwriting, the lines are rendered incorrectly: the line is shortened and connects only the start and end points, ignoring the actual trajectory of the pen. This makes normal handwriting impossible on the whiteboard.

Steps to reproduce:

  1. Open whiteboard.
  2. Select the pen/drawing tool for stylus input.
  3. Write quickly with the stylus on the canvas.

Expected behavior:
The line should follow the real path of the pen regardless of speed.

Actual behavior:
The line is shortened and goes straight from start to finish, not following the pen's path.

Environment:

  • Chrome for Android version: 141.0.7390122
  • Nextcloud version: 32.0.1
  • Nextcloud Whiteboard version: 1.4.0

Screenshot:
Stylus fast handwriting bug

This issue is critical for tablet and stylus/pen users.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the whiteboard with Chrome for Android 141 and a stylus using the pen/drawing tool. Trace the input handling and line rendering path to determine where fast handwriting loses intermediate trajectory points. Done means fast stylus strokes follow the real pen path rather than connecting only their start and end points.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.