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

Dragging multiple images into the editor returns error message: "Editing this Gallery in the WordPress mobile app requires version 18.2 or higher."" #36818

Closed
mrfoxtalbot opened this issue Nov 24, 2021 · 3 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

@mrfoxtalbot
Copy link

Description

I uploaded a few images to a simple site by dragging and dropping them from my computer and it worked, but I got this message:

Editing this Gallery in the WordPress mobile app requires version 18.2 or higher.

it does not make any sense since:

  • I am not using the APP
  • The upload worked just fine.

Step-by-step reproduction instructions

  1. Create a new post (or edit an existing one)
  2. Drag multiple images from your computer into the editor
  3. Images will be uploaded, but an error message will be displayed at the bottom.

Screenshots, screen recording, code snippet

Uploading Screen Shot on 2021-11-24 at 11:10:50.png…

Environment info

  • Gutenberg: v11.9.1
  • The issue does NOT happen with the core version of the editor (WordPress 5.8.2)
  • This was spotted on a WordPress.com site but I was able to reproduce it on a self-hosted site
  • MacOS 11.1 & Google Chrome 95.0.4638.69

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@Mamaduka
Copy link
Member

It was introduced in #36012.

/cc @glendaviesnz

@mrfoxtalbot
Copy link
Author

I am closing the issue, as it is working as intended. I am adding @glendaviesnz's reply to the matching WP-Calypso issue for context:

it has been added as an informational warning because there is a potential data loss error that users could encounter if they added a new Gallery block on the web with Gutenberg 11.9+ and then edited it on their mobile devices < 18.2.

We have no way of knowing if the user might use the mobile app or not, and there is no way to alert them to the issue if they are using a version of the app < 18.2, and the data loss issue will only occur if they first add the block on web and then edit it on mobile.

We thought it was best to at least attempt to warn the user of a data loss issue in this scenario. It is a one time notice, ie. you should only see this notice once per site, per browser instance, and it is added as a warning snackbar, not, as a red error message, so 🤞 the majority of users will dismiss it and never see it again, and hopefully for the small number of users that could be affected by the data loss issue they will see it and be encouraged to update their mobile app.

The plan is to remove this message from core in another release or two by which time the majority of mobile users should have upgraded anyway.

Closing this as it is expected behaviour and only temporary.

Thank you!

@Mamaduka
Copy link
Member

Thanks for the follow-up, @mrfoxtalbot.

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
Projects
None yet
Development

No branches or pull requests

2 participants