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: | WebKitGTK | Assignee: | 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
`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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Hm... I guess this function needs to check the selection now that we enable copy everywhere.