-
-
Notifications
You must be signed in to change notification settings - Fork 806
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timelapse download and delete buttons are misaligned when there are only two of them resulting in deletion of files by accident #5736
Comments
I've noticed this for the past few versions. I agree it can lead to accidental deletion if you're not paying attention. |
That's an issue that needs to be addressed eventually. |
pushing this as this is quite annoying. did some investigation why this is happening. Issue: you are adding either two or three buttons and expect that the hitboxes are 33% each. OrcaSlicer/src/slic3r/GUI/ImageGrid.cpp Line 622 in 2bf5487
visually this results in three button sections: however the logic uses TWO hitboxes with 50% each there you add the "empty" (or undefined) third option that behaves weird: OrcaSlicer/src/slic3r/GUI/ImageGrid.cpp Line 655 in 2bf5487
didn't check exactly, but i guess the reason for the 2 / 3 item check is there OrcaSlicer/src/slic3r/GUI/ImageGrid.cpp Line 277 in 2bf5487
if i had it set up to build locally, i'd either change ImageGrid.cpp:655 to not add the button when not downloading (favorite), |
guess this is the related commit that introduced the behavior, as thirdAction.IsEmpty() was checked before that commit. |
Is there an existing issue for this problem?
OrcaSlicer Version
2.1.0-beta
Operating System (OS)
Linux, Windows
OS Version
windows 11, kubuntu 22.04
Additional system information
No response
Printer
Bambulab X1C
How to reproduce
Have timelapse. Try to dowload. If you press left part of the button it will delete instead. Looks like you can press to the right of a button on a blank area and it will download still
Actual results
Misaligned button, that deletes file if you're not paying attention
Expected results
Downloading of a file.
Project file & Debug log uploads
no need, as reproduced on 2 separate OS
Checklist of files to include
Anything else?
Please fix it - it's very annoying.
The text was updated successfully, but these errors were encountered: