Status Update
Comments
an...@google.com <an...@google.com> #2
Hi test team, this appears to be a regression, making it a good candidate for bisection to quickly identify the root cause. Please remove 'Needs-Bisect' hotlist and provide a rationale if bisection isn't applicable; this feedback will improve the automated system.
aw...@chromium.org <aw...@chromium.org> #3
I tried this on Linux Canary version 136.0.7101.0, including with a fresh user profile. In all cases the print preview displayed without a problem for the indicated website.
@Reporter, if this is reliably reproducible in your environment, then perhaps you might be able to bisect it to find the commit that caused this?
xq...@gmail.com <xq...@gmail.com> #4
In headless mode, when using with the Go chromedp lib, it looks like the chromium session gets destroyed early after the print request is sent and chromedp is stuck waiting indefinitely, with no errors, leading to a timeout. In GUI, the print preview simply fails.
Logs from GUI, if it's related in any way.
```
[315021:315021:0401/141714.593114:ERROR:print_backend_cups.cc(217)] CUPS: Error getting default printer: No destinations added.
[314761:314761:0401/141714.593947:ERROR:device_event_log_impl.cc(202)] [14:17:14.593] Printer: local_printer_handler_default.cc:278 Failure getting default printer via service, result: kFailed
```
PDF printing with images works fine in 133.0.6943.141
aw...@chromium.org <aw...@chromium.org> #5
You mention that you are using Chromium 134.0.6998.165. Does this problem happen if you install Chrome?
This could be a duplicate of
xq...@gmail.com <xq...@gmail.com> #6
chromium x86_64 134.0.6998.165-1.fc41 updates
Just installed this package of canary chrome.
google-chrome-canary x86_64 136.0.7103.0-1 google-chrome
This is a fresh install with no profiles. PDF printing with images seems to be working fine there. I do not get any preview errors through GUI browser. Running in headless [through chromedp, a Go library] also seems to be working as expected. This is good news, but I would still love to see a patch on the stable versions of chromium or chrome. I'm not comfortable running bleeding edge versions outside my dev setup.
Could indeed be a duplicate. I'll follow that other thread. Let me know if you want / need more info!
aw...@chromium.org <aw...@chromium.org> #7
Ideally the original poster for this bug will also provide feedback regarding if they can print successfully with Chrome, as opposed to Chromium, and also provide details on their Linux version.
lu...@gmail.com <lu...@gmail.com> #8
I didn't find this lib on Nix packages website...
I'm using NixOS 24.11, Linux kernel is version 6.6.85.
I installed google-chrome package, version 134.0.6998.165 and tried to print a page containing images, it actually worked !
I also pinned Chromium back to version 132.0.6834.159, it works.
pe...@google.com <pe...@google.com> #9
Thank you for providing more feedback. Adding the requester to the CC list.
po...@google.com <po...@google.com> #10
I tried the following steps:
1.Open Google Chrome and navigate to
2.Press the Ctrl+P shortcut to open the print dialog.
Observed that, Images are rendering correctly in the print preview, and there are no signs of failure in the print preview.
Screencast (Canary):
Screencast (Stable):
Thanks!
sw...@google.com <sw...@google.com> #11
Removing the "Needs-Bisect" Hotlist as the TE unbale to repro the issue as per
@Reporter, Please go through the Screencast and let us know if anything was missed from our end.
Thanks!
aw...@chromium.org <aw...@chromium.org> #12
Given that
The end result for bug report is the same in that there is nothing more to do here, given that Chrome works properly. You may want to file a bug with NixOS, since it is broken from their build.
Description
Steps to reproduce the problem
Problem Description
The preview fails to display when there is at least one image in the webpage. Note : it works when there is no image in the webpage.
I actually first discovered this when I was updating a Rust program generating PDF files (https://github.com/ld-web/docusaurus-to-pdf ).
It suddenly started to timeout only for pages containing images.
The program uses chromiumoxyde library, that's how I started to focus on Chromium to better identify the problem.
Last point : it seems that it was working before I recently updated all my NixOS packages. Unfortunately I don't know which version of Chromium I was running before. If needed, I can try to find and boot on the version I was using when it was still working, so that I identify more precisely the Chromium version I was running at the time.
Don't hesitate to ask for further information if needed. Thanks
Summary
Unable to print pages containing images
Additional Data
Category: Developer Tools
Chrome Channel: Stable
Regression: Yes