Closed Bug 1202507 Opened 9 years ago Closed 5 years ago

Collapsing the panel with search results in Debugger by click on code area moves target element from under the mouse cursor

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(firefox43 affected)

RESOLVED FIXED
Tracking Status
firefox43 --- affected

People

(Reporter: arni2033, Unassigned)

References

()

Details

STR:   (Win7_64, Nightly 43, 32bit, ID 20150901030226, new profile, safe mode)
1. Open this "data:" url in new tab or click URL field in form above
data:text/html,<body onclick="console.log(this)">
2. Open Inspector, click (ev) button near <body> element
3. Click debugger button in event listeners tooltip (to open the file in debugger)
4. Type "!onclick" in debugger's search field [panel with search results will appear]
5. Move mouse over "body" in code area (NOT in the panel with search results)
6. [don't move mouse] DoubleClick left mouse button to select word "body"

Result:       The panel with search results collapsed and word "body" isn't selected
Expectations: Word "body" should be selected.

By the way, the same happens when you try to select text with mouse or open context menu

Possible solutions - (A) or (B):
   A) Allow additional area *above* 1st line in code area, just like GoogleChrome debugger ("Sources" tab allows additional area *below* last line in code area). So that when panel with search results collapses, text in code area didn't move.
   B) Display the panel with search results *below* the code area
(C) Create close button for search panel in debugger and remove autohide mechanism (see bug 1204138)
See Also: → 1204138
Has STR: --- → yes
See Also: → 1204142
Product: Firefox → DevTools

this relates to the old debugger

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