Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

fix webkit bug with release of context menu node #317

Merged
merged 1 commit into from
Sep 25, 2017

Conversation

bridiver
Copy link
Collaborator

always call SetShowingContextMenu/NotifyContextMenuClosed
fix brave/browser-laptop#10563
also fixes flash context menu items not working

always call SetShowingContextMenu/NotifyContextMenuClosed
fix brave/browser-laptop#10563
also fixes flash context menu items not working
@bridiver bridiver self-assigned this Sep 22, 2017
bridiver added a commit to brave/browser-laptop that referenced this pull request Sep 22, 2017
@bridiver
Copy link
Collaborator Author

credit to @darkdh for tracking the problem down in WebKit #314
but wanted a more targeted fix to reduce the risk of unintentional side-effects

const embedder = sender.hostWebContents || sender
win = BrowserWindow.fromWebContents(embedder)
}
} else {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// menu.popup(x, y, positioningItem) should be put here

bridiver added a commit to brave/browser-laptop that referenced this pull request Sep 22, 2017
Copy link
Member

@darkdh darkdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

bridiver added a commit to brave/browser-laptop that referenced this pull request Sep 22, 2017
@bridiver
Copy link
Collaborator Author

we should really be using ContextMenuDelegate/RenderViewContextMenuBase, but this works for now

bridiver added a commit to brave/browser-laptop that referenced this pull request Sep 22, 2017
@bsclifton bsclifton merged commit 0ed2741 into master Sep 25, 2017
@bsclifton bsclifton deleted the browser-laptop-issue-10563 branch September 25, 2017 18:54
bsclifton added a commit that referenced this pull request Sep 25, 2017
fix webkit bug with release of context menu node
bsclifton added a commit to brave/browser-laptop that referenced this pull request Sep 26, 2017
bsclifton added a commit to brave/browser-laptop that referenced this pull request Sep 26, 2017
bsclifton added a commit to brave/browser-laptop that referenced this pull request Sep 26, 2017
kevinlawler pushed a commit to brave/browser-laptop that referenced this pull request Oct 5, 2017
syuan100 pushed a commit to syuan100/browser-laptop that referenced this pull request Nov 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clipboard copy (cmd+c / ctrl+c) doesn't always work
3 participants