Print stylesheet prints title on separate page

Bug #1829096 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Evonne Cheung
19.04
Fix Released
Medium
Unassigned
19.10
Fix Released
Medium
Evonne Cheung

Bug Description

From 19.04 on the print stylesheet prints the page title on a separate page and also shows the items in the "More options" menu. The latter should not be displayed.

The title should be followed by content immediately. At the bottom of a long page, the content also goes right to the page edge.

Revision history for this message
Robert Lyon (robertl-9) wrote :

Also the right hand side menu items should be hidden from print view

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/10016

Revision history for this message
Steven (stevens-q) wrote :

Commit hash: 9f3dc7b254eae42640e832ea480c4e26aa0ddc90
Environment tested: 19.04_STABLE
Browser tested: Chrome | Firefox
Theme used: Raw | Default raw | Ocean | Modern | Primary school

PRECONDITIONS:
------------------------
1) Mahara User1 exists (no roles)
2) User has 14 different portfolio pages
3) User 1 has portfolio page with 2 column layout and many blocks (enough to be printed on a few pages)
4) User has profile contact information page all filled in

TEST STEPS:
------------------------
1) Log in as Site admin
2) Browse to portfolio page (as mentioned in preconditions above) & print the page
3) Verify that the print meets the following criteria
 a) "More options" menu should not be displayed. (ellipsis icon - located in the Page header) ✔
 b) The title should be followed by content immediately. ✔
 c) The content should have a page buffer to the page edge. ✔
 d) The right hand side menu items should be hidden from print view ✔

Catalyst QA

Revision history for this message
Steven (stevens-q) wrote :
Revision history for this message
Steven (stevens-q) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/10016
Committed: https://git.mahara.org/mahara/mahara/commit/9f3dc7b254eae42640e832ea480c4e26aa0ddc90
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 9f3dc7b254eae42640e832ea480c4e26aa0ddc90
Author: Evonne Cheung <email address hidden>
Date: Wed May 15 15:24:13 2019 +1200

Bug #1829096 Print stylesheet prints title on separate page

Flex causes content within rows to print on separate pages,
changed to row display: block; for print. Also hidden page
actions, gave page some real margins so it doesn't print to
the edge.

behatnotneeded

Change-Id: I33d068a3d8f6fb8965de8028a3204d094a6222e4

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "19.04_STABLE" branch: https://reviews.mahara.org/10036

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/10036
Committed: https://git.mahara.org/mahara/mahara/commit/fe705fb80a026a13a1a22276ae8e0c4dcd891aff
Submitter: Robert Lyon (<email address hidden>)
Branch: 19.04_STABLE

commit fe705fb80a026a13a1a22276ae8e0c4dcd891aff
Author: Evonne Cheung <email address hidden>
Date: Wed May 15 15:24:13 2019 +1200

Bug #1829096 Print stylesheet prints title on separate page

Flex causes content within rows to print on separate pages,
changed to row display: block; for print. Also hidden page
actions, gave page some real margins so it doesn't print to
the edge.

behatnotneeded

Change-Id: I33d068a3d8f6fb8965de8028a3204d094a6222e4
(cherry picked from commit 9f3dc7b254eae42640e832ea480c4e26aa0ddc90)

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/10065

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.