Fix icon extraction, drop overlay styling, and card padding

This commit is contained in:
2026-02-27 17:49:04 +02:00
parent a1c7f72d1d
commit 4211ff5ce0
5 changed files with 132 additions and 14 deletions

View File

@@ -784,11 +784,8 @@ impl DriftwoodWindow {
}
}
// Auto-scan on startup if enabled
let settings = self.settings();
if settings.boolean("auto-scan-on-startup") {
self.trigger_scan();
}
// Always scan on startup to discover new AppImages and complete pending analyses
self.trigger_scan();
// Check for orphaned desktop entries in the background
let toast_overlay = self.imp().toast_overlay.get().unwrap().clone();
@@ -878,7 +875,8 @@ impl DriftwoodWindow {
let size_unchanged = ex.size_bytes == d.size_bytes as i64;
let mtime_unchanged = modified.as_deref() == ex.file_modified.as_deref();
let analysis_done = ex.analysis_status.as_deref() == Some("complete");
if size_unchanged && mtime_unchanged && analysis_done {
let has_icon = ex.icon_path.is_some();
if size_unchanged && mtime_unchanged && analysis_done && has_icon {
skipped_count += 1;
continue;
}