[Webkit-unassigned] [Bug 218301] New: Web Inspector: Sources: creating a local override when viewing a resource should automatically place the cursor where it was before

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 28 11:39:20 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=218301

            Bug ID: 218301
           Summary: Web Inspector: Sources: creating a local override when
                    viewing a resource should automatically place the
                    cursor where it was before
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

I often create local overrides once I notice that there's something I want to change in a resource.  This often happens far down in the resource, so it's annoying to have to re-find the code that I wanted to change after creating the local override.  It'd be ideal to copy/propagate my current selection/scroll to the new content view shown for the local override so that after hitting the button I can instantly start editing.

# STEPS TO REPRODUCE
1. inspect any page
2. select a text-based resource (i.e. not an image) in the Sources Tab
3. scroll down and place the cursor somewhere near the end of the resource
4. click the Create Local Override navigation item

# EXPECTED
a new local override is created for the selected resource with my cursor/selection being exactly where it was before

# ACTUAL
a new local override is created and the newly shown content view is scrolled to the top

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201028/133ea4f5/attachment.htm>


More information about the webkit-unassigned mailing list