Skip to content

macOS: ⌘F does not launch a search and but an explicit call to browser.host().find(...) does not do anything (it works on Windows/Linux) #238

@Q1zin

Description

@Q1zin

Summary

On Windows and Linux, the page search is launched both through a shortcut (Ctrl+F) and through an explicit call to browser.host().find(...). On macOS, neither ⌘F nor a direct call to find(...) they have no effect: there is no search and no result events are received.

Platform Information

  • Affected Platform: macOS (aarch64-apple-darwin and x86_64-apple-darwin)
  • Working Platforms: Windows (x86_64-pc-windows-msvc), Linux (x86_64-unknown-linux-gnu)
  • CEF Version: I'm testing on 140.3.1
  • Configuration: Your cefsimple

Problem Description

When calling BrowserHost::find() on macOS, the find operation is silently ignored:

  • browser.host().find(Some(&query), 1, 0, 1) executes without errors
  • ImplClient::find_handler() is never called by CEF
  • ImplFindHandler::on_find_result() is never invoked
  • No find results are reported

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions