From 091c6c68c19442c785d47f02d827399a8da98cd3 Mon Sep 17 00:00:00 2001 From: oop7 <110548351+oop7@users.noreply.github.com> Date: Sun, 1 Feb 2026 12:27:07 +0200 Subject: [PATCH] Fade in video thumbnail on load Hide the thumbnail QLabel before assigning the pixmap and trigger animate_widget_fade_in to smoothly fade the thumbnail into view. Keeps existing exception logging for thumbnail processing. --- ytsage/gui/ytsage_gui_video_info.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ytsage/gui/ytsage_gui_video_info.py b/ytsage/gui/ytsage_gui_video_info.py index f081136..aa3327b 100644 --- a/ytsage/gui/ytsage_gui_video_info.py +++ b/ytsage/gui/ytsage_gui_video_info.py @@ -410,7 +410,12 @@ class VideoInfoMixin: image.save(img_byte_arr, format="PNG") pixmap = QPixmap() pixmap.loadFromData(img_byte_arr.getvalue()) + + # Fade in the thumbnail + self.thumbnail_label.setVisible(False) self.thumbnail_label.setPixmap(pixmap) + self.animate_widget_fade_in(self.thumbnail_label) + except Exception as e: logger.exception(f"Error processing thumbnail image: {e}")