-
Notifications
You must be signed in to change notification settings - Fork 322
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 Resize Spam #101
Comments
There are only 4 commits in version 3.6.1 - would you be able to find mention the commit that makes the difference for your with regard to the infinite spam loop together with a test layout and a way to actually verify the spam? The list of relevant commits is shown towards the bottom of the Readme.md file. You can use any of the available test applications in the project - just modify it for the test case such that the problem becomes more obvious, thanks Dirk |
If I had to guess I would say this commit looks suspicious and directly related to making nested elements run resize-like events: |
Yes, I looked at it and was just about to write the same (you've beaten me by 20 seconds) - its funny that the issue item updates while you type if someone else is faster :-) - I am not completely sure about a fix right now but maybe just caching the last value and comparing it with the new value and only calling the @scdmitryvodich Do you see a better fix to optimize this problem? |
This commit solved the #81 issue. I'll investigate if a better solution can be found. |
@lansdon-qualta I have a couple of questions concerning this issue:
|
Our environment is a bit complicated but I'll see if this helps.
Like I said, if we revert to 3.6.0 it doesn't happen, if we upgrade to 3.6.1 or 3.6.2 it starts happening making the application unusable. |
@lansdon-qualta Thank you! I'll try to investigate it. |
…omes not visible.
@lansdon-qualta Could you please have a look if changes in #103 solve your issue? |
@lansdon-qualta @Dirkster99 Could you please have a look if changes in #103 may solve this issue? |
It looks like it fixed the problem I was having. Using the new .dll I lost mouse click events in my nested viewport, but looking at your code change, it doesn't seem related? Not sure. The spam stopped though. |
Mouse click events should not be affected by this change. |
I merged the change as it does seem to address the issue without introducing new problems (as far as I can see). This change is currently available in the master branch and should also be available in the next release NuGet version. Thanks for your great work and feedbacks @scdmitryvodich and @lansdon-qualta |
In version 3.6.1+ we are getting infinite window resize event spam. Nested elements are constantly firing window resize events. This is after trying to resize the main window. Not sure the source but when we revert to 3.6.0 the problem seems to not be present.
The text was updated successfully, but these errors were encountered: