Page MenuHomePhabricator

Sticky header, footer and user menu should not show in @print mode
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

Expected: Sticky header should not show in @print mode

Actual: It's showing

QA steps 1

  • Visit any article
  • Scroll down so sticky header displays
  • Press CTRL+P

QA steps 2

(From T300253)
In Firefox 96, while logged in trying to print a page https://www.mediawiki.org/wiki/Accessibility on mediawiki.org while using Vector 2022.

Expected: search, footer AND personal menus should NOT be seen at the bottom:

ajb50-00.png (975×1 px, 167 KB)

Old Vector, for comparison:

ajb55-30.png (975×1 px, 199 KB)

QA Results - Beta

ACStatusDetails
1T300178#7747547
2T300178#7747547

QA Results - Prod

ACStatusDetails
1T300178#7845689
2T300178#7845689

Event Timeline

Jdlrobson renamed this task from Sticky header should not show in @print mode to Sticky header and other navigation elements should not show in @print mode.Feb 8 2022, 5:29 PM
Jdlrobson updated the task description. (Show Details)

Merged tasks as these can be fixed together.

Jdlrobson renamed this task from Sticky header and other navigation elements should not show in @print mode to Sticky header, footer and user menu should not show in @print mode.Feb 8 2022, 5:30 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson updated the task description. (Show Details)

Change 766173 had a related patch set uploaded (by Bernard Wang; author: Bernard Wang):

[mediawiki/skins/Vector@master] Hide sticky header and ULS button in print mode

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

Change 766173 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Hide sticky header and ULS button in print mode

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

Test Result - Beta

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

Test Artifact(s):

QA Steps

✅ AC1:
Visit any article
Scroll down so sticky header displays
Press CTRL+P
Sticky header should not show in @print mode

Screen Shot 2022-03-01 at 9.55.17 AM.png (906×1 px, 384 KB)

✅ AC1:
(From T300253)
In Firefox 96, while logged in trying to print a page while using Vector 2022, search, footer AND personal menus should not be seen at the bottom

Screen Shot 2022-03-01 at 9.56.28 AM.png (909×1 px, 377 KB)

Edtadros subscribed.

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Monterey
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1:
Visit any article
Scroll down so sticky header displays
Press CTRL+P
Sticky header should not show in @print mode

Screen Shot 2022-03-07 at 9.30.01 AM.png (1×1 px, 467 KB)

✅ AC1:
(From T300253)
In Firefox 96, while logged in trying to print a page while using Vector 2022, search, footer AND personal menus should not be seen at the bottom

Screen Shot 2022-03-07 at 9.33.32 AM.png (1×1 px, 556 KB)

This is not fixed; the footer can still be seen on the last PDF page.

LGoto added a subscriber: ovasileva.

Change 774984 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[mediawiki/skins/Vector@master] Do not show footer menu in print mode

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

Change 774984 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Do not show footer menu in print mode

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

Test Result - Beta

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

Test Artifact(s):

QA Steps

✅ AC1:
Visit any article
Scroll down so sticky header displays
Press CTRL+P
Sticky header should not show in @print mode

✅ AC1:
(From T300253)
In Firefox 96, while logged in trying to print a page while using Vector 2022, search, footer AND personal menus should not be seen at the bottom

Screen Recording 2022-04-06 at 6.56.00 PM.mov.gif (850×1 px, 1 MB)

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Monterey
Browser: Chrome, Firefox 96
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1:
Visit any article
Scroll down so sticky header displays
Press CTRL+P
Sticky header should not show in @print mode

Screen Recording 2022-04-11 at 9.41.08 AM.mov.gif (704×618 px, 1 MB)

✅ AC1:
(From T300253)
In Firefox 96, while logged in trying to print a page while using Vector 2022, search, footer AND personal menus should not be seen at the bottom

Screen Recording 2022-04-11 at 9.43.26 AM.mov.gif (736×622 px, 1 MB)