Closed Bug 1909307 Opened 2 months ago Closed 2 months ago

The "Paused on debugger statement" moves around

Categories

(DevTools :: Debugger, defect, P3)

Firefox 129
defect

Tracking

(firefox130 fixed)

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: johnt519, Assigned: nchevobbe)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0

Steps to reproduce:

When debugging Javascript code and hitting a "debugger" statement, the popup box showing the statement "Paused on debugger statement" shows up, along with a "Step" and "Run" button. When clicking the "Step" button, the popup now shows "Paused when stepping", causing the "Step" and "Run" buttons to move. If the user just clicks, the "Run" button is now under the cursor, and the code runs. The "Step" button should stay under the cursor.

Actual results:

See above. Buttons in the debugger popup move around, causing incorrect clicks (Run, instead of Step)

Expected results:

The buttons should NOT move around. I understand the popup is "Centered" but moving around causes unexpected running of code when expecting just a single step.

The Bugbug bot thinks this bug should belong to the 'DevTools::Debugger' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Debugger
Product: Firefox → DevTools
Type: enhancement → defect

Several options:

  • We can have a fixed size for the labels, and make the text wrap.
  • Or we can split in two boxes on top of each other: one for the label, one for buttons
  • Or use the same label in both cases (same as Chrome)
Severity: -- → S3
Priority: -- → P3

This way the overlay doesn't jump around when stepping.

Assignee: nobody → nchevobbe
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c56067a4f8ba [devtools] Always show the same label in Debugger paused overlay. r=devtools-reviewers,ochameau,fluent-reviewers.
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: