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

            Bug ID: 463140
           Summary: PreviewJob: Thumbnails are not saved to disk on
                    Windows
    Classification: Frameworks and Libraries
           Product: frameworks-kio
           Version: 5.101.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kio-bugs-n...@kde.org
          Reporter: georgefb...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
This is caused because on Windows the StatJob [link1] can't get the device id
(it's always 0) [link2]; can get one with KFileItem though.

[link1]
https://invent.kde.org/frameworks/kio/-/blob/9a71657097303ef60b1915c3218faab4fae42f7d/src/widgets/previewjob.cpp#L838
[link2]
https://invent.kde.org/frameworks/kio/-/blob/9a71657097303ef60b1915c3218faab4fae42f7d/src/widgets/previewjob.cpp#L633

STEPS TO REPRODUCE
1. Run the previewtest from KIO
2. Insert path to an image in the text field
3. Click generate thumbnail
4. Check thumbnails folder
(C:/Users/<username>/AppData/Local/cache/thumbnails/<size>)

OBSERVED RESULT
There is no thumbnail in the cache/thumbnails/<size> folder, even though there
is one in the app

EXPECTED RESULT
Thumbnail should be present in the cache/thumbnails/<size> folder

SOFTWARE/OS VERSIONS
Windows: 10/11
KDE Frameworks Version: 100/101
Qt Version: 5.12.7

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

Reply via email to