Page MenuHomePhabricator

Firefox print shows the Contents floating panel
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

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

  • Use Firefox
  • Go to a narrow window
  • The ToC get collapsed
  • Choose print preview

What happens?:

Screenshot 2023-01-19 at 22.07.20.png (1×1 px, 325 KB)

This is actually the floating vector menu of the ToC, which is showing.

Screenshot 2023-01-19 at 22.07.47.png (1×1 px, 301 KB)

What should have happened instead?:
The ToC should have been hidden, like it is in wider settings. Especially FF seems to print in a very narrow viewport somehow.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

QA Results - Beta

ACStatusDetails
1T327448#8567003

QA Results - Prod

ACStatusDetails
1T327448#8576640

Event Timeline

Change 884031 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/Vector@master] Print: Hide table of contents and nav menus in print

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

LGoto triaged this task as Medium priority.Jan 26 2023, 6:31 PM
LGoto set the point value for this task to 2.

Change 884031 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Print: Hide table of contents and nav menus in print

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

nray moved this task from Code Review to QA on the Web-Team FY2022-23 Q3 Sprint 1 board.
nray subscribed.
Edtadros subscribed.

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Ventura
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

Use Firefox
Go to a narrow window
The ToC get collapsed
Choose print preview
✅ AC1: The ToC should have been hidden, like it is in wider settings.

Screenshot 2023-01-28 at 4.51.21 PM.png (1×863 px, 334 KB)

Test Result - Prod

Status: ✅ PASS
Environment: testwiki
OS: macOS Ventura
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

Use Firefox
Go to a narrow window
The ToC get collapsed
Choose print preview
✅ AC1: The ToC should have been hidden, like it is in wider settings.

Screenshot 2023-01-31 at 3.10.53 PM.png (760×879 px, 301 KB)