nextcloud / nextcloud/whiteboard
Stylus input bug: fast handwriting produces incorrect lines (trajectory ignored)
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:
- Open whiteboard.
- Select the pen/drawing tool for stylus input.
- 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:
This issue is critical for tablet and stylus/pen users.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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