Closed Bug 1143340 Opened 10 years ago Closed 9 years ago

Expose inspector markup preview setting

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ntim, Unassigned)

Details

Attachments

(2 files)

I think the inspector markup preview setting currently hidden in about:config (devtools.inspector.markupPreview) should be exposed in the devtools options panel. It probably wasn't exposed because the options panel didn't exist at the time this was introduced (bug 793725).
Assignee: nobody → ntim.bugs
Status: NEW → ASSIGNED
Attached patch PatchSplinter Review
The label tooltip is probably terrible, but I had no better idea.
Attachment #8577669 - Flags: review?(bgrinstead)
Do we want to keep the markup preview? Do we have telemetry of its usage? My guess is that since it's hidden, no one uses it. My main gripe with it (aside from the fact that I'd never use such a feature) is that it takes space in the inspector, and we know we're struggling with nicely displaying nodes with lots of attributes already.
(In reply to Patrick Brosset [:pbrosset] [:patrick] from comment #2) > Do we want to keep the markup preview? Do we have telemetry of its usage? My > guess is that since it's hidden, no one uses it. I'm fairly sure we don't have telemetry data on it, and I'm even more fairly sure that it's very rarely used (I've never heard anyone mention it or complain about the issues further down in this comment). > My main gripe with it (aside from the fact that I'd never use such a > feature) is that it takes space in the inspector, and we know we're > struggling with nicely displaying nodes with lots of attributes already. Yes, it overlays the nodes in the inspector and actually can cover up content that you can't see unless if you resize the markup view. Additionally, you can't click and drag the region in the preview to scroll (which would be the most useful part of this feature wrt the markup view IMO. And it disappears when you get to the bottom of a page. We would need to do some work on this feature before endorsing it with a visible option in the options panel.
Comment on attachment 8577669 [details] [diff] [review] Patch Review of attachment 8577669 [details] [diff] [review]: ----------------------------------------------------------------- See comment 3
Attachment #8577669 - Flags: review?(bgrinstead) → review-
Assignee: ntim.bugs → nobody
Status: ASSIGNED → NEW
We don't plan to enable or make the markuppreview panel better (and in fact we removed it from the code).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: