Bug 208310 - Web Inspector: Cursor Missing When Editing HTML
Summary: Web Inspector: Cursor Missing When Editing HTML
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari 13
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-27 07:42 PST by Chris Chiera
Modified: 2020-10-08 15:48 PDT (History)
3 users (show)

See Also:


Attachments
Missing Cursor (5.58 MB, video/mp4)
2020-02-27 07:53 PST, Chris Chiera
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Chiera 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.
Comment 1 Chris Chiera 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.
Comment 2 Chris Chiera 2020-02-27 07:53:48 PST
Created attachment 391869 [details]
Missing Cursor
Comment 3 Nikita Vasilyev 2020-02-27 12:25:19 PST
This looks like a regression.
Comment 4 Chris Chiera 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.
Comment 5 Nikita Vasilyev 2020-05-04 16:50:18 PDT
Confirming that I can still reproduce it.
Comment 6 Radar WebKit Bug Importer 2020-05-04 16:50:31 PDT
<rdar://problem/62867790>
Comment 7 Chris Chiera 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.
Comment 8 Chris Chiera 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!
Comment 9 Nikita Vasilyev 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 ***
Comment 10 Chris Chiera 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?
Comment 11 Nikita Vasilyev 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.
Comment 12 Chris Chiera 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!
Comment 13 Nikita Vasilyev 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.
Comment 14 Nikita Vasilyev 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.
Comment 15 Chris Chiera 2020-10-08 15:48:02 PDT
Works, thank you!!