WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
195594
Web Inspector: Timelines - Improve handling of past recordings (readonly)
https://bugs.webkit.org/show_bug.cgi?id=195594
Summary
Web Inspector: Timelines - Improve handling of past recordings (readonly)
Joseph Pecoraro
Reported
2019-03-11 18:20:41 PDT
Timelines - Improve handling of past recordings (readonly) Steps to Reproduce: 1. Inspect a page 2. Show Timelines tab 3. Reload + stop recording => Timeline Recording 1 4. Reload + stop recording => Timeline Recording 2 5. Switch to Timeline Recording 1 => Usability issues Issue: • Ability to start a recording continues this readonly recording... should probably not • Ability to clear recording with Cmd+K keyboard shortcut (button was disabled)
Attachments
[PATCH] Proposed Fix
(2.85 KB, patch)
2019-03-11 18:22 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2019-03-11 18:22:40 PDT
Created
attachment 364330
[details]
[PATCH] Proposed Fix
Devin Rousso
Comment 2
2019-03-11 19:09:47 PDT
Comment on
attachment 364330
[details]
[PATCH] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=364330&action=review
rs=me
> Source/WebInspectorUI/UserInterface/Views/TimelineTabContentView.js:487 > + if (WI.timelineManager.activeRecording.readonly) > + shouldCreateNewRecording = true;
Should we also change the tooltip of the record button to remove the non-`shouldCreateNewRecording` text? e.g. `"Start recording (%s)\nCreate new recording (%s)"` becomes `"Create new recording (%s)"` when the active recording is readonly (and vice versa).
Joseph Pecoraro
Comment 3
2019-03-11 23:43:45 PDT
(In reply to Devin Rousso from
comment #2
)
> Comment on
attachment 364330
[details]
> [PATCH] Proposed Fix > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=364330&action=review
> > rs=me > > > Source/WebInspectorUI/UserInterface/Views/TimelineTabContentView.js:487 > > + if (WI.timelineManager.activeRecording.readonly) > > + shouldCreateNewRecording = true; > > Should we also change the tooltip of the record button to remove the > non-`shouldCreateNewRecording` text? e.g. `"Start recording (%s)\nCreate > new recording (%s)"` becomes `"Create new recording (%s)"` when the active > recording is readonly (and vice versa).
Naw, I don't think this is common enough to warrant it. I think the current tooltip is still reasonably accurate even in the readonly case, it will start a recording!
WebKit Commit Bot
Comment 4
2019-03-12 00:11:03 PDT
Comment on
attachment 364330
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 364330 Committed
r242785
: <
https://trac.webkit.org/changeset/242785
>
WebKit Commit Bot
Comment 5
2019-03-12 00:11:05 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6
2019-03-12 00:12:17 PDT
<
rdar://problem/48799997
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug