Skip to content

Application: Speaking web pages' selections on Windows and Linux #1388

Closed

Description

@oneo-me

Context

Part of #1306. The roadmap's Application and windows section lists this item (line 155 of docs/roadmap.md at f7fc2f5c) with no issue.

Reference: NSGo's #427; WebView2's ExecuteScript, WebKitGTK's webkit_web_view_evaluate_javascript with its result

Acceptance

  • Edit → Speech → Start Speaking reads a focused web view's selection, read by a script, as it reads a focused field's, rather than nothing

For: 开发@柚子

Activity

  1. added
    enhancement
    on Nov 21, 2026
  2. self-assigned this
    on Nov 22, 2026
  3. houko commented on Nov 23, 2026

    @houko
    Collaborator

    Windows and Linux web-view selection speech is not covered by a complete native implementation/test path. Leaving open for the platform bridge.

  4. houko commented on Nov 23, 2026

    @houko
    Collaborator

    Current main implements web-page selection speech on both Windows and Linux. Windows evaluates menuspeech.WebSelection through WebView2 and decodes the tagged result before speaking; Linux uses WebKitGTK's asynchronous JavaScript evaluation with the same stale-request and navigation guards. Backend tests cover selection and whole-page fallback for fields, plus the web selection result decoding path. Closing this issue as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions