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 chrome turning black during window resize. #90

Closed
abdelkarim opened this issue Apr 3, 2015 · 6 comments
Closed

Window chrome turning black during window resize. #90

abdelkarim opened this issue Apr 3, 2015 · 6 comments

Comments

@abdelkarim
Copy link
Contributor

Start by watching the following video, how to reproduce ?

  1. launch the test app and switch to the office 2010 blue theme
  2. move it below the task bar a little bit.
  3. start re-sizing and notice how it turns black.
@batzen batzen added the Bug 🐞 label Apr 7, 2015
@batzen batzen added this to the Next milestone Apr 7, 2015
@batzen batzen self-assigned this Apr 7, 2015
@batzen
Copy link
Member

batzen commented Apr 8, 2015

That's really strange and only happens when making the window wider by using the re-size border on the right side, but not when using the top or left re-size border...

This bug/issue is definitely on the microsoft side of the fence...

I guess I will have to sit down and report all the WindowChrome issues we encounter here (there are a few other open issues) to microsoft connect.

@batzen batzen removed this from the Next milestone Apr 8, 2015
@batzen
Copy link
Member

batzen commented Apr 16, 2015

I don't know how to fix the current issues, including this one, related to the microsoft WindowChrome class. Any suggestions from anyone?

@batzen batzen removed their assignment Apr 16, 2015
@Flo0806
Copy link

Flo0806 commented Apr 23, 2015

Hey,
here is a workaround:
public WindowSizing(RibbonWindow window)
{
this.window = window;
this.window.StateChanged += this.HandleWindowStateChanged;
}

In WindowSizing add a SizeChanged-Event. This Event call the HandleWindowStateChanged. When the Window not responds, after the not responding the SizeChanged event was called and set the position of the window correct again!

@batzen
Copy link
Member

batzen commented Apr 23, 2015

This can't be the solution because "FixNastyWindowChromeBug" (which is called by "HandleWindowStateChanged") checks if the window is maximized and if it's not the function just returns.

@batzen
Copy link
Member

batzen commented Aug 25, 2015

Does this still happen on your machines?
I just tried it on Windows 10 and the issues seems to be solved.

@batzen batzen self-assigned this Nov 6, 2015
@batzen batzen added this to the 4.0.0 milestone Nov 6, 2015
@batzen
Copy link
Member

batzen commented Dec 13, 2015

Should be fixed in develop branch.

@batzen batzen closed this as completed Dec 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants