Skip to content

Conversation

@agsyna
Copy link

@agsyna agsyna commented Jan 13, 2026

This PR adds a Clear action to the existing Clipboard Tool, allowing users to explicitly clear copied or cut content without affecting the canvas.

PAINTROID 802

New Features and Enhancements

  • Clear Clipboard Action: Added a Clear button to the Clipboard Tool options
  • Clipboard state is reset safely without modifying the canvas

Testing

  • Added integration tests covering
    • Clear After Copy
    • Clear After Cut
    • Paste After Clear
    • Multiple Clear operations on empty clipboard
  • Verified canvas integrity using undo stack stability

Checklist

Your checklist for this pull request

Please review the contributing guidelines and wiki pages of this repository.

  • Include the name of the Jira ticket in the PR’s title
  • Add the link to the ticket in Jira in the description of the PR
  • Include a summary of the changes plus the relevant context
  • Choose the proper base branch (develop)
  • Confirm that the changes follow the project’s coding guidelines (Wiki)
  • Verify that the changes generate no compiler or linter warnings
  • Perform a self-review of the changes
  • Verify to commit no other files than the intentionally changed ones
  • Include reasonable and readable tests verifying the added or changed behavior
  • Confirm that new and existing tests pass locally
  • Check that the commits’ message style matches the project’s guideline
  • Verify that your changes do not have any conflicts with the base branch
  • After the PR, verify that all CI checks have passed
  • Add new information to the Wiki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant