The Welkin Suite Forum

Save as dialog opening intermittently on standard save



Save as dialog opening intermittently on standard save

  • Please log in to reply

#1
windows version welkinsuite

bdp1@queensu.ca

    Posted 07 Feb 2018 and edited 11 Oct 2018

    I'm not sure if this is a bug or if i'm just not understanding how something in welkinsuite works, but when I save, I am frequently presented with the save as window when I only want to do a standard save. It appears to happen when i save multiple times in quick succession, and it happens whether i use the menu or hotkeys for both save and save all. The first save will be fine (no window), but if i save again, each successive save will present me with the save as window. 5 seconds seems to be the magic number for it to reset to doing a standard save. I'm starting to find this extremely irritating as I tend to save very often, particularly when doing series of small formatting changes. Is there anything I can do to prevent this behaviour? 

    Thanks,

    -Brian



    13 replies to this topic

    #2

    kate.dulko

      Posted 09 Feb 2018

      Hi Brian,


      Thank you for contacting us with this issue.


      May I please clarify with you some additional information that could help us to find a reason for such behavior?

      Here are my questions:

           1. Can you please tell me for which type of files the issue applies?

           2. Do you use any Version Control tool (for example, Git) for your TWS project?

           3. Where is your project located: local folder, OneDrive, etc.?

           4. Do you get an option to replace a file when you get the 'Save as' dialog?


      Also, we will check if there could be created any temporary files that could cause the issue.


      Thank you,

      Kate


      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina
      e-mail: kate.dulko@welkinsuite.com

       

        


      #3

      bdp1@queensu.ca

        Posted 12 Feb 2018

        Hi Kate,

        1. The issue is occuring with apex (.cls) files. Out of curiousity, I tried it with a visualforce page (.page), but couldn't reproduce the issue.
        2. No. I couldn't find a way to associate a project with an existing repo, so I currently maintain it separately from TWS.
        3. My projects are stored in a local folder.
        4. Yes. The path it presents is the correct path to the file, and if i confirm, it tells me it already exists and asks if i would like to replace it as expected.

        Thanks for looking into this.

        -Brian



        #4

        kate.dulko

          Posted 13 Feb 2018 and edited 13 Feb 2018

          Hi Brian,


          Thank you for your detailed response.


          In this case, please follow the next steps - some of them could help to solve the issue, and other ones could provide us with an additional information that will help us in our investigation if the previous ones wouldn't help.

          Here they are:

          1. Please run The Welkin Suite IDE as an administrator and check if the issue would be reproduced.
          If this would help and you wouldn't get the same 'Save as' dialog again, this means that a reason is related to an access to a file that you are working on, for example, some external tool blocks the file.

          2. In this case, please move your TWS project to another location and check again if the issue would be reproduced.
          In addition, can you please tell me if this is reproduced for a newly created project?

          3. Also, if the issue would be reproduced when you run the IDE as an administrator, let's try to find a source that temporarily blocks a file, causing appearing the dialogue of preservation.

          1. Please download Handle utility provided by Microsoft.
          2. Unpack an archive, open the folder where unpacked files are located and run command line from this folder.
          3. Specify the next command: handle {className}, where className is related to a file that you would use for an investigation, but please don't run the command now.
          4. After this, please launch The Welkin Suite IDE and reproduce the issue:
               - at the beginning, please change the file and wait 5 seconds before saving (this is the case when you don't get a 'Save as' dialog), and during this 5 second before saving, please run the command in cmd; please send us a screenshot of a result that you would get after saving;
               - after this, please change the file again and click 'Ctrl+S', when you will get a 'Save as' dialog, don't close it and please run the handle command again; please send us a screenshot of a result that you would get;


          Looking forward to your response and thank you greatly for your collaboration!


          Best Regards,

          Kate


          Kate Dulko
          Customer Relations

          The Welkin Suite

          twitter: @KateDulko
          skype id: d_katerina
          e-mail: kate.dulko@welkinsuite.com

           

            


          #5

          bdp1@queensu.ca

            Posted 14 Feb 2018

            Hi Kate,


            1. I still encountered the same issue when running as an administrator.
            2. After moving one of my projects to a differen't location, the issue still occurred. I was also able to get it to happen consistently in 4 different projects.
            3. I tried following the steps you provided, but it never actually found a handle with the class name in question. I tried with and without file paths, with smaller subsets of the classname, and with different classes. I have attached the requested screenshots anyway.

            I did do some additional testing though, and got some interesting results. I am not able to get the save as dialog to open with smaller files no matter how rapidly I save, while it will happen quite consistently with some of my larger files. I was even able to get it to happen by taking one of the smaller files, quintupling its size, and attempting again. So while it doesn't appear to have anything to do with file locks, it does appear to be related to file size. 


            Let me know if you need anything else from me.


            Thanks,

            -Brian


            Attached Files


            #6

            kate.dulko

              Posted 14 Feb 2018

              Hi Brian,


              Thank you greatly for your response and for the additional information.


              May I please clarify with you how many code lines do you have in your 'small' and 'large' files?

              This could be related to some IsoShell limitations if there really big amount of lines. In this case, this could require additional investigations to solve the issue when a 'Save as' appears in the IDE.

              Anyway, we will be happy to work on this issue.


              Thank you,

              Kate





              Kate Dulko
              Customer Relations

              The Welkin Suite

              twitter: @KateDulko
              skype id: d_katerina
              e-mail: kate.dulko@welkinsuite.com

               

                


              #7

              bdp1@queensu.ca

                Posted 15 Feb 2018

                The file I could not get it to happen with ever has 55 lines (1.38kb). An example file that it happens consistently with (2 saves in a row will trigger save as every time) has 769 lines (7.45kb).


                -Brian



                #8

                kate.dulko

                  Posted 16 Feb 2018

                  Hi Brian,


                  Thank you for your response.


                  This means that it is not related to IsoShell limitations as we could think. We will continue our investigation about a reason for such behavior.

                  We did reproduce the issue for files that had more than 20k lines.


                  As for Handle tool, since when you run TWS as an administrator the issue was reproduced, this means that file wasn't blocked by other tools, and Handle showed to us exactly the same status - no matching related to blocking a file or simultaneous using this file from different sources. 


                  Also, can you please check if this would be reproduced for a newly created project?


                  Thank you,

                  Kate


                  Kate Dulko
                  Customer Relations

                  The Welkin Suite

                  twitter: @KateDulko
                  skype id: d_katerina
                  e-mail: kate.dulko@welkinsuite.com

                   

                    


                  #9

                  bdp1@queensu.ca

                    Posted 20 Feb 2018

                    Hi Kate,


                    Yes this is reproducible with a newly created project.


                    -Brian



                    #10

                    kate.dulko

                      Posted 21 Feb 2018

                      Hi Brian,


                      Thank you for your response.

                      Also, may I please ask you to share with us a description of your environment so that we could investigate if this can influent on the issue.


                      Thank you,

                      Kate


                      Kate Dulko
                      Customer Relations

                      The Welkin Suite

                      twitter: @KateDulko
                      skype id: d_katerina
                      e-mail: kate.dulko@welkinsuite.com

                       

                        


                      #11

                      bdp1@queensu.ca

                        Posted 22 Feb 2018 and edited 22 Feb 2018

                        Windows 7 Enterprise 64 bit

                        Intel Core i7-6600

                        8 gigs ram

                        On board graphics

                        Welkin Suite 1.16.6.4, run locally on local projects


                        I have used it at home from time to time as well, with a much more powerful machine. I can't recall at the moment if I encountered this issue while doing so. I'll report back on that tomorrow. Let me know if there were any specific details you were looking for.


                        Thanks,


                        -Brian



                        #12

                        kate.dulko

                          Posted 26 Feb 2018

                          Hi Brian,


                          Thank you for all the provided details.

                          Also, we have found that the similar issue applies to Microsoft Visual Studio Shell, even without reaching any limits (for example, of size, etc.). So we will track updates from Microsoft side related to solving this issue. At the same time, we continue our investigation how we can handle this behavior in the IDE.


                          Thank you for your collaboration.

                          Best Regards,

                          Kate


                          Kate Dulko
                          Customer Relations

                          The Welkin Suite

                          twitter: @KateDulko
                          skype id: d_katerina
                          e-mail: kate.dulko@welkinsuite.com

                           

                            


                          #13

                          Kasper Stolk

                            Posted 11 Oct 2018

                            Any updates on this?

                            This is driving me crazy, even happening with the latest Welkin Suite version!


                            Welkin Suite: 1.23.1.4

                            OS: Windows 10, 1803

                            32GB RAM

                            Intel(R) Xeon(R) CPU 3.70GHz



                            • 2

                            #14

                            Marco Voorwinden

                              Posted 11 Oct 2018

                              This is indeed very annoying! It also happens when not saving the file (using CTRL+S), but also when performing a Deploy (which save changes).


                              • 1




                              Boost Your Productivity. Get Started Today

                              Try Free Trial