Last modified: 2014-08-09 12:54:14 UTC
- 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
Found while pairing on ULS test with Niklas, reported while pairing with Amir. Failing Jenkins job: https://wmf.ci.cloudbees.com/view/r-uls/job/UniversalLanguageSelector-commons.wikimedia.beta.wmflabs.org-linux-firefox/lastCompletedBuild/testReport/(root)/Font%20selection/Discarding_live_preview_of_content_font/
Created attachment 13556 [details] The screen with OpenDyslexic font preview
Created attachment 13557 [details] The screen with text in OpenDyslexic font after the user clicks cancel
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. ***
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.
This is fixed with, i) https://github.com/wikimedia/jquery.webfonts/pull/39 ii) https://gerrit.wikimedia.org/r/#/c/118664/