Cockatrice/cockatrice/src/interface/widgets/visual_database_display
BruebachL 44d5138181
Some checks are pending
CodeQL / Analyze (cpp) (push) Waiting to run
CodeQL / Analyze (actions) (push) Waiting to run
Build Desktop / Configure (push) Waiting to run
Build Desktop / vcpkg baseline (push) Waiting to run
Build Desktop / Debian 13 (push) Blocked by required conditions
Build Desktop / Debian 12 (push) Blocked by required conditions
Build Desktop / Fedora 44 (push) Blocked by required conditions
Build Desktop / Fedora 43 (push) Blocked by required conditions
Build Desktop / Servatrice_Debian 12 (push) Blocked by required conditions
Build Desktop / Ubuntu 24.04 (push) Blocked by required conditions
Build Desktop / Ubuntu 26.04 (push) Blocked by required conditions
Build Desktop / Arch (push) Blocked by required conditions
Build Desktop / Ubuntu 26.04 cover (push) Blocked by required conditions
Build Desktop / macOS 13 Intel (push) Blocked by required conditions
Build Desktop / macOS 14 (push) Blocked by required conditions
Build Desktop / macOS 15 (push) Blocked by required conditions
Build Desktop / macOS 26 Debug (push) Blocked by required conditions
Build Desktop / Windows 10 (push) Blocked by required conditions
Build Desktop / Prune caches (push) Waiting to run
Build Docker / Servatrice (arm) (push) Waiting to run
Build Docker / Servatrice (x86) (push) Waiting to run
Build Docker / Publish multi-platform Servatrice image (push) Blocked by required conditions
[VisualDatabase] Keep the card grid scrolling on macOS (#7764)
* [VisualDatabase] Keep the card grid scrolling on macOS

The view ignored the wheel whenever the vertical scroll bar was not
visible. On macOS, scroll bars are transient: once the fade-out finishes,
QScrollbarStyleAnimation hides the scroll bar widget, so isVisible() then
reports false even though the grid has more rows to scroll. Scrolling was
dead until something else brought the bar back.

Gate on the scroll bar's range instead: it says whether there is anything
to scroll, while visibility is only about presentation. An event with no
range to scroll is still ignored, so an enclosing scroll area can take it.

* Update card_database_visual_view.cpp

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-11-02 18:18:19 +01:00
..
card_database_visual_view.cpp [VisualDatabase] Keep the card grid scrolling on macOS (#7764) 2026-11-02 18:18:19 +01:00
card_database_visual_view.h [VisualDatabase] Draw the card grid with a model/view (#7701) 2026-11-02 08:35:58 +01:00
visual_database_display_color_filter_widget.cpp [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_color_filter_widget.h [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_filter_button.h Change button colors to be palette aware. (#6821) 2026-04-20 17:47:15 +02:00
visual_database_display_filter_save_load_widget.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
visual_database_display_filter_save_load_widget.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
visual_database_display_filter_toolbar_widget.cpp [QtUtils] Use makeLayout() for zero-margin layouts (#7620) 2026-10-24 19:06:18 +02:00
visual_database_display_filter_toolbar_widget.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
visual_database_display_format_legality_filter_widget.cpp [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_format_legality_filter_widget.h [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_main_type_filter_widget.cpp [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_main_type_filter_widget.h [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_name_filter_widget.cpp [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_name_filter_widget.h [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_set_filter_widget.cpp [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_set_filter_widget.h [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_sub_type_filter_widget.cpp [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_sub_type_filter_widget.h [VisualDatabase] Debounce filter refreshes with QtUtils::Debouncer (#7624) 2026-10-24 22:48:11 +02:00
visual_database_display_widget.cpp [VisualDatabase] Draw the card grid with a model/view (#7701) 2026-11-02 08:35:58 +01:00
visual_database_display_widget.h [VisualDatabase] Draw the card grid with a model/view (#7701) 2026-11-02 08:35:58 +01:00
visual_database_filter_display_widget.cpp [QtUtils] Adopt window fade, path, bold font and confirmation helpers (#7622) 2026-10-24 21:43:50 +02:00
visual_database_filter_display_widget.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00