SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
6.18k stars 711 forks source link

Device Tab (WebView process) used CPU #4276

Closed snkku closed 1 week ago

snkku commented 4 months ago

Is there an existing issue for this problem?

OrcaSlicer Version

2.0-dev

Operating System (OS)

Windows

OS Version

Windows 11

Additional system information

No response

Printer

FlyingBear Ghost 6

How to reproduce

When application running, WebView process used 10-16% CPU, even if application minimized (not used) Klipper(Mainsail) inside

Actual results

In any state WebView process using 10-15% CPU, that's discharging battery and heating notebook CPU.

Expected results

Stop/Disable/Sleep activity in Device(WebView) component, while this tab is not active! Or enable feature to disable this tab at all.

Project file & Debug log uploads

no file

Checklist of files to include

Anything else?

No response

Ditchbuster commented 4 months ago

I can confirm having this problem too. Windows 11 Pro - brand new build and OS install. 2.0-dev (edit: both portable and installed version) - edit 2: and actually in 1.9 portable too.. Connecting to Klipper Mainsail

im fine not having webview. don't see an option to turn it off. This is the first im using Orca so maybe there is this option somwhere

Ditchbuster commented 4 months ago

So as I said, new install, new OS. Had previously been accessing mainsail via web (brave) on windows 10. Accessing using brave on windows 11 pro also causes CPU spike but when you change view off the tab, its stops its high CPU (unlike orca which keeps using high CPU).

Ditchbuster commented 4 months ago

@snkku I was able to workaround the problem by going into the mainsail config/.theme folder (click gears and show hidden files) into the .css file and delete the top section between the comments for the background animation. I don't know if this is a problem with animation with mainsail or if the way it was setup was very unoptimized.

besser commented 3 months ago

I having this problem too. My setup:

PS: I remove the IP address from printer.

github-actions[bot] commented 2 weeks ago

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] commented 1 week ago

Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.