Bug 83955 - Web Inspector: timeline overview selection is not reset when switching the overview mode
Summary: Web Inspector: timeline overview selection is not reset when switching the ov...
Status: RESOLVED INVALID
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
URL:
Keywords:
Depends on:
Blocks: 116924
  Show dependency treegraph
 
Reported: 2012-04-13 16:00 PDT by Andrey Kosyakov
Modified: 2014-12-12 13:07 PST (History)
10 users (show)

See Also:


Attachments
Patch (1.53 KB, patch)
2012-04-13 16:02 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-13 16:00:41 PDT
0. Open Inspector, switch to timeline panel
1. Start record
2. Record some events
3. Stop record
4. Select some events in the overview
5. Switch to vertical overview mode
6. Observe selection window did not change.

Preserving selection window when switching between vertical/horizontal overview modes does not make sense, since these use different time scales.
Comment 1 Andrey Kosyakov 2012-04-13 16:02:08 PDT
Created attachment 137171 [details]
Patch
Comment 2 Pavel Feldman 2012-04-16 04:49:51 PDT
Comment on attachment 137171 [details]
Patch

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

> Source/WebCore/inspector/front-end/TimelineOverviewPane.js:177
> +        this._reset();

Could you instead try preserving the first and the last records in the window.