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

It gets slower within time #191

Closed
setwebdreams opened this issue Jun 16, 2021 · 1 comment · Fixed by #192
Closed

It gets slower within time #191

setwebdreams opened this issue Jun 16, 2021 · 1 comment · Fixed by #192

Comments

@setwebdreams
Copy link

The application gets slower when forms are opened and closed many times (1000 times).

After this, the application consumes a lot of CPU.

I detected that after commenting OnGlobakMouseMove on MaterialForm the issue is solved.

// This enables the form to trigger the MouseMove event even when mouse is over another control //Application.AddMessageFilter(new MouseMessageFilter()); //MouseMessageFilter.MouseMove += OnGlobalMouseMove;

@orapps44
Copy link
Collaborator

orapps44 commented Jun 18, 2021

Hi,

Thanks for reporting this issue.

Another benefit of commenting those lines is to solve issue #154.

But side effect of that is resizing around drawer edge need to be reworked.

orapps44 added a commit that referenced this issue Jun 18, 2021
Remove OnGlobalMouseMove (see issue #191).
Add Form resize when mouse over drawer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants