Closed Bug 1832081 Opened 2 years ago Closed 2 years ago

File Icons in Sources tree update when file is selected

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox-esr102 unaffected, firefox113 unaffected, firefox114 wontfix, firefox115 verified, firefox116 verified)

VERIFIED FIXED
115 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox113 --- unaffected
firefox114 --- wontfix
firefox115 --- verified
firefox116 --- verified

People

(Reporter: nchevobbe, Assigned: ochameau)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

  1. Go to https://fx-devtools-codemirror5-long-lines.glitch.me/
  2. Open the debugger
  3. Select longline.js in the sources tree
  4. Wait a bit, all the icon for the visible files are updated to the react icon
  5. Select script.js in the sources tree

-> All the icon for the visible files are updated back to the JS icon

(See screencast attached)

mozregression points to Bug 1814177

Keywords: regression
Regressed by: 1814177

Set release status flags based on info from the regressing bug 1814177

Assignee: nobody → poirot.alex
Severity: -- → S3
Status: NEW → ASSIGNED
Priority: -- → P3

Prevent using the exact same icon for all sources matching the currently selected one,
instead make it specific to each displayed source.

Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fa170b66896e [devtools] Fix SourceTree icons always matching the currently selected source. r=devtools-reviewers,nchevobbe
Pushed by nfay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0677372d9a86 [devtools] Fix SourceTree icons always matching the currently selected source. r=devtools-reviewers,nchevobbe

Push has been relanded after finding the real culprit.

Flags: needinfo?(poirot.alex)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch

The patch landed in nightly and beta is affected.
:ochameau, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox114 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(poirot.alex)
Flags: needinfo?(poirot.alex)
Flags: qe-verify+

Reproducible on a 2023-05-09 Nightly build on Windows 10.
Verified as fixed on Firefox 115.0b4(build ID: 20230611180300) and Nightly 116.0a1(build ID: 20230612211509) on Windows 10, macOS 12, Ubuntu 22.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: