https://bugzilla.wikimedia.org/show_bug.cgi?id=68916

            Bug ID: 68916
           Summary: VisualEditor: Toolbar should update fixed position
                    after resize if MediaWiki layout changed
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: code-update-regression
          Severity: normal
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to