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

GlowBrush="{DynamicResource AccentColorBrush}" is causing a ComponentModel Exception in UpdateCore #3034

Closed
evilbaschdi opened this Issue Sep 4, 2017 · 6 comments

Comments

Projects
None yet
2 participants
@evilbaschdi

evilbaschdi commented Sep 4, 2017

testing the current alpha versions of mahapps.metro I currently resolve an error using a GlowBrush.
The error thrown is a "invalid window handle" in
MahApps.Metro\MahApps.Metro.Shared\Controls\GlowWindow.xaml.cs line 274.

At the moment I'm not able to reproduce that error in the sample apps contained in the mahapps.metro repository but with my own applications for example "TestUI" from https://github.com/evilbaschdi/EvilBaschdi.Core/tree/develop but I have no Idea were to search for the problem. with 1.5.0 everything's working fine.

@punker76

This comment has been minimized.

Member

punker76 commented Sep 4, 2017

@evilbaschdi Which alpha version did you use?

@evilbaschdi

This comment has been minimized.

evilbaschdi commented Sep 4, 2017

currently I'm using 012, it also happened with 009 until 011.
I think I just found the problem my selfe. There was a AllowsTransparency="True" in my code and I don't know why it is there. But with 1.5.0 that problem does not occur.

@punker76

This comment has been minimized.

Member

punker76 commented Sep 4, 2017

@evilbaschdi MahApps uses now ControlzEx dll. The Problem is by NuGet which doesn't get always the highest dependency from ControlzEx for MahApps. This can be set in the NuGet package manager in VS (or you use the paket manager).

@evilbaschdi

This comment has been minimized.

evilbaschdi commented Sep 4, 2017

I know about that. And I've been on 3.0.66 (or what is the current) ControlzEz. I've even referenced the your repository directly for better debugging.

@punker76 punker76 self-assigned this Sep 5, 2017

@punker76 punker76 added this to the 1.6.0 milestone Sep 5, 2017

@punker76 punker76 added the Bug label Sep 5, 2017

@punker76 punker76 closed this in 29329c7 Sep 5, 2017

@punker76

This comment has been minimized.

Member

punker76 commented Sep 5, 2017

@evilbaschdi This should be fixed now and is available with 1.6.0-alpha013

@evilbaschdi

This comment has been minimized.

evilbaschdi commented Sep 5, 2017

yes, it's working now. thx!

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