question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

For whatever reason, the components in the main window are terribly slow at redrawing/painting so that when resizing the main window the entire window can freeze for short periods.

To mitigate this, I suggest adding something like this:

this.ResizeBegin += (s, ee) => { this.SuspendLayout(); }; this.ResizeEnd += (s, ee) => { this.ResumeLayout(true); };

somewhere into the main form (maybe EDDiscoveryForm_Load? ) so the window can be resized without having pauses.

That should suspend paints while resizing, then as soon as the resizing is stopped, the form will refresh based on the final size.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
imathrowbackcommented, May 20, 2018

I did check it out and apply my code because I hated the slow resizing and it seems to work OK here.

I don’t have any experience in this codebase, so I wasn’t sure if I had to do a pull request first, then issue, or issue then pull request, or just do a plain pull request, or how patches are handled in general. (On a related note, a “contributing” guideline would be useful)

And since this was just two lines, I went with issue, that way any developer with commit access could add it easily enough wherever they felt it could go (if they even decided it was worthwhile).

0reactions
robbyxp1commented, Jun 6, 2018

Closing - this is not a widely reported issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Window Resize Extremely Slow
The simple fix is to click the "home" tab, then select "Starred" instead of "recent". When I did this, then clicked back to...
Read more >
Resizing windows in Windows 11 is excruciatingly slow.
Resizing the task manager window is similarly slow as in your video. Ryzen 3600 and RTX 3060 here. Most other windows are buttery...
Read more >
Window resizing in Windows 10 very slow - Linus Tech Tips
Everytime i want to resize any window it lags and i cant figure it out why. And it also feels choppy and slow...
Read more >
Slow window resizing performance · Issue #169142
Type: Bug whenever i resize my vscode, instead of the window instantly resizing its transitioning into the resized space.
Read more >
Slow Browsers Resizing
On Windows 10 Dell PC, all Browsers (Edge, IE11, Firefox, Chrome, Opera) appear to lag in rendering when resize window.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found