Closed Bug 1896058 Opened 1 year ago Closed 1 year ago

Printing does not work for article at poradnikogrodniczy.pl (unless you set `print.save_as_pdf.internal_destinations.enabled` to `false`)

Categories

(Core :: Printing: Output, defect)

Firefox 127
defect

Tracking

()

VERIFIED DUPLICATE of bug 1895872

People

(Reporter: gwarser, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0

Steps to reproduce:

Actual results:

  • my printer stuck on "receiving data" (brother dcp-t520w)
  • saved pdf does not open in Okular ("Error, could not open...")

Expected results:

Printing should work.

Bisection:

2024-05-10T08:37:01.502000: INFO : Narrowed integration regression window from [641e1562, 20dfee6f] (3 builds) to [32d481a4, 20dfee6f] (2 builds) (~1 steps left)
2024-05-10T08:37:01.508000: DEBUG : Starting merge handling...
2024-05-10T08:37:01.509000: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?changeset=20dfee6f93c002644bb5877b4f023e895abee58b&full=1
2024-05-10T08:37:01.509000: DEBUG : redo: attempt 1/3
2024-05-10T08:37:01.509000: DEBUG : redo: retry: calling _default_get with args: ('https://hg.mozilla.org/integration/autoland/json-pushes?changeset=20dfee6f93c002644bb5877b4f023e895abee58b&full=1',), kwargs: {}, attempt #1
2024-05-10T08:37:01.512000: DEBUG : urllib3.connectionpool: Resetting dropped connection: hg.mozilla.org
2024-05-10T08:37:03.021000: DEBUG : urllib3.connectionpool: https://hg.mozilla.org:443 "GET /integration/autoland/json-pushes?changeset=20dfee6f93c002644bb5877b4f023e895abee58b&full=1 HTTP/1.1" 200 None
2024-05-10T08:37:03.045000: DEBUG : Found commit message:
Bug 1729276: Re-enable the use of internal link destinations in PDF output. r=jfkthame

We previously had to disable these due to a cairo issue that they sometimes
triggered, but we're pulling in a cairo update with that issue fixed in
bug 1892913, so there's no longer any reason for the pref to be disabled.

Differential Revision: https://phabricator.services.mozilla.com/D209271

2024-05-10T08:37:03.045000: DEBUG : Did not find a branch, checking all integration branches
2024-05-10T08:37:03.046000: INFO : The bisection is done.
2024-05-10T08:37:03.047000: INFO : Stopped

Has STR: --- → yes
Keywords: regression
Regressed by: 1729276

Operating System: Manjaro Linux
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.6.26-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Manufacturer: Micro-Star International Co., Ltd
Product Name: MS-7B86
System Version: 4.0

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

Thanks for the bug report! I can reproduce. Specifically:

  • Firefox Nightly produces a broken PDF (can't be opened by Firefox or evince) when printing the linked page now.
  • ...but if I toggle print.save_as_pdf.internal_destinations.enabled to false and try again, then I get a PDF that's perfectly fine.

jfkthame, would you mind taking a look here?

Flags: needinfo?(jfkthame)
Attachment #9401045 - Attachment description: functional PDf produced after toggling about:config pref tofalse → functional PDf produced after toggling about:config pref to false
Severity: -- → S2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Printing does not work → Printing does not work for article at poradnikogrodniczy.pl (unless you set `print.save_as_pdf.internal_destinations.enabled` to `false`)

(setting ni=myself just before heading to sleep, in case jfkthame can't get to it -- one of us needs to get a better understanding of this issue relatively promptly, so we can figure out whether bug 1729276 needs a backout before it moves to beta next week.)

Flags: needinfo?(dholbert)

Set release status flags based on info from the regressing bug 1729276

This is probably the same as bug 1895872, at least as regards the PDF output; we'll need to check whether the fix there also resolves things for your actual printer, so until we're sure about that, I won't dupe this.

Flags: needinfo?(jfkthame)
See Also: → 1895872

The bug is marked as tracked for firefox127 (nightly). However, the bug still isn't assigned.

:fgriffith, could you please find an assignee for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(fgriffith)

(In reply to Jonathan Kew [:jfkthame] from comment #7)

This is probably the same as bug 1895872, at least as regards the PDF output;

Indeed, I confirmed that it's the same.

Considering the fix f0275ae79eb1a91fd4420c75866e2cc5bd7ff052 that landed on autoland:

  • a build from the parent commit produces a broken PDF as described in comment 2.
  • a build from the fix commit produces a functional PDF.

we'll need to check whether the fix there also resolves things for your actual printer, so until we're sure about that, I won't dupe this.

It resolves things for my physical HL-2280DW Brother printer, at least. Same builds described above:

  • parent commit: nothing gets printed. My printer lights up but then doesn't print anything. Ubuntu print settings shows the print job in the print queue, with status "Stopped".
  • fix commit: the print succeeds.

Given the above, I'm pretty confident this was indeed the same issue as bug 1895872, so I think we're OK to mark it as a duplicate.

gwarser: if you could retest in the latest Nightly on Saturday or Sunday to confirm that this is fixed for you, that would be wonderful. Thanks again for the bug report!

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1895872
Flags: needinfo?(gwarser)
Flags: needinfo?(fgriffith)
Flags: needinfo?(dholbert)
Resolution: --- → DUPLICATE

Fixed in 20240510213620

Flags: needinfo?(gwarser)

Great - thank you for testing & confirming.

Status: RESOLVED → VERIFIED
See Also: 1895872
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: