From 621d47d7012a4304ef46f5d6d2fc4051cddd87e0 Mon Sep 17 00:00:00 2001 From: oop7 <110548351+oop7@users.noreply.github.com> Date: Sun, 1 Feb 2026 12:26:47 +0200 Subject: [PATCH] Hide and fade-in format table on build Make the format table invisible while it's populated and filtered to avoid visual artifacts, then animate its appearance with animate_widget_fade_in after initial filtering. This ensures a smoother UI when the table is first built. --- ytsage/gui/ytsage_gui_format_table.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ytsage/gui/ytsage_gui_format_table.py b/ytsage/gui/ytsage_gui_format_table.py index b3794ac..2462297 100644 --- a/ytsage/gui/ytsage_gui_format_table.py +++ b/ytsage/gui/ytsage_gui_format_table.py @@ -233,11 +233,15 @@ class FormatTableMixin: all_filtered = [(f, "video") for f in video_formats] + [(f, "audio") for f in audio_formats] # Build table with format type tracking + self.format_table.setVisible(False) self._populate_format_table(all_filtered) self._table_built = True # Apply initial visibility based on current button states self.filter_formats() + + # Animate table appearance + self.animate_widget_fade_in(self.format_table) def _populate_format_table(self, formats_with_types: list) -> None: """Populate the format table with formats and their types."""