[vlc-commits] [Git][videolan/vlc][master] 7 commits: macosx: Support multiple rows in home carousels

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sat Nov 7 07:48:30 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
04b5dbbf by Claudio Cambra at 2026-11-07T08:34:07+01:00
macosx: Support multiple rows in home carousels

Allow carousel containers to size their viewport for a configurable row
count while preserving individual item sizes. Add native layout coverage
for two-row columns, spanning headers and window resizing.

- - - - -
c3c2d2c1 by Claudio Cambra at 2026-11-07T08:34:07+01:00
macosx: Scroll carousels to supplementary content edges

Fall back to the document edge when no media item lies in the requested
direction. Cover returning to a leading header and scrolling header-only
content in narrow windows.

- - - - -
28f6e295 by Claudio Cambra at 2026-11-07T08:34:07+01:00
macosx: Embed the Hero in recent video carousels

Place the Hero in a leading section header spanning two video rows. Keep
the section visible for the Hero when recent videos are empty, and consume
Hero context-menu clicks before they reach the carousel.

Load the Hero nib without an owner to avoid recursive initialization.
Exercise actual nib decoding and owner callbacks in lifecycle regressions.

- - - - -
c7aef8d8 by Claudio Cambra at 2026-11-07T08:34:07+01:00
macosx: Restore the standalone Hero when recent videos are empty

Restore a separate home-owned Hero directly below the action buttons with
its original 21:9 aspect ratio. Hide it while recent videos exist and keep
the carousel responsible only for its embedded Hero.

- - - - -
0021560b by Claudio Cambra at 2026-11-07T08:34:07+01:00
macosx: Add random and most recent Hero selection modes

Use a random library recommendation in the standalone Hero and the latest
recent video in the carousel, including when that video is fully played.
Keep random recommendations stable while metadata changes and refresh the
latest mode as recent items change.

Exercise both modes, progress labels, notifications, and actual nib loading
with the production Hero implementation.

- - - - -
2d3967d5 by Claudio Cambra at 2026-11-07T08:34:07+01:00
macosx: Exclude the featured video from recent carousel cards

Keep the full recent-video snapshot alongside its filtered card list.
Select the Hero and exclude its library ID from the same snapshot, while
preserving the total count and standalone fallback for an empty history.

Keep item lookup, card actions, updates and deletion aligned with displayed
indices. Cover single-video histories, Hero replacement, deletion and
overlapping reloads with the production Hero and data source.

- - - - -
749450b7 by Claudio Cambra at 2026-11-07T08:34:07+01:00
macosx: Play Hero items on clicks without dragging

Share click-versus-drag tracking between the Hero and carousel cards. Play
the Hero's represented video on mouse-up after a click, while preserving
carousel scrolling, inertia, context menus and the existing play button.

Cover standalone and embedded Hero interaction with the real nib and
deterministic mouse sequences, including pointer jitter and returning to
the original position after a drag.

- - - - -


24 changed files:

- modules/gui/macosx/UI/VLCLibraryHeroView.xib
- modules/gui/macosx/extensions/NSView+VLCAdditions.h
- modules/gui/macosx/extensions/NSView+VLCAdditions.m
- modules/gui/macosx/library/VLCLibraryHeroView.h
- modules/gui/macosx/library/VLCLibraryHeroView.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewBaseCarouselContainerView.h
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewBaseCarouselContainerView.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewMediaContainerViewDataSource.h
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewMediaContainerViewDataSource.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewStackViewController.h
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewStackViewController.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewVideoCarouselContainerView.h
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewVideoCarouselContainerView.m
- modules/gui/macosx/tests/Makefile.am
- + modules/gui/macosx/tests/VLCLibraryHeroViewTest.m
- modules/gui/macosx/tests/VLCLibraryHomeTestSupport.m
- + modules/gui/macosx/tests/VLCLibraryHomeVideoCarouselLayoutTest.m
- + modules/gui/macosx/tests/VLCLibraryHomeVideoCarouselTest.m
- + modules/gui/macosx/tests/VLCLibraryHomeVideoDataSourceTest.m
- modules/gui/macosx/tests/VLCLibraryHomeViewStackViewControllerTest.m
- modules/gui/macosx/views/VLCCarouselView.h
- modules/gui/macosx/views/VLCCarouselView.m
- modules/gui/macosx/views/VLCUIUnits.h
- modules/gui/macosx/views/VLCUIUnits.m


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b53d8f021745ddf5eef14530710078edf20ce914...749450b7f50f0777dd077dd249aa306dd3c5502f

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b53d8f021745ddf5eef14530710078edf20ce914...749450b7f50f0777dd077dd249aa306dd3c5502f
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list