Bug 83362 - Web Inspector: hide popover on mouseout from anchor
Summary: Web Inspector: hide popover on mouseout from anchor
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Andrey Kosyakov
Depends on:
Reported: 2012-04-06 05:21 PDT by Andrey Kosyakov
Modified: 2012-04-06 05:50 PDT (History)
10 users (show)

See Also:

Patch (3.20 KB, patch)
2012-04-06 05:22 PDT, Andrey Kosyakov
no flags Details | Formatted Diff | Diff
Patch (3.52 KB, patch)
2012-04-06 05:39 PDT, Andrey Kosyakov
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kosyakov 2012-04-06 05:21:38 PDT
We used to (delayed) hide popover upon mousemove, if mouse left the anchor. We wouldn't receive mousemove, though, if the mouse is moved outside of the panel element -- so add listener for mouseout as well.
Comment 1 Andrey Kosyakov 2012-04-06 05:22:37 PDT
Created attachment 136007 [details]
Comment 2 Pavel Feldman 2012-04-06 05:27:29 PDT
Comment on attachment 136007 [details]

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

> Source/WebCore/ChangeLog:8
> +        * inspector/front-end/Popover.js:

Please explain what has happened and why.

> Source/WebCore/inspector/front-end/Popover.js:256
> +        this._hidePopoverTimer = setTimeout(doHide, this._timeout / 2);

just bind it
Comment 3 Andrey Kosyakov 2012-04-06 05:39:10 PDT
Created attachment 136008 [details]
Comment 4 Andrey Kosyakov 2012-04-06 05:50:27 PDT
Committed r113428: <http://trac.webkit.org/changeset/113428>