Bug 151872

Summary: Web Inspector: debugger popover sometimes incorrectly reuses previous position when hovering a new token
Product: WebKit Reporter: BJ Burg <bburg>
Component: Web InspectorAssignee: Nikita Vasilyev <nvasilyev>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bburg, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[Video] exploring which cases are buggy
none
[Animated GIF] Works as expected none

Description BJ Burg 2015-12-04 10:28:05 PST
STEPS TO REPRODUCE:

1. Set a breakpoint and pause somewhere
2. Hover over a token to show the popover
3. Without mousing over the popover, quickly move to highlight a different token


EXPECTED:

 - Popover repositions with a short animation

ACTUAL:

 - Popover's previous position and size is reused



NOTES:

This is especially annoying when the previous position is very small and the new size should be very large. See the attached video.
Comment 1 Radar WebKit Bug Importer 2015-12-04 10:28:21 PST
<rdar://problem/23762531>
Comment 2 BJ Burg 2015-12-04 10:34:09 PST
Created attachment 266640 [details]
[Video] exploring which cases are buggy
Comment 3 BJ Burg 2015-12-04 10:35:17 PST
It seems that when the popover direction (i.e., position of bubble relative to token) is the same between two hovers, the position and size are reused. If the direction differs, the popover is correctly repositioned.
Comment 4 Matt Baker 2015-12-04 13:24:09 PST
This seems related to https://bugs.webkit.org/show_bug.cgi?id=150551.
Comment 5 BJ Burg 2016-05-30 12:20:08 PDT
*** Bug 152209 has been marked as a duplicate of this bug. ***
Comment 6 Nikita Vasilyev 2016-06-13 15:34:05 PDT
Created attachment 281210 [details]
[Animated GIF] Works as expected

I can no longer reproduce this bug.
Comment 7 Nikita Vasilyev 2016-06-13 15:34:53 PDT
Please reopen if it's still happening to you.