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

            Bug ID: 423500
           Summary: KFileItemPrivate::determineMimeTypeHelper blocks gui
                    thread
           Product: frameworks-kio
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kio-bugs-n...@kde.org
          Reporter: sit...@kde.org
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

When SkipMimeTypeFromContent wasn't explicitly set the determination will
always use the content. This will block the gui thread if the item is on a
mounted remote file system such as sshfs or cifs as reading may take a while
depending on network bandwith/latency and remote IO bandwith/latency.

Supposedly a simple isSlow() and then using the SkipMimeTypeFromContent branch
would help mitigate this. Alas, possibly a bit awkward since we currently don't
have an enum value that'd represent "we'll do what feels sane" auto mode.

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

Reply via email to