Bug 83870

Summary: Web Inspector: timeline. Range selection works incorrect with right click
Product: WebKit Reporter: Ilya Tikhonovsky <loislo>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch pfeldman: review+

Description Ilya Tikhonovsky 2012-04-13 01:41:03 PDT
Scenario:
1) record some data
2) right click at some place (context menu appears)
3) left click in another place (context menu disappears and range selection mode enables)
4) move mouse
5) do left click 

a small range will be selected at last click position.
Range selection background left on the pane.
Comment 1 Andrey Kosyakov 2012-04-13 15:00:23 PDT
Created attachment 137158 [details]
Patch
Comment 2 Pavel Feldman 2012-04-16 04:49:05 PDT
Comment on attachment 137158 [details]
Patch

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

> Source/WebCore/inspector/front-end/TimelineOverviewPane.js:473
> +        if (event.button !== 0)

We don't compare to 0.
Comment 3 Andrey Kosyakov 2012-04-16 10:25:53 PDT
Committed r114272: <http://trac.webkit.org/changeset/114272>