Luban icon indicating copy to clipboard operation
Luban copied to clipboard

Bug: Slow performance in Luban 4.3

Open imh1kiko opened this issue 2 years ago • 4 comments

🐞 bug report

Affected Version(s)

Version 4.3

Is this a regression?

The previous version (4.2) ran just fine. Now the UI is hanging.

To Reproduce

Steps to reproduce the behavior:

Case 1

  1. Go to workspace
  2. Connect
  3. Printer has already connected, Luban is still hanging.

Case 2

  1. Click on generate Gcode.
  2. GCode generation takes longer.

Case 3

  1. While printing (lasering, in my case), go back to 3d/laser/cnc tab.
  2. Now go back to workspace.
  3. Luban freezes, resumes after a good while.

Case 4

  1. In workspace, click on sliders ("LED strip", "Exhaust fan", "Door detection")
  2. Wait for it to actually toggle it

Expected behavior Better performance. In 4.2 latest release, everything was snappy.

🌍 Your Environment

  • Operating System: Windows 10 x64
  • Printer: Snapmaker A150

imh1kiko avatar May 29 '22 13:05 imh1kiko

Ok, we will check for this soon.

jane-rose avatar May 29 '22 14:05 jane-rose

We can only reproduce case 1, and it will be fixed in subsequent versions. Others are consistent with the 4.2 version or we cannot reproduce. Any futher progress or information can update here.

jane-rose avatar May 31 '22 02:05 jane-rose

Following up on the issue. The toggling buttons is very unstable in 4.3. I stopped observing change beyond few minutes. Video is sped up, not to waste time. Case #1, #3 and #4 are shown here.

imh1kiko avatar May 31 '22 18:05 imh1kiko

Ok, now we can reproduce case3, and we will re-check case4. But the reason is not slow performance but reconnect action when switching page. (You can temporarily turn off the auto-connect checkbox to solve it .)All these will be fixed in subsequent versions. Thanks for your help.

jane-rose avatar Jun 02 '22 10:06 jane-rose