AFAICT it sometimes, but not always, successfully sets this on switching from VE to WT. It seems to always work from WT to VE.
Description
Details
Event Timeline
I noticed you removed the FF/Safari tags... Does this mean you reproduced it in a browser like Chrome?
I wonder if the request to store the preference does not always make it through in time in this case? Can you reproduce this with the cookie instead of the visualeditor-editor preference?
Yup, reproduced when logged in in Chrome as well; it works fine when logged out, so I imagine user preferences aren't being set reliably in time?
Change 258660 had a related patch set uploaded (by Jforrester):
DesktopArticleTarget: Don't abort in SET mode if veswitched is set
Change 258660 merged by jenkins-bot:
DesktopArticleTarget: Don't abort in SET mode if veswitched is set
Change 259165 had a related patch set uploaded (by Jforrester):
Single Edit Tab: Set switch editor preference via sessionStorage/promise
Change 259286 had a related patch set uploaded (by Alex Monk):
Try to actually resolve visualeditor-editor preference setting when switching editors
Change 259286 merged by jenkins-bot:
Try to actually resolve visualeditor-editor preference setting when switching editors
Change 259165 abandoned by Alex Monk:
Single Edit Tab: Set switch editor preference via sessionStorage/promise
Reason:
issue was fixed by a different commit