bambulab / BambuStudio

PC Software for BambuLab and other 3D printers
GNU Affero General Public License v3.0
2.24k stars 304 forks source link

Moving window causes entire PC to lag #4184

Open TennisRunner opened 6 months ago

TennisRunner commented 6 months ago

Bambu Studio Version

1.8.2.56

Where is the application from?

Bambu Lab Official website

OS version

Windows 10

Additional system information

No response

Printer

p1p

How to reproduce

Click and drag the window around.

Actual results

The window lags behind and keeps moving even after you let go of the left mouse button. The CPU usage also spikes and it causes other windows to stop rendering.

https://github.com/bambulab/BambuStudio/assets/59356546/e18b8eb2-6abd-4dd2-a46b-86fb16492ef8

Expected results

Shouldn't take any extra resources to move it around. Its probably trying to re-render or treating it as a window resize. Possibly needs a pause or a bitblt still image to be rendered while moving instead of 3d rendering.

Project file & Debug log uploads

nut.zip

Checklist of files to include

bambu123 commented 6 months ago

This is a problem that has been bothering us for a long time. Static window caching is an idea that we will study.