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

            Bug ID: 526909
           Summary: Spectacle recreates deleted or renamed
                    lastImageSaveAsLocation folder instead of falling back
                    to default location
    Classification: Applications
           Product: Spectacle
      Version First 6.7.5
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION
When saving a screenshot with "Save As" into a custom folder, Spectacle
remembers that folder as the last save location. 

If that folder is later deleted or renamed in Dolphin/file manager, saving a
subsequent screenshot in Spectacle still targets the old folder path and
automatically recreates the deleted/renamed folder on disk, rather than
realizing the folder no longer exists and falling back to the default location.

STEPS TO REPRODUCE
1. Take a screenshot in Spectacle and click "Save As".
2. In the file dialog, create a new folder (e.g., "abcd" inside "Pictures") and
save the screenshot inside it.
3. Open Dolphin and rename "abcd" to "abcc" (or delete "abcd").
4. Take a new screenshot in Spectacle and click "Save As" (or "Save").

OBSERVED RESULT
Spectacle still points to the old "Pictures/abcd" folder and recreates the
"abcd" folder on disk when saving, creating an unwanted duplicate/resurrected
folder.

EXPECTED RESULT
Spectacle should check if the last used save directory still exists. If the
folder was deleted or renamed, it should fall back cleanly to the default save
location (e.g., Pictures or Pictures/Screenshots) instead of recreating the old
folder.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.2
Graphics Platform: Wayland

ADDITIONAL INFORMATION
None

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

Reply via email to