cef icon indicating copy to clipboard operation
cef copied to clipboard

mac: chrome: Print preview fails with no associated browser

Open magreenblatt opened this issue 3 years ago • 4 comments

Original report by me.


What steps will reproduce the problem?

  1. Run cefclient --enable-chrome-runtime
  2. Select Tests > Print
  3. In the print preview dialog, set Destination to “Save as PDF”
  4. Click the Save button

What is the expected output? What do you see instead?

The PDF file should be created. Instead, the following messages are printed to console:

[4990:259:1014/144057.559321:WARNING:file_dialog_runner.cc(97)] No browser associated with top-level native window
[4990:259:1014/144057.559418:WARNING:file_dialog_runner.cc(107)] No likely focused browser
[4990:259:1014/144057.559447:ERROR:file_dialog_runner.cc(112)] Failed to identify associated browser; canceling the file dialog

What version of the product are you using? On what operating system?

M107 on macOS Monterey.

magreenblatt avatar Oct 14 '22 18:10 magreenblatt

Will need to debug SelectFileImpl to figure out what’s failing.

magreenblatt avatar Oct 14 '22 18:10 magreenblatt

Print preview is supported with Views in issue #3681.

magreenblatt avatar Apr 20 '24 01:04 magreenblatt

Actually not fixed yet.

magreenblatt avatar Apr 20 '24 01:04 magreenblatt

Still reproduces at M128 with both Chrome style (default) and Alloy style (--use-alloy-style --enable-print-preview).

magreenblatt avatar Aug 05 '24 23:08 magreenblatt