From 710839387aa5676dfcb9af11fd40ece7e3d5bed4 Mon Sep 17 00:00:00 2001 From: pax Date: Sat, 11 Apr 2026 22:16:00 -0500 Subject: [PATCH] info_panel: remove tag count limits Categorized tags were capped at 50 per category and flat tags at 100. Tags area is already inside a QScrollArea so there's no layout reason for the limit. All tags now render. behavior change: posts with 50+ tags per category now show all of them instead of silently truncating. --- booru_viewer/gui/info_panel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/booru_viewer/gui/info_panel.py b/booru_viewer/gui/info_panel.py index cd16174..2e0d51a 100644 --- a/booru_viewer/gui/info_panel.py +++ b/booru_viewer/gui/info_panel.py @@ -144,7 +144,7 @@ class InfoPanel(QWidget): + (f" color: {color};" if color else "") ) self._tags_flow.addWidget(header) - for tag in tags[:50]: + for tag in tags: btn = QPushButton(tag) btn.setFlat(True) btn.setCursor(Qt.CursorShape.PointingHandCursor) @@ -160,7 +160,7 @@ class InfoPanel(QWidget): # in-flight. When a fetch IS pending, leaving the tags # area empty avoids the flat→categorized re-layout hitch # (categories arrive ~200ms later and render in one pass). - for tag in post.tag_list[:100]: + for tag in post.tag_list: btn = QPushButton(tag) btn.setFlat(True) btn.setCursor(Qt.CursorShape.PointingHandCursor)