| Summary: | Adding Folders to Filelight's "Do Not Scan List" Doesn't Omit Them From Scan Results on Windows | ||
|---|---|---|---|
| Product: | [Applications] filelight | Reporter: | nekonexus |
| Component: | general | Assignee: | Martin Sandsmark <martin.sandsmark> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 21.12.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://invent.kde.org/utilities/filelight/commit/28c4a2852a7d9f07474ca16e3f6a769b674f106e | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Scan Results and "Do Not Scan List" Screenshot | ||
|
Description
nekonexus
2022-02-26 07:56:47 UTC
Git commit 28c4a2852a7d9f07474ca16e3f6a769b674f106e by Harald Sitter. Committed on 28/02/2022 at 09:28. Pushed by sitter into branch 'master'. do not confuse portable seperator with native ones url.toLocalFile returns C:/ so we incorrectly turned that into C:/\\ i.e. C:// in portable speak. this then resulted in the filtering in locallister not working because it's doing a startsWith check between the ignore (e.g. C:/Windows) and the incoming path (e.g. C:/\\) that would naturally fail. so, to fix this we'll simply want to stop using qdir::separator M +12 -2 src/scan.cpp https://invent.kde.org/utilities/filelight/commit/28c4a2852a7d9f07474ca16e3f6a769b674f106e |