Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Columns number reset to 3 in gallery settings #27706

Closed
tellthemachines opened this issue Dec 13, 2020 · 7 comments
Closed

Columns number reset to 3 in gallery settings #27706

tellthemachines opened this issue Dec 13, 2020 · 7 comments
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Type] Bug An existing feature does not function as intended

Comments

@tellthemachines
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

Reported on Trac

When number of columns in Gallery block is changed before images have uploaded, it gets reset to 3 columns.

To reproduce
Steps to reproduce the behavior:

  1. Add a gallery block
  2. Upload 12 images at once
  3. Before they finish uploading, open block settings and set number of columns to 8
  4. See number of columns reset to 3 while images are still uploading

Note: it doesn't happen if the images are added from the media library, only during upload.

Expected behavior

Expected column number to not change after being set.

Editor version (please complete the following information):

  • WordPress version: 5.6
  • Does the website has Gutenberg plugin installed, or is it using the block editor that comes by default? with or without plugin; can reproduce in latest master.
@tellthemachines tellthemachines added [Type] Bug An existing feature does not function as intended [Block] Gallery Affects the Gallery Block - used to display groups of images labels Dec 13, 2020
@lukecarbis
Copy link
Contributor

I've tested this problem in Gutenberg 9.5.2 and WordPress 5.6, and can replicate the issue in both.

@glendaviesnz
Copy link
Contributor

This still happens with the new gallery format merged.

@glendaviesnz glendaviesnz added this to Review After Release 1.0 in Gallery block improvements Aug 30, 2021
@glendaviesnz glendaviesnz moved this from Backlog to Follow up after merge in Gallery block improvements Sep 9, 2021
@glendaviesnz glendaviesnz moved this from For 5.9 Release to Backlog in Gallery block improvements Sep 16, 2021
@Salimoh
Copy link

Salimoh commented Jan 15, 2022

I am having similar problem. I set columns to 3. After publishing they become two.

@glendaviesnz
Copy link
Contributor

I am having similar problem. I set columns to 3. After publishing they become two.

@Salimoh I wasn't able to replicate this. Can you please provide some details about the version of GB and WP that you experience this issue on, and also a screen recording of the workflow if possible.

@glendaviesnz
Copy link
Contributor

glendaviesnz commented Jan 16, 2022

@tellthemachines I wasn't able to replicate this now on GB trunk:
gallery-columns

Do you still see it on trunk?

@tellthemachines
Copy link
Contributor Author

I can no longer reproduce it either; closing.

@amitsarkerr
Copy link

The worst editor is Gutenberg.
I started hating WordPress after using this full of bugs editor functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Type] Bug An existing feature does not function as intended
Development

No branches or pull requests

5 participants