Skip to content

Disable browser's context menu on screen canvas#1584

Closed
chschnell wants to merge 1 commit into
copy:masterfrom
chschnell:disable-browser-menu
Closed

Disable browser's context menu on screen canvas#1584
chschnell wants to merge 1 commit into
copy:masterfrom
chschnell:disable-browser-menu

Conversation

@chschnell

Copy link
Copy Markdown
Contributor

When absolute mouse positioning is enabled we no longer lock the mouse pointer to the screen canvas. This leads to the browser's context menu now popping up when right-clicking the canvas, hiding the guest's context menu underneath.

This PR fixes that by disabling the browser's context menu entirely on the canvas. I figured that we don't ever want to see it on the canvas (dosen't matter if relative or absolute positioning is enabled), is that ok or are there any exceptions I should consider?

@SuperMaxusa

Copy link
Copy Markdown
Contributor

Wasn't this fixed in the wip branch? 7919dfb

@chschnell

Copy link
Copy Markdown
Contributor Author

I didn't know, I'll close this then.

@chschnell chschnell closed this Jun 10, 2026
@chschnell chschnell deleted the disable-browser-menu branch June 11, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants