Community
    • 登入

    Changelog opens every time I start NPP

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    25 貼文 18 Posters 32.5k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • mcgregormediaM
      mcgregormedia
      最後由 編輯

      The changelog appears on a tab in NPP every time I open the program. If I close the tab and restart the program, it returns. Is there a setting I’m missing or is this a bug?

      Claudia FrankC 1 條回覆 最後回覆 回覆 引用 1
      • Claudia FrankC
        Claudia Frank @mcgregormedia
        最後由 編輯

        @mcgregormedia

        that’s strange - if you explicitly close the file it shouldn’t reopen on next startup.
        If you just close npp, then yes, it might reappear if you have
        Settings->Preferences->Backup->Remember current session for next launch activated.
        Which makes me think that you have no write access to the file session.xml which holds
        that kind of information. (Either under %APPDATA%\notepad++ or installation directory)

        Cheers
        Claudia

        1 條回覆 最後回覆 回覆 引用 0
        • thecoopT
          thecoop
          最後由 thecoop 編輯

          I’ve got the same issue, and the write permissions to %APPDATA%\notepad++ seem ok. How do I manually edit session.xml to make the change.log file go away?

          Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
          • Claudia FrankC
            Claudia Frank @thecoop
            最後由 Claudia Frank 編輯

            @thecoop

            temporarily, rename session.xml - start npp - is it gone?

            Cheers
            Claudia

            1 條回覆 最後回覆 回覆 引用 0
            • thecoopT
              thecoop
              最後由 thecoop 編輯

              Nope - still appears, and a new session.xml is not created on startup

              EDIT: I think I’ve figured out what it is - I pinned NPP to the taskbar when I first started it up, when the change.log file was open. This made windows pin that file specifically, rather than just starting NPP. So when I started it by clicking the icon, I was opening change.log within NPP

              Claudia FrankC sirberusS Gary HuckaboneG Sloan OzanneS volksvan86V 6 條回覆 最後回覆 回覆 引用 8
              • Claudia FrankC
                Claudia Frank @thecoop
                最後由 編輯

                @thecoop

                afaik, session.xml gets created when closing npp.
                If it still appears than it means that you either have edited the wrong file
                (it could be in two places, depending on your configuration) or it
                isn’t in the the session.xml file at all. Strange.
                Could you show your debug-info?
                Available under menu ?

                Cheers
                Claudia

                1 條回覆 最後回覆 回覆 引用 0
                • Claudia FrankC
                  Claudia Frank @thecoop
                  最後由 編輯

                  @thecoop

                  aahhh - this is a good one ;-))))

                  Cheers
                  Claudia

                  1 條回覆 最後回覆 回覆 引用 0
                  • Claudia FrankC
                    Claudia Frank
                    最後由 編輯

                    Hmmm, which makes me thinking if npp gets updated - might it restart with command line parameter
                    set to load changes.log file??

                    @thecoop
                    could you see if your link (shortcut) has set this parameter?

                    Cheers
                    Claudia

                    1 條回覆 最後回覆 回覆 引用 0
                    • thecoopT
                      thecoop
                      最後由 編輯

                      Yup - pinning the instance of Notepad++ that is opened by the installer uses a shortcut target of:

                      "C:\Program Files\Notepad++\notepad++.exe" C:\Program Files\Notepad++\change.log
                      
                      Claudia FrankC Raoni Silva Serra - INTEGRAR 2 條回覆 最後回覆 回覆 引用 2
                      • Claudia FrankC
                        Claudia Frank @thecoop
                        最後由 編輯

                        @thecoop

                        thank you very much.
                        Now we need to find out if and how this can be prevented by npp.

                        Cheers
                        Claudia

                        1 條回覆 最後回覆 回覆 引用 1
                        • sirberusS
                          sirberus @thecoop
                          最後由 編輯

                          @thecoop Can’t thank you enough for figuring this out and posting the solution, it was driving me nuts.

                          1 條回覆 最後回覆 回覆 引用 0
                          • Gary HuckaboneG
                            Gary Huckabone @thecoop
                            最後由 編輯

                            @thecoop FWIW, I closed all open files, unpinned NP++, re-opened it with no files, then re-pinned it. Thanks.

                            1 條回覆 最後回覆 回覆 引用 0
                            • Mutlu ErkolM
                              Mutlu Erkol
                              最後由 編輯

                              Please Try It

                              Delete Your Notepad++ shortcut
                              &
                              Run from => Start Menu > All Programs > Notepad++

                              I did this.

                              1 條回覆 最後回覆 回覆 引用 0
                              • VinothV
                                Vinoth
                                最後由 編輯

                                Mutlu Erkol, Thanks i did the same and got rid of this.

                                Guys,
                                if someone facing this issue, just delete that shortcut by closing that change.log file and again open from start, then that chage.log file will be dissapeared.
                                after that u can make it as a shortcut anywhere :).

                                Cheers,
                                Vinoth RN

                                1 條回覆 最後回覆 回覆 引用 0
                                • Carey BrownC
                                  Carey Brown
                                  最後由 編輯

                                  YES!!! Thank you very much! I had the same issue myself. Even after deleting the file, then I had a message about a new file constantly popping up. Very annoying! It’s fixed now though. :)

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • Jey YellandJ
                                    Jey Yelland
                                    最後由 編輯

                                    This was driving me a little crazy too, so I found and deleted change.log. Then NPP 7.3.3 informed me on each NPP start up that the change.log file was missing. NPP did this over two prompts, (1) Is it OK to build C:\Program? (2) is it OK to build File? I denied NPP a few days, and finally gave in to let it just build the darned files. Well somehow C:\Program was built as a 0KB file, owned by <computername>\Administrators, and I can’t touch it. It seems to be impacting elder apps (e.g. old Cisco VPN still in use). I have a hunch that C:\Program is getting in the way of path C:\Program Files… Windows is prompting me on every boot if it can rename this file, but even the boot process can’t touch C:\Program. (This is a corporate laptop and I’ve Googled and attempted many possible treatments to remove. My help desk seems stumped too.)

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • Raoni Silva Serra - INTEGRAR
                                      Raoni Silva Serra - INTEGRA @thecoop
                                      最後由 編輯

                                      @thecoop thanks a lot! I deleted ‘C:\Program Files\Notepad++\change.log’ from the shortcut and it worked.

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • Matt CrosbyM
                                        Matt Crosby
                                        最後由 編輯

                                        This was bothering me to no end. Thanks for the solution!

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • Casual YouTuber31C
                                          Casual YouTuber31
                                          最後由 編輯

                                          Thanks for the solution! If you’ve pinned to the taskbar you can right click on the NPP icon, select properties, and remove the changelog path in the target field. You don’t have to delete the link with this ;)!

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • Michael SheltonM
                                            Michael Shelton
                                            最後由 編輯

                                            @thecoop - Thank you for saving my sanity. You’re the hero that gotham needs…

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 第一個貼文
                                              最後的貼文
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors