RESOLVED FIXED Bug 191553
Web Inspector: Canvas: don't start with auto-capture enabled
https://bugs.webkit.org/show_bug.cgi?id=191553
Summary Web Inspector: Canvas: don't start with auto-capture enabled
Devin Rousso
Reported 2018-11-12 10:45:53 PST
If the user has previously turned off auto-capture but still had a non-zero frame count, opening the Canvas tab shouldn't re-enable auto-capture.
Attachments
Patch (1.78 KB, patch)
2018-11-12 10:48 PST, Devin Rousso
no flags
Patch (4.18 KB, patch)
2018-11-14 03:23 PST, Devin Rousso
no flags
Devin Rousso
Comment 1 2018-11-12 10:48:27 PST
Matt Baker
Comment 2 2018-11-12 11:55:35 PST
Comment on attachment 354569 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=354569&action=review r=me > Source/WebInspectorUI/UserInterface/Views/CanvasOverviewContentView.js:226 > this._recordingAutoCaptureFrameCountInputElement.style.setProperty("width", (textMetrics.width + 8) + "px"); Out of curiosity, where does the 8px come from? It looks like it comes from canvasOverviewContentView.css:184: .navigation-bar > .item.canvas-recording-auto-capture > label > input { width: 1.5em; min-width: 1.5em; margin: 0 4px; text-align: center; } If so this should be a const, with a comment warning to keep it in sync with the stylesheet. I know this is off topic for this patch, but I noticed it while reading the file for context.
Devin Rousso
Comment 3 2018-11-14 03:23:13 PST
WebKit Commit Bot
Comment 4 2018-11-14 04:01:39 PST
Comment on attachment 354791 [details] Patch Clearing flags on attachment: 354791 Committed r238169: <https://trac.webkit.org/changeset/238169>
WebKit Commit Bot
Comment 5 2018-11-14 04:01:40 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2018-11-14 04:02:37 PST
Note You need to log in before you can comment on or make changes to this bug.