Closed Bug 1197496 Opened 9 years ago Closed 7 years ago

Expanded list of properties of the first object in "variables" pane collapses if I do ANYTHING in debugger

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox43 wontfix, firefox46 wontfix, firefox47 wontfix, firefox48 wontfix, firefox49+ wontfix, firefox50 fix-optional, firefox51 fix-optional)

RESOLVED FIXED
Tracking Status
firefox43 --- wontfix
firefox46 --- wontfix
firefox47 --- wontfix
firefox48 --- wontfix
firefox49 + wontfix
firefox50 --- fix-optional
firefox51 --- fix-optional

People

(Reporter: arni2033, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file)

STR:  (Nightly (2015-08-20))
1. Open new tab, open devtools-Inspector
2. Inspect #newtab-customize-button , click (ev) button near that element, and press debugger icon in Event Listeners popup.
3. Add breakpoint on that line. (currently it's line 2385)
4. Click the "Gear" button on new tab opened in Step 1 [Debugger will pause code execution]
5. Click the "Add watch expression" field in Variables tab in Debugger's sidebar [It will open]
6. Click the dropmarker near "this" object

Result:       Dropdown list is opened but then immediately closed. It's NOT HiDPI-specific
Expectations: It should open normally.
(!) I was able to reproduce this with another STR:
5. Click dropmarker near "this" object
6. Click the "Add watch expression" field in Variables tab in Debugger's sidebar [It will open]
7. Click close button in the opened field

I see this issue happening only with "this". I guess it happens with 1st object in the list on that pane
See Also: 1179428, 1197252
Summary: Clicking on dropmarker should still work even if it interrupts typing in the field "Add watch expression" → Expanded list of properties of "this" object collapses if you collapse field below "Add watch expression" (close it or click outside of it)
Has STR: --- → yes
>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160504043118
STR_2:
1. Open attachment 8724506 [details]
2. Open debugger, set breakpoint at line 3, click on page
3. Click dropmarker near "this" object
4. Doubleclick "Add watch expression" 

STR_3:
1. Open attachment 8724506 [details]
2. Open debugger, set breakpoint at line 3, click on page
3. Click dropmarker near "this" object
4. Press F10 to step over

STR_4:
1. Open attachment 8724506 [details]
2. Open debugger, set breakpoint at line 3, click on page
3. Click dropmarker near "this" object
4. Hover mouse over "window" string in line 3 and wait until tooltip will show up

AR:  Drop-down list opened in Step 3 collapses
ER:  It should stay open

This is regression from Firefox 29 (at the same time when ugly Australis arrived). Regression range:
> http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1ad9af3a2ab8&tochange=8b5875dc7e31
Blocks: dbg-frontend
Keywords: regression
Summary: Expanded list of properties of "this" object collapses if you collapse field below "Add watch expression" (close it or click outside of it) → Expanded list of properties of "this" object collapses if I do ANYTHING in debugger
Not a recent regression, and it doesn't look like we have a lot of duplicate reports here. 
Joe, can you help find an owner for this bug from Dev Tools?
I'm hoping that this will be fixed with our devtools.html and debugger.html refactoring, so I think it would be a mistake to assign it specifically right now.
Flags: needinfo?(jwalker)
If in STR 2-4 instead of Step 3 I add several watch expressions and expand each one via dropmarker, then the first watch expression collapses.
This proves the last line in comment 1 (and interferes with debugging process)
Summary: Expanded list of properties of "this" object collapses if I do ANYTHING in debugger → Expanded list of properties of the first object in "variables" pane collapses if I do ANYTHING in debugger
Joe, can you set the tracking flags with wontfix or fix-optional depending on when/how you think we should deal with this?
Flags: needinfo?(jwalker)
At least case #3 is fixed in the new debugger front end.
I don't think watch expressions or hovering are implemented yet
(or at least not yet landed in M-C) so I could not test those.
Marking as P2 since my belief is that those features are in development.
Priority: -- → P2
Closing this as Most of this is fixed with the new debugger. 

The only thing I see missing is that Scopes don't yet have the "sticky open" feature where they are re-expanded after stepping.  That works is being tracked in GitHub here: https://github.com/devtools-html/debugger.html/issues/3269
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
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: