|
|
@@ -113,12 +113,16 @@ Implemented:
|
|
|
- [x] Search entry text preserved across view transitions
|
|
|
|
|
|
### 2.4 Improve Cover Handling
|
|
|
-**Files**: `src/BookImport.cpp`, `src/BookTile.cpp`
|
|
|
-**Status**: Not Started
|
|
|
+**Files**: `src/Book.cpp`, `src/BookTile.cpp`
|
|
|
+**Status**: COMPLETED
|
|
|
+
|
|
|
+Implemented:
|
|
|
+- [x] Limit placeholder texture cache to 8 entries (prevents unbounded growth)
|
|
|
+- [x] Skip cover loading if already loaded (avoid redundant disk I/O)
|
|
|
+- [x] Check file existence before attempting texture load
|
|
|
+- [x] Graceful fallback to placeholder for missing/corrupted covers
|
|
|
|
|
|
-- [ ] Validate cover image format before saving
|
|
|
-- [ ] Add cache clearing mechanism for placeholder textures
|
|
|
-- [ ] Handle missing/corrupted cover files gracefully
|
|
|
+Note: Format validation deferred - GTK handles format detection internally
|
|
|
|
|
|
---
|
|
|
|