Description
Print preview does not work in cefclient 127 and the ''Loading preview.." message never disappears when trying to print https://www.corriere.it/ website but it works for other websites.
Programmatically, in custom windowsless applications calling the PrintToPDF() function, the OnPdfPrintFinished() callback is never called and the printer process never finishes.
To Reproduce
Steps to reproduce the behavior:
- Launch cefclient.exe --use-alloy-style --enable-print-preview --disable-features=PrintCompositorLPAC
- Load https://www.corriere.it/ website in cefclient
- Select Print from menu
- Print Preview never finishes loading
Versions (please complete the following information):
- Windows 10, 11
- CEF Version: 127.3.1
Additional context
In the case of some other websites, like www.gsp.ro, when trying to print to pdf in custom windows-less applications, setting the browser window rectangle to a quite large height, like 25,000 pixels, also makes the printer process to hang. Not sure if the issues are related. Setting a large browser window for such websites is necessary if the resources loading is triggered only for elements inside the viewport.
The issue does not reproduce with Chrome 127.0.6533.99