-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Fix WindowCommands tab stop bug #2858
Conversation
Prevents WindowCommandsItems from erroneously responding to the tab key.
@thoemmi What do you think? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get why WindowCommandsItem
shouldn't get the focus? With the proposed change, you're not able to access the windows Commands with keyboard only. What issue is the PR trying to solve?
|
The general window commands Minimize, Maximize, and Close don't get the focus with MahApps.Metro too. Those are generic Windows commands and not focusable in any Windows application (as far as I'm aware of.) However, the additional Windows commands provided by MahApps.Metro are specific to the application, and IMHO should be accessible via keyboard. If the buttons don't work, I'd think that this is the issue that must be fixed, and not by preventing them from getting the focus at all. |
I assumed this was a bug since |
@neilt6 -> 1.5.0-alpha002 |
@punker76 Looks good to me |
@thoemmi thx for watching 👍 |
Wow, it took you 30 seconds to reply to my comment 😉 |
What changed?
Prevents
WindowCommandsItem
from erroneously responding to the tab key.