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

            Bug ID: 394874
           Summary: Preview of a broken symbolic link in trash: generates
                    a broken symbolic link
           Product: frameworks-kio
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: jtam...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

For example, if in ~/.local/share/Trash/files there is a broken symbolic link:
3stdoutdae.txt -> 1stdoutdae.txt
When browsing in dolphin trash:, when PreviewJob tries to create a preview of
that file, it creates a temporary file and "that file is transformed into the
broken link", and then the following assert is triggered:
        Q_ASSERT(QFileInfo(tempName).isFile());
in PreviewJobPrivate::cleanupTempFile()

Should PreviewJob create symbolic links or should detect the file is a broken
link and use a predefined icon?

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

Reply via email to