Page MenuHomePhabricator

[Regression] Vector 2022 does not scale to full width on edit pages when you hide sidebar
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

Screenshot from 2022-08-20 17-33-21.png (983×1 px, 209 KB)

The width of the editing area is restricted to only 60em

What should have happened instead?:

The form should scale to full width as it used to do before.

Rationale: Wikisources in general have a two column editing layout (enabled via ProofreadPage), having the editing area restricted to 60em will hurt the ability for contributors to use the two column layout to it's fullest extent since the image preview as well as the editing area become too small to use comfortably.

Event Timeline

This appears to be a side effect of the patch that fixed T314579.

Iniquity renamed this task from Vector 2022 does not scale to full width on edit pages in the Page: namespace to [Regression] Vector 2022 does not scale to full width on edit pages in the Page: namespace.Aug 20 2022, 8:55 PM

@Soda I have everything displayed well. Maybe cache?

image.png (906×1 px, 280 KB)

Found, you need to hide the sidebar, then there will be a fixed width. Not only in Wikisource:

image.png (870×1 px, 102 KB)

Iniquity renamed this task from [Regression] Vector 2022 does not scale to full width on edit pages in the Page: namespace to [Regression] Vector 2022 does not scale to full width on edit pages when you hide sidebar.Aug 20 2022, 9:06 PM

Change 824848 had a related patch set uploaded (by Sohom Datta; author: Sohom Datta):

[mediawiki/skins/Vector@master] Prevent edit-page from being constrained by max-width

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

I've added/uploaded a tentative fix for this task. One specific edge case that I discovered while playing around was that for included pages/main pages, the edit view was being set to max-width when it should still be max-width.

(this one is still not fixed but we'll track fixing it at T315460. Thanks for reporting!

Change 824848 abandoned by Sohom Datta:

[mediawiki/skins/Vector@master] Prevent edit-page from being constrained by max-width

Reason:

patch not in correct direction

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