Skip to content

Improve screenshot carousel to show more screenshots#916

Merged
kolunmi merged 3 commits intobazaar-org:mainfrom
AlexanderVanhee:bz-carousel-2
Jan 5, 2026
Merged

Improve screenshot carousel to show more screenshots#916
kolunmi merged 3 commits intobazaar-org:mainfrom
AlexanderVanhee:bz-carousel-2

Conversation

@AlexanderVanhee
Copy link
Copy Markdown
Collaborator

This PR makes an in tree copy of the carousel so we can improve it for our purposes. The current change removes the homogeneous spacing between the center of each widget, which previously caused screenshot carousels with different aspect ratio images to have massive gaps between screenshots.

To further show more screenshots, I changed the carousel so it starts from the second position when the user enters an app page on a wide window, avoiding a large empty space on the left side of the window. In that scenario, I also switched the first and second screenshots to make sure the best screenshot starts in the center.

I had to also fork the indicator dots as an Adw.Carousel cant be inherited from.

Screenshot From 2026-01-05 19-27-57

@AlexanderVanhee AlexanderVanhee added the enhancement New feature or request label Jan 5, 2026
@AlexanderVanhee AlexanderVanhee marked this pull request as ready for review January 5, 2026 19:16
@kolunmi
Copy link
Copy Markdown
Collaborator

kolunmi commented Jan 5, 2026

hmm, it seems the carousel doesn't follow focus?
Screencast From 2026-01-05 12-30-05.webm

@AlexanderVanhee
Copy link
Copy Markdown
Collaborator Author

The Adw.Carousel also does not seem to follow focus.

@kolunmi
Copy link
Copy Markdown
Collaborator

kolunmi commented Jan 5, 2026

hmmm k

@kolunmi kolunmi merged commit 3f329eb into bazaar-org:main Jan 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants