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

Changing themes does not immediately invalidate theme editor color cache #36152

Closed
dcalhoun opened this issue Nov 2, 2021 · 1 comment
Closed
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)

Comments

@dcalhoun
Copy link
Member

dcalhoun commented Nov 2, 2021

Description

When switching from a block-based theme to a non-block-based theme, the editor will continue displaying the previous themes colors in the editor until refreshed site data is manually fetched. This appears to occur on both iOS and Android. It also occurs in the opposite direction, i.e. block-based theme to non-block-based theme. Possibly related to #33608.

Step-by-step reproduction instructions

  1. Open the native editor for a site with a block-based theme.
  2. Note the editor displays the background and text colors for the theme.
  3. Change the theme to a non-block-based theme in the mobile app, e.g. Seedlet.
  4. Open the native editor.

Expected behaviour

The editor displays the default background and text colors.

Actual behaviour

The editor displays the previously selected theme's background and text colors.

Screenshots or screen recording (optional)

stale-theme-editor-colors.MP4

WordPress information

  • WordPress version: WordPress.com
  • Gutenberg version: v11.7.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? No

Device information

  • Device: iPhone SE
  • Operating system: iOS 15.1
  • WordPress app version: 18.5.0.0 and 17.9.0.4
@geriux
Copy link
Member

geriux commented Feb 16, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
Projects
None yet
Development

No branches or pull requests

2 participants