Bug 290257

Summary: REGRESSION(288559@main) [GTK] webkit_editor_state_is_copy_available true in absence of selection
Product: WebKit Reporter: Jim Mason <jmason>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bugs-noreply, mcatanzaro, ntim, rniwa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=285908
https://bugs.webkit.org/show_bug.cgi?id=156529

Jim Mason
Reported 2025-03-22 08:37:25 PDT
`webkit_editor_state_is_copy_available` is returning true on a web page in absence of a selection. This API is being used by the browser to control appearance of the 'Copy' action in the context menu. As a result, Copy is now appearing when it is not expected. Previously, this API returned true and hence Copy appeared only if there was something to copy. Reverting 288559@main clears the issue. See also Bug 285908
Attachments
Ryosuke Niwa
Comment 1 2025-03-24 09:24:44 PDT
Hm... I guess this function needs to check the selection now that we enable copy everywhere.
Note You need to log in before you can comment on or make changes to this bug.