LaserWeb4 icon indicating copy to clipboard operation
LaserWeb4 copied to clipboard

Documents not showing after import on workspace after extended use.

Open opensourcefan opened this issue 2 years ago • 5 comments

After performing multiple gcode generations with multiple files eventually a new document stops showing in the workspace.

Restarting fixes the issue. Sometimes but not always "reset"ing the workspace helps but a restart is more reliable. Occurs with SVG and PNG, haven't tried anything else.

Sometimes if I hit generate the gcode moves will show even though no image was previously displayed. Toggling "show document" has no effect.

opensourcefan avatar May 22 '22 23:05 opensourcefan

There is a lot of rework to the frontend being done by easytarget. Can you try to toggle the 'display cache performance' in the LaserWeb settings? What browser and version are you using?

harlock999 avatar May 23 '22 13:05 harlock999

Using 4.0.999 and it appears that it's just opens it's own window vs a browser window. Edge is my default though.

I'll try the toggle next time I get it to happen.

opensourcefan avatar May 23 '22 20:05 opensourcefan

Oh and I should mention that I am exporting the gcode only, not monitoring or running from LW. I don't have my or any machine connected.

opensourcefan avatar May 23 '22 20:05 opensourcefan

@opensourcefan ; thanks for the report :-)

I'm not too surprised to hear that the app can bog down and lock up after extended use.. in fact I have seen this myself in the past, and I mentally attributed it to memory leaks, with a side order of buffers and console filling up. Some of it due to app and library issues, some of it due to browser issues and limitations.

The work-around is, I'm afraid, to restart the app. I'm hoping my code fixes some of these issues since it uses properly maintained libraries etc.. but I'm not making any promises.

I assume from reading your comments that you are running the LaserWeb executable bundle (Electron build), is this on Windows or Linux? I'd be curious to know since I want to keep track of where problems are showing up.

easytarget avatar May 25 '22 12:05 easytarget

Appreciate the response, thank you for all the hard work. As my username suggestions I really appreciate FOSS.

Running on Windows 10, latest build.

I've got in the habit of just restarting before each project now, seems to keep things stable.

opensourcefan avatar May 25 '22 15:05 opensourcefan