Skip to content
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

fix: Revert "fix: make sure that menu bar gets focus even when you click an item to focus it first" #20019

Merged

Conversation

MarshallOfSound
Copy link
Member

@MarshallOfSound MarshallOfSound commented Aug 29, 2019

Reverts #19710

As outlined in comments in that PR this is re-causing issues where when you open the menu the webContents loses focus and it is never restored. This breaks things like "copy", "paste" and the webContents.getFocusedWebContents() method.

Notes: Fixed issue where using the menu on Linux would un-focus the webContents

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 29, 2019
@MarshallOfSound
Copy link
Member Author

cc @brenca

@MarshallOfSound MarshallOfSound merged commit 6543386 into master Aug 29, 2019
@release-clerk
Copy link

release-clerk bot commented Aug 29, 2019

Release Notes Persisted

Fixed issue where using the menu on Linux would un-focus the webContents

@trop
Copy link
Contributor

trop bot commented Aug 29, 2019

I have automatically backported this PR to "5-0-x", please check out #20034

@trop
Copy link
Contributor

trop bot commented Aug 29, 2019

I have automatically backported this PR to "6-0-x", please check out #20035

@trop
Copy link
Contributor

trop bot commented Aug 29, 2019

I have automatically backported this PR to "7-0-x", please check out #20036

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Sep 4, 2019
@sofianguy sofianguy added this to Fixed for 6.0.8 in 6.1.x Sep 18, 2019
@sofianguy sofianguy added this to Fixed in 7.0.0-beta.5 in 7.2.x Sep 24, 2019
@sofianguy sofianguy added this to Fixed in 5.0.11 in 5.0.x Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
5.0.x
Fixed in 5.0.11
6.1.x
Fixed for 6.0.8
7.2.x
Fixed in 7.0.0-beta.5
Development

Successfully merging this pull request may close these issues.

None yet

2 participants