Open Bug 1286812 Opened 5 years ago Updated 3 years ago

'Expand all' context menu option is enabled although no nodes are collapsed

Categories

(DevTools :: Inspector, defect, P3)

defect

Tracking

(firefox47 affected, firefox48 affected, firefox49 affected, firefox50 affected)

Tracking Status
firefox47 --- affected
firefox48 --- affected
firefox49 --- affected
firefox50 --- affected

People

(Reporter: adalucinet, Unassigned)

Details

[Affected versions]:
- 47.0.1 (Build ID: 20160623154057)
- 48 beta 7 (Build ID: 20160711002726)
- latest Dev Edition 49.0a2
- latest Nightly 50.0a1

[Affected platforms]:
- Windows 10 64-bit
- Ubuntu 16.04 64-bit
- Mac OS X 10.11.1

[Steps to reproduce]:
1. Launch Firefox.
2. Open Inspector: Ctrl + Shift + C (for Windows & Ubuntu) or Cmd + Opt + C (for Mac OS X)
3. Right click on any node.
4. Select 'Expand all' context menu option.
5. Right click on the same node.

[Expected result]: 'Expand all' option is disabled.

[Actual result]: 'Expand all' option is enabled.

[Regression range]: 
- Reproducible also with 45.0a1 from 2015-12-01 → i guess this is a long standing issue.

[Additional notes]:
- Screen recording: https://goo.gl/jEy52G
- 'Collapse' option is disable when no nodes are expanded.
This has always been the case. The expand-all menu item is only ever disabled if the node has no children.
I think we did this because there isn't an easy way for us to check on the client-side that a given node has all of its descendants expanded.
Priority: -- → P3
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.