Page MenuHomePhabricator

Sticky Header does not appear in read mode after abandoning an edit in VE
Closed, ResolvedPublic

Description

This task is about resolving an issue where the site-wise sticky header does not appear in read mode after exiting VE without publishing a change.

Behavior

  1. Visit https://patchdemo.wmflabs.org/wikis/557db5804f/w/index.php?title=Special:UserLogin&returnto=Douglas+Adams
  2. Log in (User: Patch Demo; PW: patchdemo1)
  3. Scroll the page so the page chrome is no longer in view
  4. Open VE using any affordance on the page (e.g. Edit within the page chrome, a section [ edit ] link, or the ✏️ within the sticky header)
  5. Exit VE by pressing Escape or the browser's back button

Actual
❗️ Notice the site-wide sticky header does NOT appear unless you scroll back to the top of the page and scroll back down again

Expected
✅ Notice the site-wide sticky header appears

Event Timeline

Change 753970 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/skins/Vector@master] Sticky header: Wait for some repainting to happen after VE teardown

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

Change 753970 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Sticky header: Wait for some repainting to happen after VE teardown

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

That's an old demo and it can't be updated, can you test on the beta cluster instead? e.g. https://en.wikipedia.beta.wmflabs.org/wiki/Albert_Einstein?useskinversion=2&vectorstickyheader=1&vectorstickyheaderedit=1

works on the beta cluster, Thanks @matmarex.

ppelberg claimed this task.

Test wiki on Patch demo by ESanders (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/3259638fe6/w/