Bug 243893 - Right-click menu not appear in HTML page with <object> inserting video
Summary: Right-click menu not appear in HTML page with <object> inserting video
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 15
Hardware: Mac (Apple Silicon) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2022-08-12 12:14 PDT by Ahmad Saleem
Modified: 2023-02-17 17:10 PST (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-08-12 12:14:22 PDT
Hi Team,

I was trying to triage other bugs but came across case, which was not related to bug itself. Hence, I am creating it separately here to it can be fixed faster and better.

Test Case Link - https://bug-56732-attachments.webkit.org/attachment.cgi?id=86755

*** STEPS TO REPRODUCE ***

Open Test Case and try to right click via Trackpad (on at least MacBook)

<< ACTUAL RESULT >>

Right click does not appear in Safari Technical Preview 151 and Safari 15.6 on macOS 12.5

<< EXPECTED RESULT >>

Browser UI and Chrome should not be hijacked due to HTML content and it should appear.

<< CONSEQUENCES >>

I had to open other browser to see page source code since I was not able to see via Right Click (I know I can do it via Menu) but just a use case.

NOTE - In all other browses, this test page does not hijack "right-click" menu and you can still open it.

___

Appreciate if this can be fixed. Make Safari & Webkit Awesome!!! Thanks!
Comment 1 Ahmad Saleem 2022-08-12 12:16:36 PDT
Forgot to add - It does appear outside of <object> tags dimensions:

<object id="media" type="video/mp4" hspace="40" width="720" height="480" />                            </body>
Comment 2 Radar WebKit Bug Importer 2022-08-19 12:15:18 PDT
<rdar://problem/98893820>
Comment 3 Ahmad Saleem 2023-02-17 17:10:08 PST
I am not able to reproduce this anymore in Safari Technology Preview 163 and right click works fine and there is no hijack of it.

Marking this as "RESOLVED CONFIGURATION CHANGED". Appreciate if someone else also can confirm. Thanks!