Bug 145084

Summary: Web Inspector: Timeline data grid displays wrong records after switching between Timelines/Frames mode
Product: WebKit Reporter: Matt Baker <mattbaker>
Component: Web InspectorAssignee: Matt Baker <mattbaker>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[Patch] Proposed Fix none

Matt Baker
Reported 2015-05-15 17:28:12 PDT
* SUMMARY Timeline data grid displays wrong records after switching between Timelines/Frames mode. The selected region of the graph is correct after switching between the two view modes. It looks like the data grid is using the selection from the wrong timeline ruler. * STEPS TO REPRODUCE 1. Open Inspector, record some timeline data 2. Make a selection in the Timelines overview graph 3. Switch to the Rendering Frames view 4. Make a selection in the Rendering Frames overview graph 5. Switch back to the Timelines view => The graph selection is restored correctly, but the grid shows the wrong records (or no records).
Attachments
[Patch] Proposed Fix (3.27 KB, patch)
2015-05-15 18:19 PDT, Matt Baker
no flags
Radar WebKit Bug Importer
Comment 1 2015-05-15 17:28:25 PDT
Matt Baker
Comment 2 2015-05-15 18:19:32 PDT
Created attachment 253251 [details] [Patch] Proposed Fix
Joseph Pecoraro
Comment 3 2015-05-15 19:48:29 PDT
Comment on attachment 253251 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=253251&action=review r=me, nice! > Source/WebInspectorUI/ChangeLog:14 > + (WebInspector.TimelineSidebarPanel.prototype.treeElementForRepresentedObject.get if.get if): > + (WebInspector.TimelineSidebarPanel.get else): > + (WebInspector.TimelineSidebarPanel.prototype.treeElementForRepresentedObject.get if): > + (WebInspector.TimelineSidebarPanel.prototype.treeElementForRepresentedObject): Yikes, clean these signatures up a bit before landing if you can. I clearly made some mistake in prepare-ChangeLog's class parsing logic.
WebKit Commit Bot
Comment 4 2015-05-15 20:01:35 PDT
Comment on attachment 253251 [details] [Patch] Proposed Fix Clearing flags on attachment: 253251 Committed r184427: <http://trac.webkit.org/changeset/184427>
WebKit Commit Bot
Comment 5 2015-05-15 20:01:48 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.