-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Save to Disk does not automatically populate a filename anymore #12659
Comments
I think this is probably related to #11991. If I insert a removable drive and click "Save to Removable Drive", the file is saved correctly as |
Here's a log of me opening a fresh instance of Cura, opening a calibration cube, slicing it, and clicking save to disk (note, I didn't see any logs when I clicked save to disk). I've also included a project file for that instance (I renamed it to zip since github wasn't happy with .3mf) |
Looks like "Save to Disk" is actually implemented over in Uranium. Let me know if you'd rather me file a bug over there |
If you do this then does the file format in GFF+ work? |
The problem seems to be in the communication between Cura and the system-provided file dialog; for some reason, on some Linuxes, the dialog ignores the filename that gets passed to it. The "Save to Removable Drive" skips the file dialog, and thusly gets the correct name. GFF+ would not fix this. |
Probably a duplicate of #12295, though that also mentions some other stuff that may not be the same issue. |
Yep. GFF+ does work when saving to a removable disk, so this is definitely a cura issue and not a GFF+ issue (rgomezjnr/GcodeFilenameFormatPlus#11) |
I'm not too sure if this is specific to the file system dialog. When I run the following snippet on the same machine I'm using to run cura, I get a file dialog box pre-populated with
What version of python / PyQt6 is Cura bundled with?
|
I get the same behavior with PyQt6 6.2.3 too (I think that's the version being used by cura based on https://github.com/Ultimaker/cura-build-environment/blob/a8a4b6b169ac8024fbdaf17f8f0b1e9f88521f24/projects/requirements.txt) |
We've added a ticket to the backlog with the intent to improve this. Thanks for the report! 👍 |
On Manjaro Linux, the filename is filled in in the save dialog but |
Quick update on our side. We might have a fix for this issue. 🎉 |
Hi, It populates the filename field automatically when I try to save either the project or the gcode, though it seems to work differently from Cura 4.x where after saving the project file itself did not cause the gcode to take the new name automatically, but in this nightly after saving the project under a different name, the filename for the gcode was automatically the new one. So in Cura 4:
I guess this based the name on the .stl file. In the Cura Nightly you have linked:
I don't know if this new way is the intended behavior, I guess it has pros and cons. |
As it was mentioned in this comment #12659 (comment) this seems to be half of the issue they have linked. The other half of that problem still stands though, which is the far more irritating one, but if this is solved, maybe it might help solve the other half? |
Quick update from our side 👋 We are cleaning up our open issues, so we can focus on the most requested and needed features and bug fixes from our community and from UltiMaker, I stumbled upon your issue regarding populating the filename. This seems to have been resolved in Cura 5.4 with the updated PyQT library. Regarding the remembering the Directory Location, that seems to be a duplicate of #12295 We had one of our developers take a look at how to improve this behavior and have a proposed solution here Ultimaker/Uranium@15bb154 I'll be closing this issue as a duplicate but you can follow the progress here: #12295 |
Application Version
5.0.0
Platform
Ubuntu 20.04
Printer
Creality Ender-3 Pro
Reproduction steps
Actual results
A save file window pops up with nothing pre-filled for the filename
Expected results
I expect the filename to be prefilled as "CE3PRO_xyzCalibration_cube.gcode".
Checklist of files to include
Additional information & file uploads
Cura 4.13.1: https://user-images.githubusercontent.com/2907401/177017962-96707719-2a45-412b-a741-2b819315990f.mp4
Cura 5.0.0: https://user-images.githubusercontent.com/2907401/177017898-0b5c994e-a615-42a5-834e-4a63e5e2b2bf.mp4
The text was updated successfully, but these errors were encountered: