Bug 29680
Summary: | Web Inspector: Element highlighting based on hover is annoying | ||
---|---|---|---|
Product: | WebKit | Reporter: | Chris Loftus <chris.loftus> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | aroben, joepeck, pbakaus, pmuellr, rik, simon.fraser |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Chris Loftus
When I am navigating through the DOM of a webpage, and selecting elements, I would like to keep the blue overlay highlight of the element to remain there permanently (instead of 3 (?) seconds).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Patrick Mueller
Do you mean the blue highlighting in the actual web page? Not the highlighting in the web inspector UI, right?
That highlighting seems to stay in place while the element in the web inspector UI has the mouse over it, not timed (at least in nightlies).
Sounds useful. One problem. There isn't really a way of "unselecting" an element from the web inspector UI, so how would we go about allowing someone to remove the highlighting, if they want to? I wonder if having something like a "sticky" button somewhere (breadcrumbs bar at the bottom?), which, if selected, would leave the selection highlighted. Default off.
Paul Bakaus
Easy solution proposal: Instead of a sticky button, simply make it dependent upon the focus. If the web inspector has the focus, the highlighting is visible - if the focus is back on the site itself, it's hidden.
Chris Loftus
(In reply to comment #1)
> Do you mean the blue highlighting in the actual web page? Not the highlighting
> in the web inspector UI, right?
Yes, the web page.
> That highlighting seems to stay in place while the element in the web inspector
> UI has the mouse over it, not timed (at least in nightlies).
Correct, why can't we just keep the highlight there when the elemented is selected (also highlighted) in Web Inspector?
> Sounds useful. One problem. There isn't really a way of "unselecting" an
> element from the web inspector UI, so how would we go about allowing someone to
> remove the highlighting, if they want to? I wonder if having something like a
> "sticky" button somewhere (breadcrumbs bar at the bottom?), which, if selected,
> would leave the selection highlighted. Default off.
If you click or navigate (add extra level before top of DOM and after) in whitespace I guess that would mean there is no element selected, which would mean to hide the blue overlay within the browser.
Chris Loftus
(In reply to comment #2)
> Easy solution proposal: Instead of a sticky button, simply make it dependent
> upon the focus. If the web inspector has the focus, the highlighting is visible
> - if the focus is back on the site itself, it's hidden.
This is also an alternative (probably better) than my suggestion in comment #3.
Simon Fraser (smfr)
+3. The current behavior is very annoying.