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
7.33k stars 871 forks source link

Dragging orcaslicer window is extremely slow #3111

Open Nuc1eoN opened 11 months ago

Nuc1eoN commented 11 months ago

OrcaSlicer Version

1.8.1

OS version

Win 10 x64 22H2 build 19045.3803

Additional system information

AMD RX580, Ryzen 7 3700x

How to reproduce

EDIT: Set your mouse polling rate to 250hz. This bug only happens on high polling rate mice.

  1. Open orcalslicer
  2. Drag the window by the title bar

Actual results

The window will drag VERY slowly.

Expected results

Window dragging should not be laggy or unresponsive

If no-one can reproduce I can make a video.

subutay commented 11 months ago

I think so too. Perhaps it's due to the msedgewebview2 component, which is used to display printer web pages. However, this might not be a good idea

RacerX10 commented 11 months ago

I had the same problem under Win 10, recently upgraded to Win 11 and the problem went away. Might be helpful to troubleshoot.

Nuc1eoN commented 11 months ago

So looks like it only happens on Win10 so far.

Sortam commented 11 months ago

I see no such issue. Windows 10, Version 10.0.19044.2965 (21H2)

jum0n commented 11 months ago

Just installed it and have the same slow window move issue. Microsoft Windows [Version 10.0.19045.3803]

Nuc1eoN commented 11 months ago

@jum0n I'm also on Win10 22H2 build 19045.3803.

@Sortam interesting. Maybe it doesn't happen on older Win10 versions. Are you also on 64 bit? Maybe share CPU and GPU information too.

Sortam commented 11 months ago

@Nuc1eoN Yes, 64 bit (32-bit is a very rare beast these days, I would say :) ). I use a laptop with Intel Core i5-1035G4 CPU and its embedded GPU Iris Plus Graphics at screen-native 1920x1080 resolution. The laptop has 16 GB of RAM and run from SSD. It's nothing special, and it's obviously not the bleeding edge of technology...

Nuc1eoN commented 10 months ago

I just tested this on my laptop which also has recent amd cpu/gpu hardware, but Orcaslicer behaves fine. My laptop is on Win10 Home 19045.3636, so maybe I could try to update and see if it will break orcaslicer. EDIT: Nope, Windows update is broken on my laptop so I cannot test it for now.

Another observation is that the bug only happens for the main Orcaslicer window. So if I open settings or another popup window it will behave fine.

Taskmanager performance tab does not show anything significant.

Iarann commented 10 months ago

Same behavior here. Win 10 x64, Intel i7-6700k, Nvidia GeForce RTX 2060

Nuc1eoN commented 10 months ago

Same behavior here. Win 10 x64, Intel i7-6700k, Nvidia GeForce RTX 2060

Thank you for sharing! So it does not seem related to specific hardware as I have an AMD system.

Would you mind posting your Win10 build version? It should be under Settings -> System -> Info

Iarann commented 10 months ago

Windows build info: Edition Windows 10 Pro Version 22H2 OS build 19045.3803 Experience Windows Feature Experience Pack 1000.19053.1000.0

FYI, another piece of info is that Bambu Studio 1.8.2.56 has the exact same behavior on my system.

Nuc1eoN commented 10 months ago

@AlexanderS Wow thanks the bit about bambu studio being affected is new!

Also it seems that only Win10 22H2 19045.3803 is affected so far. Prior versions work fine.

Also found https://github.com/bambulab/BambuStudio/issues/934 and https://www.reddit.com/r/BambuLab/comments/15uocss/does_anyone_elses_bambu_studio_application_window/

Nuc1eoN commented 10 months ago

Hi so I have figured out what triggers the issue.

It seems that it only happens when your mouse is set to a high polling rate like 1000hz (gaming mice).

Try to set the pollings rate down to the lowest setting and reproduce. I would be very thankful for feedback whether this helps for you too!

PS: Had the polling rate clue from this reddit post: https://www.reddit.com/r/WindowsHelp/comments/p9gwel/slow_motion_windowdragging_bug_on_windows_1011/

Iarann commented 10 months ago

It seems that it only happens when your mouse is set to a high polling rate like 1000hz (gaming mice).

@Nuc1eoN Apparently for my system, "high polling rate" is anything about 125hz. Anything higher and I still have "inertia" issues where the screen keeps moving after the mouse stops. But, if I set it for 125hz it eliminates the "inertia", but I still see erratic behavior if I move the screen too quickly.

Just tried a completely different mouse and it moves the window with no issues. Definitely points to a mouse related issue now the question is why.

CypisPiotr commented 8 months ago

Same problem here (AMD Ryzen 5700G, Win10) - using Logitech G600 mouse, polling at 250 and more Hz causes the drag on Orca window

elyograg commented 7 months ago

I'm having a similar problem in Windows 11... but it's with the middle button, dragging the view around. It drags SUPER slow. Rotating the view with the primary mouse button is fast.

CypisPiotr commented 7 months ago

Still present in 2.0.0

dezenten commented 5 months ago

Same problem here, maybe I need to upgrade to a faster computer? My setup: Windows 10 22H2, Intel I9-12900KS @5Ghz, Nvidia 3090.

This would make the Adobe reader optimization team jealous.

jum0n commented 5 months ago

Same problem here, maybe I need to upgrade to a faster computer? My setup: Windows 10 22H2, Intel I9-12900KS @5ghz, Nvidia 3090.

You probably need to upgrade to 4090. The 3090 is known to be slow at melting filament. :P

Azio-Pantheon commented 3 months ago

https://github.com/godotengine/godot/issues/60646 I found a similar issue on other software. Could be related?

Duglum commented 2 months ago

Can confirm, it's the Mouse polling rate. 1000hz is super slow and sluggish, 125hz works as expected. Bambu Slicer has the same issue while Prusa Slicer works perfectly fine.

Win10 22H2 19045.4780 Orca Slicer v2.2.0-dev nightly from today. AMD 7950X3D, Nvidia RTX 4090. All drivers are up to date.

This is extremely annoying, hope it will get fixed soon?

MatthewMartinFD commented 2 months ago

Any update on this? I'm seeing the same behavior.

sgghostrider commented 1 month ago

I came here from google, just installed OrcaSlicer for the first time and immediately searched it as soon as i saw it. It has been almost a year since the opening of this issue, any plans on fixing this? is this issue even known by the developers?

DoubleStrike commented 3 weeks ago

I have a feeling it's the interaction of not just a high mouse rate but also a refresh rate higher than 60 Hz (for the one person above that couldn't repro). I found a similar issue in Blender when dragging the window with the splash screen showing. This really does need to be elevated in priority, as it is a really frustrating user experience.

To be clear, this is not confined to Windows 10, it can happen on Win 11 also.

jum0n commented 2 weeks ago

After reducing my mouse polling rate, the issue went away for me. I'm at 144mhz for display refresh, no issues.