Jump to content
Ultimaker Community of 3D Printing Experts

Cura 3.4b - File Names Reverting Before Saving


AbeFM
 Share

Recommended Posts

Posted · Cura 3.4b - File Names Reverting Before Saving

I've been consistently getting issues with the filename reverting back to its previous state (unnamed, whatever the first model loaded was, etc). I'll enter the name but when it saves (unlisted on the SAVING" dialog) it will do so (and report it in the "saved as" notice, if you happen to read it.

 

Sometimes I know I've hit the button without hitting enter first. I suspect it happens when you hit enter but then hit save too soon (within a second?).

 

There is one caveat - I'm running two instances of CURA at one time - I have two different printers and the settings get confused going back and forth.

 

That may be the root cause of the issue, but I never had it until 3.4b, and I feel it is related to the input checker.

  • Link to post
    Share on other sites

    Posted · Cura 3.4b - File Names Reverting Before Saving

    Guess what guys?! I woke up this morning to find my 15 hour print of the wrong thing is coming along great!

     

    Does anyone want to buy it, cause I sure don't need another. That's why I carefully chose a filename before hitting save.

     

    How can this not be acknowledged by the team? It's not a Coding Challenge to make sure the file name in the file name blank is used when saving something, how about a little "We're very busy, but we admit that's a trivial problem, and we'll work on it someday"?

  • Link to post
    Share on other sites

    • 2 weeks later...
    Posted · Cura 3.4b - File Names Reverting Before Saving

    I've the same problem. When I change filename and click on SAVE TO FILE it saves prior filename, but if I wait a few seconds before clicking SAVE TO FILE then it saves correct filename. It's anoying.

  • Link to post
    Share on other sites

    Posted · Cura 3.4b - File Names Reverting Before Saving

    The sure-fire method I have is clicking in the blank, changing the name, hitting return. Clicking in another blank, but not a pulldown (so it doesn't reslice), pick out of it, then hit save.

     

    I've printed 15 things I didn't mean to, and ruined a few tests because my "testprintV4" saves as "testprintV3".

     

    I have no idea how you interact with the name blank, but when you leave it, it would be good to do some housekeeping.

  • Link to post
    Share on other sites

    Posted · Cura 3.4b - File Names Reverting Before Saving

    upgraded to CURA 3.4.1 and still failing. No way to save in SD with changed name but randomly.

  • Link to post
    Share on other sites

    Posted (edited) · Cura 3.4b - File Names Reverting Before Saving

    Could you help test a fix for me?

     

    You have to edit resources/qml/SaveButton.qml:

    https://github.com/Ultimaker/Cura/blob/3.4/resources/qml/SaveButton.qml#L259

    Around line 259, add the command forceActiveFocus(), like so:

                onClicked:
                {
                    forceActiveFocus()
                    UM.OutputDeviceManager.requestWriteToDevice(UM.OutputDev[...]
                }

    Note that I have shortened the line that starts with UM.OutputDeviceManager, because the forum would mangle the formatting otherwise. Please leave that line as is.

     

    If that works for you, I will submit a PR so it gets included in the next version.

     

    Update: See https://github.com/Ultimaker/Cura/pull/4057/files

    Edited by ahoeben
  • Link to post
    Share on other sites

    Posted (edited) · Cura 3.4b - File Names Reverting Before Saving
    12 hours ago, ahoeben said:

    Could you help test a fix for me?

     

    You have to edit resources/qml/SaveButton.qml:

    https://github.com/Ultimaker/Cura/blob/3.4/resources/qml/SaveButton.qml#L259

    Around line 259, add the command forceActiveFocus(), like so:

    
                onClicked:
                {
                    forceActiveFocus()
                    UM.OutputDeviceManager.requestWriteToDevice(UM.OutputDev[...]
                }

    Note that I have shortened the line that starts with UM.OutputDeviceManager, because the forum would mangle the formatting otherwise. Please leave that line as is.

     

    If that works for you, I will submit a PR so it gets included in the next version.

     

    Update: See https://github.com/Ultimaker/Cura/pull/4057/files

     I have tested it, but it doesn't work.

     

    Discovered a way to successfully change filename: instead of clicking where filename is to be writen, when I click on the pencil icon then change filename, it works, to the trick is around the "pencil icon". Just click on pencil name  at least once, then I change filename and save and it works, no need to click on pencil icon anymore, just once.

     

    Edited by Balty
    correct orthography
  • Link to post
    Share on other sites

    Posted · Cura 3.4b - File Names Reverting Before Saving
    2 hours ago, Balty said:

    I have tested it, but it dosn't work. 

    Hmm, strange. It did fix the issue for me. So there may be an additional issue.

     

    Could you describe what you do exactly to make it *not* work? The following steps resulted in the wrong filename for me before the patch, but in the correct filename after the fix.

     

    * Load a model

    * Click on the jobname and edit it

    * Do not press Enter when done, do not click any other text entry field when done

    * Press Save to File

     

  • Link to post
    Share on other sites

    Posted · Cura 3.4b - File Names Reverting Before Saving
    6 hours ago, ahoeben said:

    Hmm, strange. It did fix the issue for me. So there may be an additional issue.

     

    Could you describe what you do exactly to make it *not* work? The following steps resulted in the wrong filename for me before the patch, but in the correct filename after the fix.

     

    * Load a model

    * Click on the jobname and edit it

    * Do not press Enter when done, do not click any other text entry field when done

    * Press Save to File

     

     

    Hi again. I've checked what you wrote and ... it works. I don't know why it didn't work before, maybe I made a mistake on "savebutton" file.

    thanks !!!

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    • Our picks

      • The Ultimaker Showcase — October 14. What's new?
        Your dear friends at Ultimaker have some exciting news and insights for you!
         
        • 0 replies
      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 8 replies
    ×
    ×
    • Create New...