Closed Bug 1551418 Opened 6 years ago Closed 4 years ago

The code folding icons flicker/disappear in the debugger gutter

Categories

(DevTools :: Debugger, enhancement, P5)

enhancement

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: pbro, Assigned: wenincode)

References

(Blocks 2 open bugs)

Details

(Keywords: good-first-bug)

Steps to reproduce:

  • Set the pref devtools.debugger.features.code-folding to true in about:config
  • Open any page that has javascript running
  • Open the debugger
  • Move your mouse around the gutter area (where the line numbers are displayed)

Expected: the code folding arrows should behave normally.
Actual: the arrows are flickering when moving the cursor in the gutter and disappear when the mouse is not moving.

See the screencast: https://imgur.com/a/hbENqve

This was noticed by Karl while testing bug 1233332.
Tested in 68.0a1 (2019-05-13) (64-bit) on macOS 10.14.

Priority: -- → P3

Looking at this now; the flicker occurs because CodeMirror's HTML structure is a bit unfriendly. I'm looking at this now.

Assignee: nobody → dwalsh
Status: NEW → ASSIGNED
Priority: P3 → P5
Whiteboard: [debugger-mvp]

As a good compromise, I think we can stop trying to use JS + CSS tricks to only show upon hover, simply always show the gutter folding.

Assignee: dwalsh → nobody
Status: ASSIGNED → NEW
Keywords: good-first-bug
Whiteboard: [debugger-mvp]
Type: defect → enhancement

I can take a crack at this. It's been a while so I wouldn't mind starting with something smaller.

Sure. That'd be great. Fair warning, the css is tricky.

Assignee: nobody → tyler
Blocks: 1565711
Blocks: 1565713
No longer blocks: 1565711
No longer blocks: 1565713

Hi everyone,

Is this still an issue? I wasn't able to reproduce this bug on my build of Nightly, built on 1/29/2020 and tested on 64-bit Windows 10. Here is a screencast of what I saw: https://streamable.com/glkh8

Best,
Abhi

Depends on: 1631975

I can't reproduce this anymore, closing.

Honza

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.