WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
148549
Web Inspector: Rendering Frame tasks making up < 1% of the selection don't appear in the pie chart
https://bugs.webkit.org/show_bug.cgi?id=148549
Summary
Web Inspector: Rendering Frame tasks making up < 1% of the selection don't ap...
Matt Baker
Reported
2015-08-27 17:44:48 PDT
Created
attachment 260101
[details]
[Image] Barely visible Layout slice * SUMMARY Rendering Frame tasks making up < 1% of the selection don't appear in the pie chart. A minimum segment percentage should be established to avoid creating sub-pixel chart segments.
Attachments
[Image] Barely visible Layout slice
(227.26 KB, image/png)
2015-08-27 17:44 PDT
,
Matt Baker
no flags
Details
[Patch] Proposed Fix
(3.69 KB, patch)
2015-08-30 12:11 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
[Image] New chart behavior
(68.64 KB, image/png)
2015-08-30 12:13 PDT
,
Matt Baker
no flags
Details
[Image] Minimum slice sizes: 1% and 1.5%
(66.53 KB, image/png)
2015-08-31 11:33 PDT
,
Matt Baker
no flags
Details
[Patch] Proposed Fix
(3.69 KB, patch)
2015-08-31 11:52 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-08-27 17:45:39 PDT
<
rdar://problem/22467802
>
Matt Baker
Comment 2
2015-08-30 12:11:04 PDT
Created
attachment 260250
[details]
[Patch] Proposed Fix
Matt Baker
Comment 3
2015-08-30 12:13:03 PDT
Created
attachment 260251
[details]
[Image] New chart behavior Debugging data shown in legend items not included in patch.
Timothy Hatcher
Comment 4
2015-08-31 11:06:36 PDT
Comment on
attachment 260250
[details]
[Patch] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=260250&action=review
> Source/WebInspectorUI/UserInterface/Views/ChartDetailsSectionRow.js:322 > + // Balance item values so that all non-zero chart segments are visible. > + const minimumDisplayValue = this._total * 0.02;
Why not 1%? 2% seems a little big for a minimum to me.
Matt Baker
Comment 5
2015-08-31 11:33:42 PDT
Created
attachment 260298
[details]
[Image] Minimum slice sizes: 1% and 1.5% Layout data point (less than 1% of total selection) drawn at 1% and 1.5%.
Matt Baker
Comment 6
2015-08-31 11:36:07 PDT
(In reply to
comment #4
)
> Comment on
attachment 260250
[details]
> [Patch] Proposed Fix > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=260250&action=review
> > > Source/WebInspectorUI/UserInterface/Views/ChartDetailsSectionRow.js:322 > > + // Balance item values so that all non-zero chart segments are visible. > > + const minimumDisplayValue = this._total * 0.02; > > Why not 1%? 2% seems a little big for a minimum to me.
I think 1% is difficult to see, especially with the light stroke around pie slices. The difference between 1, 1.5. and 2% is subtle, but I think it looks better at 1.5 or 2. See previous attachment.
Matt Baker
Comment 7
2015-08-31 11:52:24 PDT
Created
attachment 260303
[details]
[Patch] Proposed Fix
WebKit Commit Bot
Comment 8
2015-08-31 13:58:11 PDT
Comment on
attachment 260303
[details]
[Patch] Proposed Fix Clearing flags on attachment: 260303 Committed
r189183
: <
http://trac.webkit.org/changeset/189183
>
WebKit Commit Bot
Comment 9
2015-08-31 13:58:14 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.
Top of Page
Format For Printing
XML
Clone This Bug