-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Electron 3.0.x: Webview issues #56988
Comments
There is still lots of flakiness in I think the context key in More things to test: use an extension such as |
I pushed another comment to move away from There is still focus issues when doing this:
=> at one point focus is no longer detected |
Another issue (macOS):
It looks like both the I opened electron/electron#14514 Update: it looks like calling |
c47790a changes to not rely on DOM focus/blur for context keys in the |
#61762 seems related, moving to November. |
* update to 3.0.0-beta.3 * update d.ts files; rename NodeBuffer => Buffer * update to 3.0.0-beta.4 * undo invalid change * remove some Electron 2.0.x specific workarounds * pinch zoom is now disabled by default * update vscode-nsfw * change vscode-nsfw * update smoke test electron version * streams: use destroy() over close() * workaround broken tests * bump distro and OSS * try to bump node version for build * update macOS build to use node.js 10.8.0 * fix extension tests * use node.js 10.2.1 for all builds * remove nsfw from dev dependencies * back to node 8.x for build * Revert "back to node 8.x for build" This reverts commit 90ea2b7. * update distro * disable test run on macOS prod build for now * bump distro * ensure proper nsfw dep * fix more native dependencies * temp disable failing test * fix packages * update deps * fix deps * update deps * enable macOS unit tests again * fix deprecated buffer use * Electron 3.0.0.beta.5 * bump deps * fix tree accidentally treating auxclick as click * improve overlay cleanup scheduler (fixes flicker seen with Electron 3.0.x) * update distro * remove obsolete disableBlinkFeatures: 'Auxclick' * update to Electron 3.0 beta 6 * fix compile * workaround #56994 * do not use backgroundColor to find shared process (causes flicker) * fix flicker on windows from shared process background color * webview - bubble up keyboard events (workaround for #56988) * bump electron to 3.0.0-beta.8 * webview - fix deprecation * webview - fix another deprecation * debt - handle SIGPIPE on more processes * workaround more webview focus issues (for #56988) * webview - use proper way to focus() * debt - avoid window-focus/blur and use native focus events instead * webview - restore previous focus method * webview - improve focus tracking (do not rely on DOM events) * bump to electron 3.0.0-beta.9 * update deps * update electron@3.0.0-beta.10 * webview - do not rely on DOM focus for certain commands (for #56988) * update to electron@3.0.0-beta.11 * electron@3.0.0-beta.12 * update to beta 13 * update to electron 3.0.0 * update to Electron 3.0.1 * electron@3.0.2 * revert build changes (node.js version) * try with: enable mojave dark mode support * fix types * electron 3.0.3 * electron@3.0.4 * fix deps * bump electron@3.0.6 * bump electron@3.0.9 * fix strict null issue * reset format * bump electron@3.0.10 * fix strict null issue * webview - print error when revive fails * electron 3.0.x - try to fix keybindings in webviews (#64417) * bump @types/node => ^10.12.12 * 💄 * update distro
I have extracted #64724 into its own issue. |
Electron
3.0.0-beta.8
changed the<webview>
implementation to "Out of Process Iframe". This issue tracks regressions found by that move.<webview>
in some cases no longer emitsonfocus
events: an editor group no longer gets active when clicking into a webview (Electron 3.0.x: Webview issues #56988 (comment))<webview>
no longer prevents commands from the global menu to fire, thus resulting in 2 commands potentially triggering (macOS, Electron 3.0.x: Webview issues #56988 (comment), Webview: not possible to prevent menu shortcuts from triggering electron/electron#14514)<webview>
should not set a context key based on DOM focus but rather based on the active editor being awebview
or not to prevent weird issues where the context key is not cleared properly<webview>
traps keydown events: our keybindings are broken once focus is within the webview (Webview: traps keyboard events once focused electron/electron#14258) - fixed via 34a635eThe text was updated successfully, but these errors were encountered: