Bug 458511

Summary: If a PDF has a name containing double quotes, its preview is not rendered.
Product: [Applications] dolphin Reporter: David Tonhofer <bughunt>
Component: view-engine: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 22.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Tonhofer 2022-08-30 13:01:11 UTC
SUMMARY

If a PDF has a name with double quotes, its preview is not rendered.

For example, the preview is rendered in case the PDF is named

a_b.pdf

but is not rendered if the file is named

a"b".pdf

Additionally, the preview actually disappears if named in that way, either through dolphin or through the command line.

(This may indicate that the filename string is passed to the shell in a command, but with quotes wrapped around, which may open a can of worms)

Reproducible: Always
KDE Frameworks: 5.97.0
Qt: 5.15.5