Bug 208310

Summary: Web Inspector: Cursor Missing When Editing HTML
Product: WebKit Reporter: Chris Chiera <chris>
Component: Web InspectorAssignee: Nikita Vasilyev <nvasilyev>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, nvasilyev, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=192652
Attachments:
Description Flags
Missing Cursor none

Chris Chiera
Reported 2020-02-27 07:42:48 PST
Believe I posted about this a long while back but can't remember. When editing code in HTML section of the inspector the cursor doesn't appear where you have clicked. It does show as expected when editing css in the styles bar however so bug only seems to affect the HTML section.
Attachments
Missing Cursor (5.58 MB, video/mp4)
2020-02-27 07:53 PST, Chris Chiera
no flags
Chris Chiera
Comment 1 2020-02-27 07:46:11 PST
To add if you right click and choose "Edit HTML" to edit the html it does show the cursor. But double clicking which is what I always do to edit the htmt (except for links of course since that would open them), the cursor doesn't show.
Chris Chiera
Comment 2 2020-02-27 07:53:48 PST
Created attachment 391869 [details] Missing Cursor
Nikita Vasilyev
Comment 3 2020-02-27 12:25:19 PST
This looks like a regression.
Chris Chiera
Comment 4 2020-05-04 09:09:33 PDT
Thought I'd check-in on this. I see on "Feb 2: Nikita Vasilyev said, "This was fixed a couple of days ago." Alas I checked at that time, and every release since then the issue still remains. Let me know if you need any additional information.
Nikita Vasilyev
Comment 5 2020-05-04 16:50:18 PDT
Confirming that I can still reproduce it.
Radar WebKit Bug Importer
Comment 6 2020-05-04 16:50:31 PDT
Chris Chiera
Comment 7 2020-07-30 08:17:31 PDT
Checking in on the status of this reported on 2020-02-27 as has continued since through each and every update including macOS 11 and the latest Safari Preview. Not seeing the cursor properly in the web inspector is certainly a major challenge and imagine it affects Apple developers as well so hopefully this regression will get resolved. Switched back to Chrome from development a while back since looked like a fix may be a while. Looking forward to getting back to Safari for use during development since use it for most all my browsing. While it sounds like you are aware of the issue, if I can provide any info to help escalate it let me know.
Chris Chiera
Comment 8 2020-09-04 08:13:45 PDT
Just to note, as of this writing cursors are still missing when editing html in web inspector which I imagine is quite a common use case for web inspector. Let me know if you need any additional information to help this regression that was confirmed back in February. Thank you!
Nikita Vasilyev
Comment 9 2020-09-04 09:01:52 PDT
I landed a patch for this yesterday! Please check in the next Safari Technology Previw! Bug 210197 - REGRESSION (r251254): Web Inspector: Text insertion point is invisible when editing DOM nodes *** This bug has been marked as a duplicate of bug 210197 ***
Chris Chiera
Comment 10 2020-09-09 15:40:34 PDT
Just downloaded the newest Preview that was released today as you recommended however I'm still not seeing a cursor when editing html in web inspector. I can try restarting my computer, but can you confirm the fix did land in the latest preview v113?
Nikita Vasilyev
Comment 11 2020-09-09 16:25:51 PDT
I apologize for the confusion. My fix hasn't made it to Safari Technology Preview yet. STP 113 covers WebKit revisions r265179-r265893. My fix landed in r266499. Please check the next STP.
Chris Chiera
Comment 12 2020-10-04 09:12:57 PDT
Just to note, on Release 113 (Safari 14.0.1, WebKit 16610.2.3.1) on Big Sur, and this issue still does not appear to be resolved, even though it was noted it lands in Release 113. While this bug report was marked as a duplicate, the other bug report was reported months after this one, and in that one is says this issue is resolved. So just wanted to make sure the team it still working on resolving the missing cursor issue when editing html in web inspector. Thank you!
Nikita Vasilyev
Comment 13 2020-10-05 11:54:23 PDT
Once again thank you for following up on this! You're correct. Unfortunately, r266499 isn't in STP 113 and I'm currently investigating why.
Nikita Vasilyev
Comment 14 2020-10-08 14:34:36 PDT
Chris Chiera, I've checked the just released Safari Technology Preview 114, and the fix has finally landed! Please confirm.
Chris Chiera
Comment 15 2020-10-08 15:48:02 PDT
Works, thank you!!
Note You need to log in before you can comment on or make changes to this bug.