Skip to content

Headed Windows: Google search box focus lands but typed text does not commit or submit #3

@adybag14-cyber

Description

@adybag14-cyber

Summary

On the Windows headed path, https://www.google.com/ still does not accept end-to-end search input reliably.

Current behavior

  • Clicking the Google search box can appear to focus the field.
  • The caret state is inconsistent.
  • Typed text does not reliably appear in the query box.
  • Enter does not reliably produce a search results navigation.

What is already proven working

  • The normal Windows headed binary builds and runs.
  • Session restore and startup stability fixes are in place.
  • Generic focused-input typing works on simpler local headed pages.
  • Focus-on-mousedown and the full mouse activation sequence are implemented.
  • Legacy named form/control access (document.f, form.q) is implemented.
  • Legacy keyboard fields (keyCode, charCode, which) are implemented.
  • Parser task deferral after parser-blocking scripts is fixed.

What is not yet working

  • Real Google homepage search interaction on the headed Win32 surface.

Current narrowing

This no longer looks like a pure rendering bug.

  • The missing blinking caret may be partly visual.
  • But the empty query value and lack of submit are real functional failures.
  • Simpler local input pages work.
  • The remaining failure appears specific to the real Google homepage/runtime path in headed mode.

Repro

zig build -Dtarget=x86_64-windows-msvc --summary all
.\zig-out\bin\lightpanda.exe browse --browser_mode headed https://www.google.com/

Then click the search box and type a query.

Expected

  • Visible focus/caret state
  • Typed text appears in the query input
  • Enter submits to Google search results

Actual

  • Focus is inconsistent
  • Typed text does not reliably land in the input
  • Submit/navigation does not reliably happen

Notes

The completed headed/input/layout groundwork was committed in 76776569 (headed: harden restore input and layout paths)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions