Bug 237815 - [macOS] Tooltip no longer disappears after leaving hovered element
Summary: [macOS] Tooltip no longer disappears after leaving hovered element
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-12 21:00 PST by Wenson Hsieh
Modified: 2022-03-15 07:26 PDT (History)
6 users (show)

See Also:


Attachments
Patch (5.89 KB, patch)
2022-03-12 21:43 PST, Wenson Hsieh
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Fix debug builds (7.29 KB, patch)
2022-03-12 22:23 PST, Wenson Hsieh
no flags Details | Formatted Diff | Diff
Patch (11.50 KB, patch)
2022-03-14 16:18 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2022-03-12 21:00:46 PST
rdar://90187247
Comment 1 Wenson Hsieh 2022-03-12 21:43:54 PST
Created attachment 454547 [details]
Patch
Comment 2 Wenson Hsieh 2022-03-12 22:23:59 PST
Created attachment 454550 [details]
Fix debug builds
Comment 3 Alexey Proskuryakov 2022-03-14 13:46:06 PDT
Comment on attachment 454550 [details]
Fix debug builds

View in context: https://bugs.webkit.org/attachment.cgi?id=454550&action=review

> Source/WebKit/ChangeLog:9
> +        On certain versions of macOS, AppKit's tooltip management system installs tracking areas (NSTrackingArea) using

Do we need to do anything in Legacy WebKit for this? I don't know much about NSTrackingAreas, but I know that there is code for those in WebHTMLView.mm.
Comment 4 Wenson Hsieh 2022-03-14 13:59:20 PDT
Comment on attachment 454550 [details]
Fix debug builds

(In reply to Alexey Proskuryakov from comment #3)
> Comment on attachment 454550 [details]
> Fix debug builds
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=454550&action=review
> 
> > Source/WebKit/ChangeLog:9
> > +        On certain versions of macOS, AppKit's tooltip management system installs tracking areas (NSTrackingArea) using
> 
> Do we need to do anything in Legacy WebKit for this? I don't know much about
> NSTrackingAreas, but I know that there is code for those in WebHTMLView.mm.

Good catch — confirmed that the same bug repros in WK1 as well. I suppose I'll fix both in this same patch.
Comment 5 Wenson Hsieh 2022-03-14 16:18:19 PDT
Created attachment 454634 [details]
Patch
Comment 6 Wenson Hsieh 2022-03-15 06:47:59 PDT
Comment on attachment 454634 [details]
Patch

Thanks for the review!
Comment 7 EWS 2022-03-15 07:26:47 PDT
Committed r291287 (248426@main): <https://commits.webkit.org/248426@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 454634 [details].