Skip to content

TabItem HeaderFontSize change leads to freeze #3308

@seb30

Description

@seb30

Hello,

I encountered in a problem on some PCs by using the MetroTabItem and try to resize the HeaderFontSize with ControlsHelper.HeaderFontSize. This works on most of the user PCs, but some users notified me about a freeze of the application. I tried then to reproduce the issue and my Microsoft Surface 3 Pro behaves in the same way.

The next screen capture shows a sample application with some TabItems and HeaderFontSize set to 15:

debug15

And again, but with HeaderFontSize set to 14. As you can see, no main window opens and the CPU load goes up to 100% on a core:

debug14

  • MahApps.Metro version 1.6.5
  • OS: Win10 1803
  • Visual Studio 2017 15.8.0
  • .NET Framework 4.7.2

My sample application is attached.

TabItemTest_Git.zip

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