Bug 253727

Summary: REGRESSION: Google Drive right click menu no longer works
Product: WebKit Reporter: Jon <jon>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   

Description Jon 2023-03-10 11:35:25 PST
As of STP 165 (or slightly before), Google Drive's custom context menu no longer appears when right clicking files. Instead, just the normal context menu appears. Same for control - clicking. Safari 16.3 works correctly.

Steps:
1. Log into Google Drive. 
2. Right click on a document in the file list. You should see the custom context menu from drive but STP shows the regular context menu.
3. If you have no files, you can create a new document or a folder to see the same thing.

This may be related to https://bugs.webkit.org/show_bug.cgi?id=253580
Comment 1 Radar WebKit Bug Importer 2023-03-10 11:49:16 PST
<rdar://problem/106564489>
Comment 2 Chris Dumez 2023-03-10 11:51:33 PST
Doesn't reproduce for me on STP 165. Custom menus show just fine on Google Drive when right clicking on files.
Comment 3 Alexey Proskuryakov 2023-03-10 11:56:19 PST
I also cannot reproduce (Ctrl-click or two finger click on trackpad). But maybe this requires an actual mouse?
Comment 4 Chris Dumez 2023-03-10 11:57:15 PST
(In reply to Alexey Proskuryakov from comment #3)
> I also cannot reproduce (Ctrl-click or two finger click on trackpad). But
> maybe this requires an actual mouse?

When I tried to reproduce, I was using an actual mouse, so I don't think so.
Comment 5 Jon 2023-03-10 12:15:53 PST
Sorry, my mistake. I just installed StopTheMadness and it protects context menus by default.