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

Window with showactivated=false and sizetocontent=WidthAndHeight is activated in Mahapps.Metro v1.5 #2951

Closed
gerthermans opened this issue May 2, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@gerthermans
Copy link

HoverIssuemahapps.zip

Issue

When SizeToContent is set on a wpf window it ignores the ShowActivated=false setting

Steps to reproduce

Unzip the HoverIssuemahapps zip file
Open and run the solution
Move the mouse over the 'hover here' area
expected result:
Window1 stays active window as CheckWindow has ShowActivated=False
Actual result:
CheckWindow becomes activated

This was working in Mahapps.Metro version 1.4.2

Is there a workaround for this? (window still needs to size to it's content.

Environment

  • MahApps.Metro __v1.5
  • Windows 10
  • Visual Studio 2015
  • .NET Framework 4.5.2
@punker76 punker76 self-assigned this May 2, 2017
@punker76 punker76 added the Bug label May 2, 2017
@punker76 punker76 added this to the 1.6.0 milestone May 2, 2017
@punker76
Copy link
Member

punker76 commented May 2, 2017

@gerthermans Is fixed now and will be available in 1.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants