Skip to content

Text Editing: loading from a saved Story in prefs does not initialize the added views correctly #676

Open
@mzorz

Description

When loading a Story that has its first slide with a text font different than the default one, it will always load the default instead of loading the right one. If you tap on the Added View it gets correctly loaded with the right font. Tapping on the check mark on the Text Editor will replace the added View correctly this time.

Better seen on video:

device-2021-05-04-205628.mp4

Steps to reproduce:

  1. use WPAndroid and create a Story from the My Site screen -> FAB -> Add new Story post
  2. select one back ground image to add to your Story slide
  3. once in the composer, add a Text by tapping the "A" button
  4. in the Text Editor, choose a font other than the default one. For example, use STRONG.
  5. add some text, optionally resize it if you'd like to make it more manageable. Finally tap on the checkmark on the top-right corner of the screen.
  6. Now tap on the -> arrow on the top-right of the screen. The pre-publishing bottom sheet will appear. Optionally give your Story post a title, and tap on PUBLISH NOW
  7. After your Story is published, go to Posts list (Published) and find it first in the list
  8. tap to open
  9. once Gutenberg is loaded and shows the Story block, tap on it twice (one to select the block, one to trigger the Story composer)
  10. observe the added text does not respect the font you chose in step 4 above.
  11. tapping the text to edit will however show the right font selection, and tapping on the checkmark will now correctly update the added view with the originally selected font.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

[Type] UI BugThe app works, user can complete their task, but the UX is not as we designed it to be.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions