Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backspace and delete don't do anything when the annotation list is in focus #847

Closed
petebankhead opened this issue Nov 20, 2021 · 0 comments
Milestone

Comments

@petebankhead
Copy link
Member

Bug report

Describe the bug
When using the annotation list (under the 'Annotations' tab), pressing backspace or delete doesn't do anything.

If feels like it should. To actually delete any objects, a user needs to either press the 'Delete' button below the list, or click on the viewer to activate it. This feels cumbersome, and can result in accidentally changing the selection or drawing something in a viewer, depending upon what tool may be selected at the time.

To Reproduce
Steps to reproduce the behavior:

  1. Draw some annotations
  2. Click inside the annotations list to activate it (and select something)
  3. Press backspace
  4. Observe... nothing really

Expected behavior
Backspace or delete should work for the list.

Desktop (please complete the following information):

  • QuPath v0.3.0 (and earlier)

Additional context
Issue highlighted by @tp81 at #830

petebankhead added a commit to petebankhead/qupath that referenced this issue Nov 20, 2021
See qupath#847 and qupath#830

This takes a simpler approach than qupath#830 by just triggering the *Delete* button below the list. This matches the behavior of Ctrl+A, which acts like 'the *Select all* button.
@petebankhead petebankhead added this to the v0.3.1 milestone Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant