https://bugs.kde.org/show_bug.cgi?id=456100

            Bug ID: 456100
           Summary: When taking a second screenshot after saving a first
                    one, Spectacle sometimes falsely claims to have saved
                    the file
           Product: Spectacle
           Version: 22.04.2
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: adam.m.fontenot+...@gmail.com
                CC: k...@david-redondo.de
  Target Milestone: ---

SUMMARY

Saving a screenshot in Spectacle results in a confirmation message that says
something like "The screenshot was saved as Screenshot_date_time.png". This
message remains visible even if you take a new screenshot, which misleadingly
suggests that the new screenshot has also been saved. I have accidentally lost
work while taking a series of screenshots because I thought that a screenshot
was saved when it was not.

This seems to happen when Spectacle is activated with a shortcut, but not when
clicking the "Take a New Screenshot" button in the Spectacle window.

In the example below, I have the Print Screen key bound to "launch Spectacle"
under Shortcuts in System Settings. When pressed, this key launches spectacle
(if it is not launched already) and immediately takes a screenshot.

STEPS TO REPRODUCE
1. Activate Spectacle with an activation key (e.g. Print Screen). Take a
screenshot and save it to disk with the Save As button.
2. Activate Spectacle with an activation key again.
3. Close Spectacle by clicking the button on the window frame.

OBSERVED RESULT
After saving the screenshot to disk in step 1, a message appears in the
spectacle window indicating that the file has been saved. When activating
Spectacle again, because the window is already open a new screenshot is taken
immediately. When this happens, the message indicating that the (previous) file
was saved does not go away from the window.

When closing Spectacle immediately, there is no warning that the file is
unsaved, making it more likely that the user will lose work if they trust the
message.

EXPECTED RESULT

When activating Spectacle when the window is already open, I expect the
behavior to be the same as when clicking "Take a New Screenshot". In other
words, Spectacle should remove the message stating that the file is saved when
a new screenshot is taken.

SOFTWARE/OS VERSIONS
Linux: Arch Linux x86_64 (kernel version 5.18.5)
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to