RESOLVED FIXED Bug 194365
Web Inspector: Timelines: clicking on an empty space in the overview should deselect any selected record bar
https://bugs.webkit.org/show_bug.cgi?id=194365
Summary Web Inspector: Timelines: clicking on an empty space in the overview should d...
Devin Rousso
Reported 2019-02-06 15:55:45 PST
Once a record becomes selected, it's basically impossible to deselect it. We should provide a way to deselect that makes sense.
Attachments
Patch (9.88 KB, patch)
2019-02-07 11:57 PST, Devin Rousso
no flags
Radar WebKit Bug Importer
Comment 1 2019-02-06 15:56:06 PST
Radar WebKit Bug Importer
Comment 2 2019-02-06 15:56:17 PST
Devin Rousso
Comment 3 2019-02-07 11:51:04 PST
Devin Rousso
Comment 4 2019-02-07 11:57:33 PST
Joseph Pecoraro
Comment 5 2019-02-11 12:36:44 PST
Comment on attachment 361425 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=361425&action=review r=me > Source/WebInspectorUI/UserInterface/Views/TimelineRecordBar.js:392 > + // Ensure that the container "click" listener added by `WI.TimelineOverview` isn't called. > + event.__timelineRecordBarClick = true; Can we just stop propagation?
Devin Rousso
Comment 6 2019-02-12 09:56:32 PST
Comment on attachment 361425 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=361425&action=review >> Source/WebInspectorUI/UserInterface/Views/TimelineRecordBar.js:392 >> + event.__timelineRecordBarClick = true; > > Can we just stop propagation? My fear with that is that we'd end up breaking some other functionality with the mouse in Timelines. This approach seems the least likely to cause regressions.
WebKit Commit Bot
Comment 7 2019-02-12 10:22:46 PST
Comment on attachment 361425 [details] Patch Clearing flags on attachment: 361425 Committed r241302: <https://trac.webkit.org/changeset/241302>
WebKit Commit Bot
Comment 8 2019-02-12 10:22:47 PST
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.