Closed Bug 1825987 Opened 1 year ago Closed 1 year ago

firefox prints html files on several pages that fit on one page since update

Categories

(Core :: Printing: Output, defect)

Firefox 111
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: reportbugtomozilla, Unassigned)

Details

Attachments

(1 file)

Attached file test.html

Steps to reproduce:

  1. Save the attached file 'test.html'
  2. open the saved file with firefox 111
  3. the print-dialog should open immediately
  4. print the page

Info:
The attached file is a printpreview html file of my web-mailclient.

Tested on (with the same result):
xubuntu 22.04 with Firefox 111.0 canonical - 1.0
xubuntu 20.04.6 with Firefox 111.0 canonical - 1.0

Actual results:

If you print the page you will get three pages instead of one.

Expected results:

If you do the steps 1 to 4 in e.g Firefox 108.01 or earlier you will get only one page to be printed.

Tested on:
xubuntu 22.04 with Firefox 108.0.1 canonical-002-1.0

The Bugbug bot thinks this bug should belong to the 'Core::Printing: Output' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Printing: Output
Product: Firefox → Core

Disabling named pages via layout.css.named-pages.enabled in about:config reverts this (Bisection points to the pref being flipped on nightly).
Seems like MS word (Which the attached file references) generated a @page rule for the content of the email, which prompted us to contain that into a page, resulting in the contents before and after to be broken out into the total of 3 pages.
This Behaviour is matched on Chrome.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true

It looks like this is the same issue as noted here: https://github.com/roundcube/roundcubemail/issues/7604

@Peter, can you confirm if that's the same email client/suite you are using?

If so, that's an issue with the email client itself that others have noticed too. Hopefully they'll make a new release that includes their fix soon (looks like version the latest version 1.6.1 doesn't have it yet, that was released January 23rd 2023 and the fix landed in their code in February 2023).

Flags: needinfo?(reportbugtomozilla)

@Emily
My webmail client is not roundcubemail. It is the desknow-server/client. This Software is discontinued since 10 or more years but it worked perfectly the last decade with every Firefox version.

@David
I will check this (layout.css.named-pages.enabled) option and post a feedback later

Flags: needinfo?(reportbugtomozilla)

Hmm, that's difficult. The CSS they are writing here specifically asks us to print on three pages instead of one.

Also strange that the CSS is so similar to roundcubemail's.

@Emiliy
Thank you for your help.

(In reply to David Shin[:dshin] from comment #2)

Disabling named pages via layout.css.named-pages.enabled in about:config reverts this ...

This works perfectly, thank you!

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: