Skip to content

Add clear all annotations functionality

Add a "clear all annotations" operation that irreversibly deletes all annotations on the current image. User is prompted for confirmation before continuing. Potential issues include:

  1. The button to clear these annotations is placed in the annotation toolbar with the freehand, highlighter and other tools. This is not an appropriate location for such a button outside of testing purposes.
  2. This error is thrown into the console when running Spectacle using kdesrc-run:
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
file:///home/neonu/kde/usr/lib/x86_64-linux-gnu/qml/org/kde/kirigami.2/PromptDialog.qml:115:22: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///home/neonu/kde/usr/lib/x86_64-linux-gnu/qml/org/kde/kirigami.2/Dialog.qml:366:37: QML Binding: Binding loop detected for property "value"
qrc:/src/Gui/CaptureOptions.qml:41:5: QML CaptureSettingsColumn (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
qrc:/src/Gui/ImageView.qml:244:5: QML PromptDialog: Binding loop detected for property "implicitHeight"
qrc:/src/Gui/ImageView.qml:244:5: QML PromptDialog: Binding loop detected for property "implicitHeight"

@teams/qa

Merge request reports