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 23 Nov 2021

    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



    18 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

                              #15

                              kate.dulko

                                Posted 23 Oct 2018

                                Hi guys,


                                Thank you for your posts.


                                I kindly ask you to follow the steps from this post - we would appreciate a lot this additional information and this can help us to detect a reason.


                                Also, can you please let me know when did the issue become to reproduce? Can this be related to updating the IDE or some Windows updates?


                                In addition, since a reason for the issue can be caused by the behavior of Microsoft Visual Studio IsoShell, may I please ask you to re-install Isolated Shell? 
                                If this is acceptable to you, please follow these steps:

                                1. please uninstall Microsoft Visual Studio Shell (Isolated);
                                2. after this please uninstall The Welkin Suite IDE;
                                3. download Microsoft Visual Studio 2013 Shell (Isolated) and install it separately from the IDE;
                                4. re-download TWS from the website and install it again;
                                5. launch the IDE.

                                Looking forward to your responses and we continue our investigation 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

                                 

                                  


                                #16

                                Kasper Stolk

                                  Posted 17 Dec 2018

                                  Hi Kate,


                                  I followed your steps, uninstalled everything and even cleaned any leftover data in the AppData folder.

                                  Still having this issue, tried to find if the file is locked but it is not according to Handle (/Process Explorer).

                                  Doesn't happen consistently so it's not easy to reproduce.


                                  Any update on a possible fix / workaround?



                                  #17

                                  Kasper Stolk

                                    Posted 02 Jan 2019

                                    Hi Kate,

                                    Please see attached screenshots.
                                    I'm still having this issue, but I noticed that when I actually press 'Save' and click 'Yes' to replace the file (say foo.cls), I get an error that the file is in use by another process. BUT the file mentioned is not the file (foo.cls) but rather a weird temporary looking file like v2ci3zvp.loj (see save_as.jpg). Note that this file is created at the same time the 'Save File As' dialog pops up.

                                    So:

                                    • I cannot save Apex files from time to time
                                    • The 'Save File As' dialog causes a file to be created which (name and extension) is different every time
                                    • The original (foo.cls) file and the temporary file (v2ci3zvp.loj) don't seem to be locked
                                    • I need to restart Welkin to solve the issue (until it happens again and start over)

                                    Any updates on progress on this issue?


                                    Attached Files


                                    #18

                                    kate.dulko

                                      Posted 04 Jan 2019

                                      Hi Kasper,


                                      Thank you for your posts and please sorry for the delay in our responses.


                                      As for progress in solving this issue, we continue looking for a way to solve this.

                                      Regarding a reason for this, this is caused by internal processes launched by Visual Studio when saving a file. We found a similar discussion here. The issue is reproduced as for VS 2017, as well for 2013. Since The Welkin Suite for Windows is based on the Visual Studio Isolated Shell 2013, some of the issues which are present there can appear in TWS.

                                      One one hand, we are looking for a way to find an exact reason for this behavior or some regularity for reproducing the issue, on another hand we keep our eye on updates and bits of advice from the Visual Studio team on this issue.



                                      Meantime, we can see that the files with the different extensions, like *.loj, *.v04, *.3c3, etc., are temporary backup files which IsoShell creates when saving a file(s). You can delete them and check if the issue is reproduced.

                                      As for the message, that a file is used by another process, we have been faced with one additional case of appearing this message when a project was created on some external storage, for example, OneDrive, Google Drive, Dropbox, etc.
                                      Can you please let us know if your project is created locally or on some of such storages?
                                      If you use any external storage for your TWS project, I kindly ask you to create a project locally and please check if the issue is reproduced.


                                      Also, if you don't mind me asking, can you please check if the issue is reproduced when you wait several seconds after editing a file (5-7 seconds) and then save an edited file.


                                      We continue to investigate this issue and will do our best to find a solution for this as soon as possible.


                                      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

                                       

                                        


                                      #19

                                      shane.jensen

                                        Posted 23 Nov 2021

                                        Is there any update on this, I just installed Welkin Suite to a new machine, and I'm getting this constantly, with the latest version of Welkin Suite on Windows 11. 

                                        Though I have to ask is this product still being supported, there hasn't been a new release since Feburary 2021?






                                        Boost Your Productivity. Get Started Today

                                        Try Free Trial