Closed
Bug 1144034
Opened 10 years ago
Closed 10 years ago
Flamegraph text is barely readable on non-retina display
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect, P1)
DevTools
Performance Tools (Profiler/Timeline)
Tracking
(firefox40 verified, firefox41 fixed)
VERIFIED
FIXED
Firefox 41
People
(Reporter: paul, Assigned: vporof)
References
Details
(Whiteboard: [polish-backlog])
Attachments
(3 files, 1 obsolete file)
53.64 KB,
image/png
|
Details | |
176.26 KB,
image/png
|
Details | |
20.99 KB,
patch
|
vporof
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(tested with Windows)
Assignee | ||
Comment 1•10 years ago
|
||
A screenshot would really help.
Comment 2•10 years ago
|
||
Yeah, this looks pretty terrible on Windows.
I think the theme switching support regressed this.
It should use the message-box font.
Updated•10 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Assignee | ||
Comment 3•10 years ago
|
||
My eyes are literally dying. </insidejoke>
Assignee | ||
Updated•10 years ago
|
Comment 5•10 years ago
|
||
Also true on OS X, copying my screenshot form the other bug.
Comment 6•10 years ago
|
||
With the landing of bug 1121180, which increased the font size, block height, and changed the background colors, is this looking better? In m-c, or probably tomorrow's nightly.
Comment hidden (typo) |
Comment 8•10 years ago
|
||
Looking at the screenshots again I think the DPI used is backwards,I have half the amount of blocks vertically on my retina.
Comment hidden (typo) |
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P1
Comment 10•10 years ago
|
||
Victor, marking this for devedition 40. It's quite painful on non-retina screens, where is this in your queue?
Flags: needinfo?(vporof)
Whiteboard: [devedition-40]
Assignee | ||
Comment 12•10 years ago
|
||
Attachment #8604693 -
Flags: review?(jsantell)
Comment 13•10 years ago
|
||
Comment on attachment 8604693 [details] [diff] [review]
flame-font-non-retina.patch
Review of attachment 8604693 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/shared/widgets/FlameGraph.js
@@ +42,3 @@
> const FLAME_GRAPH_BLOCK_BORDER = 1; // px
> +const FLAME_GRAPH_BLOCK_TEXT_FONT_SIZE = 10; // px
> +const FLAME_GRAPH_BLOCK_TEXT_FONT_FAMILY = "Helvetica Neue, Helvetica, sans-serif";
Windows ? :(
Assignee | ||
Comment 14•10 years ago
|
||
Helvetica exists on windows by default no?
Assignee | ||
Comment 15•10 years ago
|
||
Probably safe to add Arial there though.
Comment 16•10 years ago
|
||
(In reply to Victor Porof [:vporof][:vp] from comment #15)
> Probably safe to add Arial there though.
The font: message-box shorthand works fine for all platforms.
You could fallback to Segoe UI otherwise.
Assignee | ||
Comment 17•10 years ago
|
||
(In reply to Tim Nguyen [:ntim] (limited availability) from comment #16)
>
> The font: message-box shorthand works fine for all platforms.
Does it look good though?
Comment 18•10 years ago
|
||
Comment on attachment 8604693 [details] [diff] [review]
flame-font-non-retina.patch
Review of attachment 8604693 [details] [diff] [review]:
-----------------------------------------------------------------
This will most def require updates to tests.
On my I M A C the blocks are more easy to read, but still quite hard just because of the kerning. Maybe there's some other solution where we change the size based on res, and still let the user change the block size, because this one will be tricky to have look good in all scenarios, I think. Or we can go even bigger, because the user can always scroll up/down on the flames, but they can't increase the "zoom" [currently anyway].
With the brightness/opacity changes (esp in dark theme), the blocks are too dark/hard to distinguish from differences in colors between each other -- would prefer the older brightness/opacity, as I don't think that this improves readability (I think the contrast is more stark now too, making it a bit hard to read)
With tests passing, a revert to the opacity/brightness unless there's strong feelings otherwise, and see if making the blocks even bigger helps, like 1.25x what is here, r+.
We should try and get f+ from someone on linux/windows.
Attachment #8604693 -
Flags: review?(jsantell) → review+
Assignee | ||
Comment 19•10 years ago
|
||
(In reply to Jordan Santell [:jsantell] [@jsantell] from comment #18)
> Comment on attachment 8604693 [details] [diff] [review]
>
> With the brightness/opacity changes (esp in dark theme), the blocks are too
> dark/hard to distinguish from differences in colors between each other --
> would prefer the older brightness/opacity, as I don't think that this
> improves readability (I think the contrast is more stark now too, making it
> a bit hard to read)
The old colors were gnarly to my eyes. Meet you in the middle?
Comment 20•10 years ago
|
||
Ya sounds good. Mainly want each block not blending into its neighbor, text legible and not searing sharp (like #fff text on #000). The light colors looked good before but yeah sometimes dark theme got a little too bold..
Assignee | ||
Comment 21•10 years ago
|
||
Fixed tests, addressed comments.
Attachment #8604693 -
Attachment is obsolete: true
Attachment #8607647 -
Flags: review+
Comment 23•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
Updated•10 years ago
|
Blocks: perf-40-uplifts
Updated•10 years ago
|
Flags: qe-verify+
Comment 24•10 years ago
|
||
Comment on attachment 8607647 [details] [diff] [review]
v2
Approval Request Comment
[Feature/regressing bug #]: 1167252, the new performance tool
[User impact if declined]: Won't ship the performance tool
[Describe test coverage new/current, TreeHerder]: There are try pushes in Bug 1167252 with all patches needing uplift
[Risks and why]: Requesting uplift for the accumulated changes in the performance tool since the 40 merge date, so these changes haven't had the full 6 weeks to bake. Risks are generally contained within devtools, specifically within the performance panel.
[String/UUID change made/needed]: None
Attachment #8607647 -
Flags: approval-mozilla-aurora?
Comment 25•10 years ago
|
||
status-firefox40:
--- → fixed
Comment 26•10 years ago
|
||
Note: I had verbal confirmation for these uplifts from Sylvestre even before he's flagged them as a+. See https://bugzilla.mozilla.org/show_bug.cgi?id=1167252#c26
Comment 27•10 years ago
|
||
Comment on attachment 8607647 [details] [diff] [review]
v2
Change approved to skip one train as part of the spring campaign.
Attachment #8607647 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 28•9 years ago
|
||
Verified fixed on Aurora 40.0a2 (2015-06-09) using Windows 7 (x64), Ubuntu 13.10 (x64) and Mac OS X 10.9.5, each environment with non-hidpi displays.
The data available in the "Flame Chart" detail view is now reasonably displayed on non-hidpi displays as well. Also (re)confirmed that the Flame Chart is still displayed properly on a MacBook with Retina (OS X 10.9.5).
Updated•9 years ago
|
Whiteboard: [devedition-40] → [polish-backlog]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•