[frameworks-kio] [Bug 444697] New: KIO trash store incorrect information in directory size cache

2021-10-31 Thread stream9
https://bugs.kde.org/show_bug.cgi?id=444697

Bug ID: 444697
   Summary: KIO trash store incorrect information in directory
size cache
   Product: frameworks-kio
   Version: 5.87.0
  Platform: Archlinux Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: Trash
  Assignee: fa...@kde.org
  Reporter: stream...@gmail.com
CC: kdelibs-b...@kde.org
  Target Milestone: ---

- According to the trash specification
(https://specifications.freedesktop.org/trash-spec/trashspec-latest.html) mtime
field is number of SECONDS since epoch. But it seems KIO's implementation
(https://github.com/KDE/kio/blob/master/src/ioslaves/trash/trashsizecache.cpp#L56)
stores milliseconds since epoch therefore causing compatibility issue with
other implementations.

- Also FYI specification is vague about whether mtime include leap seconds or
not.

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

[frameworks-kfilemetadata] [Bug 403902] Baloo_file_extractor Crashes in KFileMetaData::TagLibExtractor::extract() on XML files with the .spx extension

2019-03-17 Thread stream9
https://bugs.kde.org/show_bug.cgi?id=403902

stream9  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 CC||stream...@gmail.com
 Status|RESOLVED|REOPENED

--- Comment #13 from stream9  ---
It seems fix for this problem have caused regression.

With file extension, matroska containers (mkv, mka etc) are recognized as
video/x-matroska, audio-xmatroska so on.

But with contents signature, they are recognized as super category
application/x-matroska.

By determine mime type from content, matroska containers are all recognized as
application/x-matroska, so BasicIndexingJob can't determine correct file type 
(typesForMimeType() in file/basicindexingjob.cpp).

As consequence it doesn't index them at all.

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