Bug 151872 - Web Inspector: debugger popover sometimes incorrectly reuses previous position when hovering a new token
Summary: Web Inspector: debugger popover sometimes incorrectly reuses previous positio...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
URL:
Keywords: InRadar
: 152209 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-12-04 10:28 PST by BJ Burg
Modified: 2016-06-13 15:34 PDT (History)
7 users (show)

See Also:


Attachments
[Video] exploring which cases are buggy (deleted)
2015-12-04 10:34 PST, BJ Burg
no flags Details
[Animated GIF] Works as expected (1.26 MB, image/gif)
2016-06-13 15:34 PDT, Nikita Vasilyev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.