Last modified: 2014-11-18 00:54:53 UTC
When resizing the window, after a certain point the MediaWiki page layout may change (media queries). This affects the offset from the left side of the page (specifically, width of the sidebar). However the toolbar caches its computed offset once and never updates it. 1. Open window wider than 1024px with Vector skin in MediaWiki. 2. Enter VisualEditor. 3. Resize to < 980px. Expected: Sidebar shrinks (per Vector styles) and toolbar should still align with left edge of the page. Actual: Sidebar shrinks but toolbar stays behind causing an awkward gap to appear as well as odd interruption in the shadow. It results in part of the Save page button to go off-screen. Other: The reverse happens as well. Opening a narrow window and scaling it up will cause it to stay behind in the other direction. It results in part of the toolbar overlapping links in the sidebar.
Created attachment 16109 [details] Screenshot of bug.
Change 169232 had a related patch set uploaded by Esanders: Recalculate toolbar size on window resize https://gerrit.wikimedia.org/r/169232
Change 169232 merged by jenkins-bot: Recalculate toolbar size on window resize https://gerrit.wikimedia.org/r/169232
Verified the fix in production.