Page MenuHomePhabricator

Discarding live preview of content font broken
Closed, ResolvedPublic

Description

  • go to http://commons.wikimedia.beta.wmflabs.org/
  • log out, if logged in
  • open ULS
  • go to font selection
  • select OpenDyslexic font
  • the screen changes, showing text in OpenDyslexic font
  • click cancel
  • the screen changes, showing text in the original font
  • so far so good
  • log in
  • change language (for example to Croatian: http://commons.wikimedia.beta.wmflabs.org/wiki/Main_Page?setlang=hr)
  • go to font selection
  • select OpenDyslexic font
  • the screen changes, showing text in OpenDyslexic font
  • click cancel
  • the screen should change, showing text in the original font
  • but, text is still displayed in OpenDyslexic font

Version: unspecified
Severity: normal

Details

Reference
bz56081

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:29 AM
bzimport set Reference to bz56081.

Created attachment 13556
The screen with OpenDyslexic font preview

Attached:

1.png (1×1 px, 364 KB)

Created attachment 13557
The screen with text in OpenDyslexic font after the user clicks cancel

Attached:

2.png (1×1 px, 336 KB)

Change 91838 had a related patch set uploaded by Zfilipin:
Mark a step as pending since it fails because of a known bug

https://gerrit.wikimedia.org/r/91838

Change 91838 merged by jenkins-bot:
Mark a step as pending since it fails because of a known bug

https://gerrit.wikimedia.org/r/91838

Change 91840 had a related patch set uploaded by Zfilipin:
Change the assertion back to original state

https://gerrit.wikimedia.org/r/91840

Change 91840 merged by jenkins-bot:
Change the assertion back to original state

https://gerrit.wikimedia.org/r/91840

Reset to new. Browser tests were resolved, but issue remains in ULS.

  • Bug 57655 has been marked as a duplicate of this bug. ***

sucheta.ghoshal wrote:

Additional observation: Once the OpenDyslexic font is selected and saved, selecting System Font the next time doesn't change the content font to system from OpenDyslexic. Not at the time of preview, even saving it does not help. Th efont remains to be OpenDyslexic until the page is refreshed after that.

Steps to reproduce:

  • go to http://commons.wikimedia.beta.wmflabs.org/wiki/Main_Page?setlang=hr
  • log in
  • open ULS
  • go to font selection
  • select OpenDyslexic font
  • apply settings
  • the content font is changed to OpenDyslexic
  • open ULS again
  • select System font from font selection
  • the content font should be changed back to system, even for preview
  • but, it remains OpenDyslexic
  • Apply settings
  • the content font should be changed back to system
  • the content font remains OpenDyslexic until the page is refreshed

(In reply to Sucheta Ghoshal from comment #10)

Additional observation

Reported separately as bug 61853.