• Login
Community
  • Login

[Version 8.1] Impossible to save a temporary file when a directory was selected when saving another temporary file

Scheduled Pinned Locked Moved General Discussion
18 Posts 5 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    dany isenguerre @PeterJones
    last edited by Jul 1, 2021, 4:35 PM

    @PeterJones
    Hello Peter,

    Thanks for you check.

    I though I became crazy because the bug disappeared yesterday after your answer. I was able to save my files.

    But it came back today.

    I will try to understand what are the common way of doing to produce it.

    I think it happens when I change the directory and paste the filename from clipboard.

    But not systematically.

    I’ll search and come back to you as soon as I find.

    Yours,

    Dany

    D 1 Reply Last reply Jul 1, 2021, 4:45 PM Reply Quote 0
    • D
      dany isenguerre @dany isenguerre
      last edited by Jul 1, 2021, 4:45 PM

      @dany-isenguerre Additional information: I’m able to change the file name before changing the directory, not after. I tried it to save my file, but I discovered the save button doesn’t work anymore once I changed the directory.

      I don’t know if it could have an impact, but I created a macro last week and assigned the <alt><ctrl><shift>S combination to it. It’s very close to the save shortcuts.

      D 1 Reply Last reply Jul 1, 2021, 4:59 PM Reply Quote 0
      • D
        dany isenguerre @dany isenguerre
        last edited by Jul 1, 2021, 4:59 PM

        @dany-isenguerre Hello, sorry to spam.

        I found a way to systematically produce the bug on my current session.

        I save a temporary file

        In the dialog, I change (or not) the file name.

        As soon as I change the directory of the top hierarchical navigation (Windows 10), C:\SVN\trunk\VSS\Product\Generic, the bug appears. My only escape then is to close the dialog.

        But I I use the left navigation tree when the dialog opens, it works.

        This is strange because you use the top hierarchical navigation too in your checks. I’ll investigate more.

        Yours,

        Dany

        1 Reply Last reply Reply Quote 0
        • D
          dany isenguerre
          last edited by Jul 2, 2021, 7:36 AM

          Hello all,

          I found a way to reproduce the bug systematically on my computer

          When I create a new file and paste the clipboard in it, not saving it

          If this is the first file I want to save since I opened Notepad++, it works. In the saving dialog, I can navigate using the top hierarchy and the left tree, change/select the name and save the file.

          If there are other previously saved files, if I first go to one of these files and save it. When I come back to my temporary file I want to save now, the default directory changed to the existing file directory I just saved.

          In that case, if I use to top hierarchy to navigate, the bug appears (note: these directories use SVN and Tortoise and are 7 or 8 levels deep, would it be related ?), I can’t change the file name anymore and the “save” button is no more responding.

          Could you try ?

          I’ll check for Tortoise and directories depth.

          Yours,

          Dany

          P 1 Reply Last reply Jul 2, 2021, 12:57 PM Reply Quote 0
          • P
            PeterJones @dany isenguerre
            last edited by Jul 2, 2021, 12:57 PM

            @dany-isenguerre said in [Version 8.1] Impossible to save a temporary file when a directory was selected when saving another temporary file:

            Could you try ?

            My directory structure:

            C:\users\peter.jones\Downloads\TempData\nppCommunity\FolderForFirstFile\
            C:\users\peter.jones\Downloads\TempData\nppCommunity\FolderForSecondFile\one\two\three\four\five\six\seven\
            

            My steps:

            1. Create file with text
            2. Save in FolderForFirstFile\ as alpha.txt
            3. Create a new file (new 1)
            4. Paste clipboard into the new 1 tab
            5. Go to alpha.txt tab, edit, and save
            6. Switch to new 1 tab`
            7. Save unsaved changes:
              • navigate to FolderForSecondFile\one\two\three\four\five\six\seven using the top bar to go up to the parent nppCommunity\ directory, then use the tree view to dig down into ...\seven\
              • click in File Name box
              • successfully type beta.txt
              • click save
              • file saves correctly

            I cannot replicate your problem.

            1 Reply Last reply Reply Quote 0
            • E
              Eric J. Katowitz
              last edited by Jul 15, 2021, 2:00 PM

              I am having the same bug, except mine occurs randomly when I try to save any temporary file that was created during that session. It doesn’t matter if I saved anything before that, as this can occur on the first file save.

              When I go to save and choose the directory, I can’t edit the filename, backspace takes me up a directory level, and the save button does nothing (dialog stays open and nothing occurs).

              If I close Notepad++ and then reopen it the problem is resolved.

              This issue only started occurring after upgrading to Version 8.1.1. I am using the 64-bit version on Windows 10.

              Let me know if you need any additional information to help diagnose the issue.

              P 1 Reply Last reply Jul 15, 2021, 2:04 PM Reply Quote 0
              • P
                PeterJones @Eric J. Katowitz
                last edited by PeterJones Jul 15, 2021, 2:04 PM Jul 15, 2021, 2:04 PM

                @Eric-J-Katowitz ,

                Can you show your ? menu’s Debug Info – maybe the exact version of windows, or the way you are calling Notepad++, affects it… and Debug Info gives lots of helpful info. As I showed above in my replies to the original posts, I cannot replicate the problem in v8.1-64bit with Windows 10 version 1903 (build 18362.1256).

                Notepad++ v8.1   (64-bit)
                Build time : Jun 17 2021 - 01:56:07
                Path : C:\usr\local\apps\notepad++\notepad++.exe
                Command Line : 
                Admin mode : OFF
                Local Conf mode : ON
                Cloud Config : OFF
                OS Name : Windows 10 Enterprise (64-bit) 
                OS Version : 1903
                OS Build : 18362.1256
                Current ANSI codepage : 1252
                Plugins : ComparePlugin.dll ExtSettings.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConsole.dll NppConverter.dll NppEditorConfig.dll NppExec.dll NppExport.dll NppFTP.dll NppUISpy.dll PreviewHTML.dll PythonScript.dll QuickText.dll TagLEET.dll XMLTools.dll 
                
                P 1 Reply Last reply Jul 17, 2021, 5:28 PM Reply Quote 1
                • P
                  PeterJones @PeterJones
                  last edited by Jul 17, 2021, 5:28 PM

                  @Eric-J-Katowitz / @dany-isenguerre ,

                  It looks like this problem has persisted into at least v8.1.1

                  Can one of you that’s having difficulty with saving files see if the problem persists when using v8.1.2-RC?

                  G 1 Reply Last reply Jul 30, 2021, 2:41 PM Reply Quote 0
                  • M
                    mere-human
                    last edited by Jul 17, 2021, 6:12 PM

                    It would be nice to see a video or at least the Debug Info.

                    1 Reply Last reply Reply Quote 1
                    • G
                      Gilad D @PeterJones
                      last edited by Jul 30, 2021, 2:41 PM

                      @PeterJones I was having this exact same issue in 8.1.1, and it continues in 8.1.2.
                      I am able to consistently reproduce it using the following steps.

                      • Create a new document in Notepad++.
                      • Edit it.
                      • Press Ctrl+S.
                      • Change the current folder to another location (Using the “bread-crumbs” folder selection in the top of the window! This issue doesn’t happen when I browse the folders structure using the keyboard or the left-hand folders panel).
                      • Try to enter a new file name. Nothing is entered.
                        I’m happy to send a video of this in action, if needed.
                        OS is Windows 7, by the way.
                      P 1 Reply Last reply Jul 30, 2021, 2:51 PM Reply Quote 0
                      • P
                        PeterJones @Gilad D
                        last edited by Jul 30, 2021, 2:51 PM

                        @Gilad-D ,

                        OS is Windows 7

                        There was an issue #10238 created because something similar was happening in Windows Vista. @mere-human submitted a fix which has been accepted; can you confirm if this fixes it on Windows 7 as well?

                        To run with the latest not-yet-released build (which includes that fix), please follow the instructions at
                        https://github.com/notepad-plus-plus/notepad-plus-plus/wiki/Testing#using-the-current-build-version-of-notepad.

                        G 1 Reply Last reply Jul 30, 2021, 3:08 PM Reply Quote 0
                        • G
                          Gilad D @PeterJones
                          last edited by Jul 30, 2021, 3:08 PM

                          @PeterJones
                          I followed the instructions and the issue seems to be resolved in that debug version.
                          Hopefully this fix can be integrated into the next release of NPP.

                          P 1 Reply Last reply Jul 30, 2021, 3:25 PM Reply Quote 2
                          • P
                            PeterJones @Gilad D
                            last edited by Jul 30, 2021, 3:25 PM

                            @Gilad-D said in [Version 8.1] Impossible to save a temporary file when a directory was selected when saving another temporary file:

                            I followed the instructions and the issue seems to be resolved in that debug version.

                            Good!

                            Hopefully this fix can be integrated into the next release of NPP.

                            Yes, the code is already integrated into the main codebase, so whenever the next release occurs, that fix will be included.

                            G 1 Reply Last reply Jul 30, 2021, 3:33 PM Reply Quote 0
                            • G
                              Gilad D @PeterJones
                              last edited by Jul 30, 2021, 3:33 PM

                              @PeterJones Thanks!

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              The Community of users of the Notepad++ text editor.
                              Powered by NodeBB | Contributors