Automattic / Automattic/jetpack

Slideshow Block captions are not preserved when transforming to Tiled Gallery and back

Open
#43,748 1 comment 0 reactions 0 assignees View on GitHub
[Block] Tiled Gallery [Feature] Tiled Gallery [Plugin] Jetpack [Pri] Low [Status] Auto-allocated Bug Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### Quick summary

When you add a slideshow block the captions display properly on every image but if you change the layout and then go back to slidehow the captions are gone.

### Steps to reproduce

When you add a slideshow block the captions display properly on every image, when you switch to a layout that doesn't support captions like tiled gallery and then switch back to slideshow captions are gone.

1 - Add a slideshow block and make sure the images have captions, it will display properly:

![Image](https://github.com/user-attachments/assets/e7450cb2-9c19-4e20-ba52-8e96d5d527ca)

2 - Switch the layout to one that doesn't support captions, like tiled gallery.

![Image](https://github.com/user-attachments/assets/4da99030-6889-4f6c-a1f6-07a3aadf3eda)

3 - Change the layout back to slideshow, notice that the captions are gone

![Image](https://github.com/user-attachments/assets/f8e05c8c-96c2-47d7-9202-400c51f3c2a7)

### Site owner impact

More than 60% of the total website/platform users

### Severity

Minor

### What other impact(s) does this issue have?

_No response_

### If a workaround is available, please outline it here.

if you click on edit for the slideshow then click update without changing anything the captions will show again

### Platform (Simple and/or Atomic)

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by creating a Slideshow Block with image captions, switching to Tiled Gallery, and switching back. Trace the slideshow and gallery layout transformation entry points, then verify that captions remain visible after returning to slideshow; the issue names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, wordpress
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.