Skip to content

Linux: CefPrintHandler not used on CEF145 (worked on CEF143/144) #4130

@edgardogho

Description

@edgardogho

Describe the bug
On 145.0.28+g51162e8+chromium-145.0.7632.160 / Chromium 145.0.7632.160 or (beta) 146.0.5+g4db0d88+chromium-146.0.7680.65 / Chromium 146.0.7680.65 the CefPrintHandler is not used.

To Reproduce
Steps to reproduce the behavior:
Put a breakpoint on client_handler.h:

CefRefPtr<CefPrintHandler> GetPrintHandler() override {
    return print_handler_; // breakpoint here
  }

Expected behavior
print_handler_ should be used to handle print events initiated on the browser.

Versions (please complete the following information):

  • OS: Linux 64 bits (Ubuntu 24 and others)
  • CEF Version: 145 / 146

Additional context
Happens on cefclient and also my own c++ app based on cefclient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug reportlinuxLinux platform

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions