Page MenuHomePhabricator

Vector 2022 desktop view on mobile degraded with update in MW 1.41.0
Closed, DuplicatePublicBUG REPORT

Assigned To
None
Authored By
Fokebox
Dec 28 2023, 11:50 AM
Referenced Files
F41769969: photo_2_2024-02-04_12-21-36.jpg
Feb 4 2024, 11:22 AM
F41769970: photo_3_2024-02-04_12-21-36.jpg
Feb 4 2024, 11:22 AM
F41769971: photo_1_2024-02-04_12-21-36.jpg
Feb 4 2024, 11:22 AM
F41769972: photo_6_2024-02-04_12-21-36.jpg
Feb 4 2024, 11:22 AM
F41769973: photo_7_2024-02-04_12-21-36.jpg
Feb 4 2024, 11:22 AM
F41769974: photo_4_2024-02-04_12-21-36.jpg
Feb 4 2024, 11:22 AM
F41769975: photo_5_2024-02-04_12-21-36.jpg
Feb 4 2024, 11:22 AM
F41637217: Screenshot from 2023-12-28 13-05-41.png
Dec 28 2023, 12:12 PM

Description

https://app.replay.io/recording/vikireestr--14b65035-08f6-4eaa-b8ee-cabec030f7e7

After upgrading from MW 1.40 to MW 1.41 the Vector-2022 skin became worse at Mobile devices (see screenshots). Now there is a gap from the right side.

Mobileview MW-1.40.PNG (2×1 px, 1 MB)

Mobileview MW-1.41.PNG (2×1 px, 1 MB)

Event Timeline

@Fokebox: Thanks for reporting this. For future reference, please use the bug report form (linked from the top of the task creation page) to create a bug report, and fill in the sections in the template, instead of deleting them.

Cannot reproduce, neither desktop nor my mobile phone:

Screenshot from 2023-12-28 13-05-34.png (974×610 px, 142 KB)

Screenshot from 2023-12-28 13-05-41.png (974×610 px, 158 KB)

Feel free to check https://www.mediawiki.org/wiki/Communication for support venues.

@Fokebox: Thanks for reporting this. For future reference, please use the bug report form (linked from the top of the task creation page) to create a bug report, and fill in the sections in the template, instead of deleting them.

Cannot reproduce, neither desktop nor my mobile phone:

Feel free to check https://www.mediawiki.org/wiki/Communication for support venues.

Please note that I face this bag at iPhone 12 using Safari, Yandex browsers

Ah, thanks! Does the problem happen with any other browsers too? Which one(s)?

I see this problem at iPhone 12 at three browsers: Safari, Chrome and Yandex browser.
Moreover the previous version of my MediaWiki website (MW 1.40) - all looked good.

Tacsipacsi added subscribers: bwang, Tacsipacsi.

It would be nice if someone included the links so that not everyone needs to type them from the screenshots… Here are they:

I can reproduce this in Firefox as well: the header has a minimum width of 452px, so @Aklapper your responsive design mode with 500px width was just above the size at which it breaks. (By the way, AFAIK all browsers on iOS are required to use the browser engine of Safari, so testing in three browsers tells us just as much as testing in one browser.)

I think it’s caused by 8d9b148cf (cc @bwang): previously, the min-width: @min-width-supported applied only to .mw-page-container, now it also applies to .vector-header-container. There is a rule .skin--responsive .mw-page-container { min-width: auto; }, but there is no similar rule for .vector-header-container.

Jdlrobson renamed this task from Mobileview became worse at MW 1.41.0 to Vector 2022 desktop view on mobile degraded with Zebra update in MW 1.41.0.Jan 2 2024, 7:19 PM
Jdlrobson renamed this task from Vector 2022 desktop view on mobile degraded with Zebra update in MW 1.41.0 to Vector 2022 desktop view on mobile degraded with update in MW 1.41.0.
Jdlrobson added a project: Web-Team-Backlog.

Some other examples of "desktop mode" on a phone (Android-based with browser Microsoft Edge).

User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

In my opinion, some of the texts are just *too* small.

photo_5_2024-02-04_12-21-36.jpg (1×576 px, 128 KB)

photo_4_2024-02-04_12-21-36.jpg (576×1 px, 100 KB)

photo_7_2024-02-04_12-21-36.jpg (576×1 px, 99 KB)

photo_6_2024-02-04_12-21-36.jpg (576×1 px, 78 KB)

photo_1_2024-02-04_12-21-36.jpg (1×599 px, 173 KB)

photo_3_2024-02-04_12-21-36.jpg (576×1 px, 88 KB)

photo_2_2024-02-04_12-21-36.jpg (576×1 px, 91 KB)

The font size inconsistency is caused by Edge trying to guess what’s “important” and increasing the font size of that. I don’t think we have much control over that; but even if we had, it’s out of the scope of this task.

Jdlrobson subscribed.

The mobile view with wgResponsiveVector is still experimental and we currently do not support browsers below 500px width. I'm hoping that this will become less experimental if the adoption planned in Wikifunctions begins: T349408
Until then I suggest adding code to MediaWiki:Vector-2022.css to tweak the layout to your needs.

Patches to improve Vector 2022 at this resolution are appreciated in the mean time.