nextcloud / nextcloud/whiteboard

Undo changes tool options to previous tool but not the active tool

Open
#85 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

It's a bit hard to describe, so I recorded this.

Steps to reproduce:

  1. Select a tool, such as Rectangle.
  2. Draw a rectangle.
  3. Select another tool, such as Pen.
  4. Draw something with a Pen.
  5. Click Undo.
  6. When the last drawing of the Pen is undone, the tool options menu switches to rectangle options but the Pen is still selected.
  7. Draw again, and the tool options switches to the active tool - Pen.

Recording:
30e51119-5ab2-41a9-95de-b1d383573740

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

Reproduce the issue using the listed Rectangle and Pen steps and the attached recording. Trace the undo flow and tool-options update entry points; done means undoing the Pen drawing leaves the Pen selected with Pen options visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.