Closed Bug 1770766 Opened 2 years ago Closed 2 years ago

Profiler's marker chart rendering is broken by bug 1770088

Categories

(Core :: Graphics: Canvas2D, defect)

defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox100 --- unaffected
firefox101 --- unaffected
firefox102 --- fixed

People

(Reporter: julienw, Assigned: lsalzman)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files, 1 obsolete file)

STR:

  1. Open https://profiler.firefox.com/public/dss4w1ezqaacmneaar26h980xqwap22eskcd3j0/marker-chart/?globalTrackOrder=021&hiddenGlobalTracks=0&localTrackOrderByPid=2981406-120~3012339-01&thread=2&timelineType=cpu-category&v=6
  2. Hover on some markers.

=> Notice how their borders aren't rendered anymore.
Actually it looks like the border is already wrong on the hover (isHighlighted case in the code below).

mozregression pointed to bug 1770088.

The code responsible for these drawings is https://github.com/firefox-devtools/profiler/blob/fe13f1f5e9d2205b2b6bde46d3080e7be3d277e0/src/components/marker-chart/Canvas.js#L303-L320

What's confusing to me is that this works well for the first rendering.

Set release status flags based on info from the regressing bug 1770088

:lsalzman, since you are the author of the regressor, bug 1770088, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(lsalzman)

Can you post a screenshot? It seems to be working fine here when I try.

Flags: needinfo?(lsalzman) → needinfo?(felash)
Severity: -- → S3

You can see what's happening for me in this video.

Flags: needinfo?(felash)
Attached file about:support (obsolete) —
Attached file about-support.json
Attachment #9277813 - Attachment is obsolete: true

Okay, I can confirm that this is happening seemingly only at 100% scale, wherein accelerated line drawing gets done that is somehow buggy...

Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Has Regression Range: --- → yes
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/63964e5c364d
Use native AA only for native lines in DrawTargetWebgl. r=aosmond,gfx-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: