Closed Bug 1553859 Opened 6 years ago Closed 5 years ago

Paused line jumps in the debugger editor on scroll

Categories

(DevTools :: Debugger, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1562249

People

(Reporter: jarilvalenciano, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image jumpycolumnbreakpoints.gif (deleted) —

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36

Steps to reproduce:

  1. Open http://todomvc.com/examples/backbone/
  2. Place a breakpoint on line 34
  3. Add a to-do item and wait for the debugger to pause
  4. Make the editor size small enough that you can scroll horizontally
  5. Scroll horizontally while the paused line is in the editor

Actual results:

The column breakpoints unrenders as it approaches the editor's left side. This shifts the position of the paused line's tokens, giving the appearance of "jumpiness".

Expected results:

It shouldn't shift the positions of the paused line's tokens.

Component: Untriaged → Debugger
Product: Firefox → DevTools

Jaril, can you think of a good solution for this? I feel like it is something we have to do in order to have the performance we want.

We can pad the calculations for viewport and add column breakpoints to locations not in viewport. I would be a slight perf hit bu would cut down on perceived jank.

aren't we already padding?

The priority flag is not set for this bug.
:jlast, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jlaster)
Flags: needinfo?(jlaster)
Priority: -- → P5
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Blocks: 1565711
Blocks: 1565713
No longer blocks: 1565711
No longer blocks: 1565713
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: