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

            Bug ID: 469138
           Summary: Cover cache not created properly on first run, covers
                    not shown in UI
    Classification: Applications
           Product: Arianna
           Version: 1.0.0
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
The first time you run arianna on a new system, it doesn't appear to create the
cover cache directory until too late, so covers are not show for any books
added during the initial run.

STEPS TO REPRODUCE
1. Run arianna for the first time on a clean system/vm and add a book (either
put the book somewhere baloo can find it, or manually add it in arianna -> book
cover doesn't show, message in stdout:
```
qrc:/content/ui/GridBrowserDelegate.qml:117:13: QML Image: Cannot open:
file:///home/thrall/.cache/arianna/covers/9781580805193%00b3235430-024c-4f9c-babb-9d95a0ba4e7c.jpg
```
cache directory (`~/.cache/arianna/covers`) doesn't exist.

2. Close arianna
3. Reopen arianna and add a second book (again, either place a new file where
baloo can find it or add manually) -> second book's cover appears in arianna.
No warning in stdout. All books added afterwards show their covers.

The first book never loads its cover unless you remove and re-add it.
OBSERVED RESULT


EXPECTED RESULT
On first run, Arianna creates the cover cache directory and displays all covers
in the UI.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to