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: improve focused menu bar item visibility #17291

Merged
merged 1 commit into from Mar 12, 2019

Conversation

brenca
Copy link
Contributor

@brenca brenca commented Mar 8, 2019

Description of Change

It looks like during the C73 upgrade we lost the highlight on the focused menu bar items (there was a small dotted border around the text of the focused item). This is bad because you can now navigate the menu with just the keyboard, and you can't tell which top level item you are currently on.

This PR enables the background highlighting of the InkDrop for the focused item, giving some visual feedback to the user when navigating with the keyboard. Also, I made the highlight a tiny bit darker to make it easier to see.

This is what we had before the C73 upgrade:
electron-acc-4
After the upgrade:
electron-acc-2
With this PR:
electron-acc-3

Checklist

Release Notes

Notes: Improved the visibility of the focused item on the menu bar.

@brenca brenca requested review from ckerr and codebytere March 8, 2019 14:10
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Mar 8, 2019
@codebytere
Copy link
Member

@brenca would you mind including a before and after screenshot?

@brenca
Copy link
Contributor Author

brenca commented Mar 8, 2019

@codebytere Created some GIFs to illustrate the problem

Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

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

Came here for the GIFs

Good GIFs 😄

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Mar 9, 2019
@codebytere codebytere merged commit 14cc8a1 into master Mar 12, 2019
@release-clerk
Copy link

release-clerk bot commented Mar 12, 2019

Release Notes Persisted

Improved the contrast/visibility of the "focused" menu item in menus on Windows

@codebytere codebytere deleted the brenca/improve-menubar-visibility branch March 12, 2019 22:29
@trop
Copy link
Contributor

trop bot commented Mar 12, 2019

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

@sofianguy sofianguy added this to Fixed in 5.0.0-beta.6 in 5.0.x Mar 20, 2019
kiku-jw pushed a commit to kiku-jw/electron that referenced this pull request May 16, 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.0-beta.6
Development

Successfully merging this pull request may close these issues.

None yet

3 participants