prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.62k stars 1.92k forks source link

Sliced view scrolling needs attention. #12944

Open eneene opened 2 months ago

eneene commented 2 months ago

Description of the bug

Not really a bug. But the scrolling in the layer view used to be a lot better. I am not sure if this issue is particular to diferent mice models, but it used to be that for each click of my scrolling wheel, the layer height bar would jump a single layer. It used to give great precision when analising slicers work. Now it it takes a lot more clicks for layer, making it feel sluggish and slow.

Project file & How to reproduce

Just slice any model and navigate the layers bar on the right of the sliced window.

Checklist of files included above

Version of PrusaSlicer

Version 2.8.0+MacOS-arm64

Operating system

macos sonoma 14.5 (23F79)

Printer model

irrelevant to the issue.

sp847242 commented 1 month ago

I usually use the keyboard arrow keys for this purpose, but I also just tested scrollwheel performance, and I'm seeing the same thing as you:

v2.7.4: Setting my scrollwheel to free-spin and spinning it quickly, I get very smooth visual performance, with every single layer rapidly visible in the Gcode preview. If I keep spinning the scroll wheel, on a test model, it goes through about 500 layers in 10-11 seconds, and every individual layer is briefly shown. So it seems like this version did something to ensure that every single layer was displayed at least once. v2.8.0: Effectively a very low framerate, with many layers visually skipped. If I had to guess, it's updating the 3d Gcode preview at maybe 4-7fps. Doing that same scrollwheel test, the layer slider scrolled all the way between layers 1 and 500 in under 4 seconds, but I would estimate that the preview only updated about 20 times during that time, instead of 500.

Probably related: Arrow keys also are no longer usable for quickly scanning through a model's layers: pre-v2.8.0, holding down the up or down arrow key would quickly scroll through every single layer. It was a very rapid update rate, with each layer displayed in sequence. It worked well. In v2.8.0, this is no longer possible. When I press and hold an arrow key, the Gcode layer view moves by just one single layer, and then it stops updating, especially on more complex models. The next visual update generally happens when I release the arrow key, at which point the display jumps by several layers, proportionate to how long the key has been pressed.

I've also noticed that the preview is generally slower in 3d space, such as when simply moving around the sliced model in 3d space: Noticeably lower framerate in v2.8.0.

OS: Win10 Pro

YuSanka commented 1 month ago

@eneene , thanks for your report. SPE-2417

fe60 commented 1 day ago

Seems to be a duplicate of #12937