Closed Bug 1963035 Opened 8 months ago Closed 7 months ago

Retain inspection highlight during screenshot capture.

Categories

(DevTools :: General, enhancement, P3)

Firefox 137
x86_64
Linux
enhancement

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: zn7esutb, Unassigned)

Details

Attachments

(4 files)

Steps to reproduce

  1. Inspect an element.

  2. Hover over the corresponding DOM entry to highlight it within the viewport.

  3. Invoke "Control" + "Shift" + "S" to invoke the screenshot manager.

  4. Attempt to capture the screenshot.

Actual results

The highlight disappears when the mouse moves off the DOM entry to capture the screenshot.

Expected results

It should remain.

Moving to devtools.

Component: Screenshots → General
Product: Firefox → DevTools

Moving to devtools.

On that note, this actually appears to function if one utilises the Developer Tools screenshot utility instead. However, ascertaining how to reproduce it has been difficult.

Is this an unexpected discrepancy, or potentially useful functionality? I presume that depends upon how both are implemented – whether they should share more code.

Attached image Current Workaround

I suggest to use the highlight button (dotted square) button next to the element selector in the ruleview to achieve the same.

This will work with the regular Firefox screenshot feature.

Hi there,

See suggestion above, let us know if that helps.

Flags: needinfo?(zn7esutb)
Priority: -- → P3

Comment on attachment 9492972 [details]
Current Workaround

I suggest to use the highlight button (dotted square) button next to the element selector in the ruleview to achieve the same.

Thanks: that works for me. It's slightly less intuitive, but more powerful, and similarly convenient. Should we close this ticket?

Attachment #9492972 - Attachment description: image.png → Current Workaround
Flags: needinfo?(zn7esutb) → needinfo?(odvarko)

Great! Yes I think we can close it.

Status: NEW → RESOLVED
Closed: 7 months ago
Flags: needinfo?(odvarko)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: