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.14k stars 839 forks source link

Layer sliders in Preview section lose onclick focus when the cursor leaves the app window #6646

Open einichi opened 1 month ago

einichi commented 1 month ago

Is there an existing issue for this problem?

OrcaSlicer Version

2.1.1

Operating System (OS)

macOS

OS Version

14.6.1

Additional system information

No response

Printer

Ankermake M5

How to reproduce

  1. Slice any file and go to Preview tab
  2. Click, hold and drag the layer slider up and down, note it should work normally
  3. Now click and drag, but move the mouse outside of the Orca Slicer window
  4. The slider should lose its click focus and the camera of the 3D view will move instead

Actual results

Preview camera moves instead of the layer slider

Expected results

Layer slider continues to move even if cursor drifts outside of app window

Project file & Debug log uploads

Project is irrelevant to issue

debug_Tue_Sep_03_01_00_02_3949.log

Checklist of files to include

Anything else?

https://github.com/user-attachments/assets/d5bedb0a-7cea-477f-b9cb-f772b30fada3

Attaching short screen capture of the issue

Rekemot commented 4 weeks ago

I join the question. It's very frustrating when you want to check something and all of a sudden the whole preview starts rotating instead of changing layers just because the mouse went outside the window.

einichi commented 4 weeks ago

I should add that I do not experience this behavior in any other slicer, including Prusa.

LazaroFilm commented 1 week ago

Same problem here. It's especially hard on my setup with dual monitors as my cursor goes to the right monitor and the view get's all messed up.

This is on 2.2.0-rc

https://github.com/user-attachments/assets/bc125013-a6f3-45b5-a073-4cae78239ae0