Skip to content

Mahapps window steals focus #2996

@bardospeter

Description

@bardospeter

What is the issue?

MahApps window sometimes steals focus in our application. As it turned out, it can steal the focus in the official test app as well:

Reproduction video

What steps will reproduce this issue?

  1. Start MahApps.Metro.Demo.NET45
  2. Click on VS button
  3. Go back to main window
  4. Maximize
  5. Minimize
  6. Maximize back from taskbar (click on main window on taskbar)

Now it steals focus

Expected outcome

It should not steal the focus

Environment

  • MahApps.Metro: 1.5.0.0.
  • Windows OS: Windows 10 creators update
  • Visual Studio 2017
  • .NET Framework 4.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions