Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:B:DVD
kio
PreviewJob-skip-remote-directories.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PreviewJob-skip-remote-directories.patch of Package kio
From 1620032772465be475ae0746aff63a566ef2a546 Mon Sep 17 00:00:00 2001 From: David Faure <faure@kde.org> Date: Sun, 14 May 2017 15:48:33 +0200 Subject: PreviewJob: skip remote directories. Too expensive to preview. For some protocols, file_copy() would end up copying the whole directory locally! FIXED-IN: 5.35 BUG: 208625 --- src/widgets/previewjob.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/widgets/previewjob.cpp b/src/widgets/previewjob.cpp index e836f7d..da50b21 100644 --- a/src/widgets/previewjob.cpp +++ b/src/widgets/previewjob.cpp @@ -599,6 +599,12 @@ void PreviewJobPrivate::getOrCreateThumbnail() createThumbnail(fileUrl.toString()); return; } + if (item.isDir()) { + // Skip remote dirs (bug 208625) + cleanupTempFile(); + determineNextFile(); + return; + } // No plugin support access to this remote content, copy the file // to the local machine, then create the thumbnail state = PreviewJobPrivate::STATE_GETORIG; -- cgit v0.11.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor