#1586 Greenshot Editor add text function: Ctrl-Z (UNDO) does not work

Description

When the text function was activated as last action, Ctrl-Z (UNDO) does not work. This is very annoying. Only the selection using the mouse in the action bar (Greenshot window > Bearbeiten (edit) > Undo) does work.

How to reproduce:

(1)

  • make a Greenshot snapshot

  • open in Greenshot editor

  • select Text function

  • (text-input overlay window opens)

  • don't type a text

  • type Ctrl+Z

==> no reaction
==> the text-input overlay window is not removed (this was expected)

(2)

  • make a Greenshot snapshot

  • open in Greenshot editor

  • select Text function

  • (text-input overlay window opens)

  • now type a text

  • type Ctrl+Z

==> It appears, that Ctrl+Z clears the text

  • Windows XP

  • Greenshot 1.1.7 build 17

Suggested change:

  • allow Ctrl+Z to undo the text-input addition (= to remove the text-input overlay window) IF no text input is present

If a previous text input has been deleted inside the text-input overlay window by a first Ctrl+Z action, then the second Ctrl+Z should remove the text-input overlay window.

Environment

None

Status

Assignee

Unassigned

Reporter

Wikinaut

Affects versions

None

Components

None

Priority

Configure