Community
    • 登入

    Notepad++ File Status Auto-Detection not working

    已排程 已置頂 已鎖定 已移動 General Discussion
    file statusauto-detectionnot working
    57 貼文 10 Posters 47.2k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Кира РадионоваК
      Кира Радионова
      最後由 編輯

      Hello everyone, I’m from Ukraine. Sorry for my English.

      Notepad++ stopped monitoring file changes.

      Settings > Preferences… > MISC.
      File Status Auto-Detection
      [v] Enable

      It used to work, it stopped after it was updated. The settings are enabled.
      Notepad++ v7.5.4 (32-bit) for Windows XP LOL ;)

      Please help, how can I fix it?

      Claudia FrankC 1 條回覆 最後回覆 回覆 引用 1
      • Claudia FrankC
        Claudia Frank @Кира Радионова
        最後由 Claudia Frank 編輯

        @Кира-Радионова

        such problems are always difficult to solve from remote.
        What you can do is make some basic tests first like
        create a file and write something into it, save it as e.g. c:\temp\file.txt.
        Open cmd.exe and do something like dir > c:\temp\file.txt
        Go back to npp and see if content has changed, make sure you click onto notepad++
        in order to get the focus.

        If this does work, how are the files changed if it doesn’t work?

        Cheers
        Claudia

        1 條回覆 最後回覆 回覆 引用 1
        • Кира РадионоваК
          Кира Радионова
          最後由 編輯

          I finished as you wrote. Auto-Detection does not work.
          The Notepad++ received the focus, but there is no message about the changed file.

          Claudia FrankC 1 條回覆 最後回覆 回覆 引用 1
          • Claudia FrankC
            Claudia Frank @Кира Радионова
            最後由 編輯

            @Кира-Радионова

            could you describe in detail what you have done?
            Maybe you found a bug and if it can be reproduced it should
            be easy to find out what caused the issue.

            Cheers
            Claudia

            1 條回覆 最後回覆 回覆 引用 1
            • Кира РадионоваК
              Кира Радионова
              最後由 編輯

              Here, look, please

              https://www.youtube.com/watch?v=kT8DyXEGYtI

              Notepad++ File Status Auto-Detection not working

              Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
              • Claudia FrankC
                Claudia Frank @Кира Радионова
                最後由 編輯

                @Кира-Радионова

                ok - this is working for me.
                I would suggest that you try the following

                1. disable File Satus Auto-Detection
                2. restart npp and check if it is still disabled, if yes reenable it.
                3. retest

                if this does not work try the next

                1. stop npp
                2. depending on your configuration, rename the %APPDATA%\notepad++ directory
                3. restart npp
                  A new directory with the default configuration files should have been created under %APPDATA%
                4. restest.

                Cheers
                Claudia

                1 條回覆 最後回覆 回覆 引用 1
                • Кира РадионоваК
                  Кира Радионова
                  最後由 編輯

                  Did as you wrote.
                  1 way did not help, does not work.
                  2 way, I did differently. I downloaded the Portable version 7.5.4 of the Notepad++. It’s the same in it. File Satus Auto-Detection does not work.
                  Maybe it’s all because I have Windows XP?

                  1 條回覆 最後回覆 回覆 引用 0
                  • Кира РадионоваК
                    Кира Радионова
                    最後由 編輯

                    That’s what I found.
                    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3981
                    Someone has the same problem.
                    Most likely the bug is observed in the new version of Notepad on Windows XP.
                    Very sorry if this is so. Can fix it?

                    Claudia FrankC 2 條回覆 最後回覆 回覆 引用 0
                    • Claudia FrankC
                      Claudia Frank @Кира Радионова
                      最後由 編輯

                      @Кира-Радионова

                      Let me see if I can reproduce this by reconfiguring wine to use windows xp api layer.

                      Cheers
                      Claudia

                      1 條回覆 最後回覆 回覆 引用 1
                      • Claudia FrankC
                        Claudia Frank @Кира Радионова
                        最後由 編輯

                        @Кира-Радионова

                        No, seems to work for me

                        But the evidence that two users using windows xp having the same issue can’t be ignored.

                        Cheers
                        Claudia

                        1 條回覆 最後回覆 回覆 引用 1
                        • Кира РадионоваК
                          Кира Радионова
                          最後由 編輯

                          Thank you :)

                          1 條回覆 最後回覆 回覆 引用 0
                          • Кира РадионоваК
                            Кира Радионова
                            最後由 編輯

                            I found the third user with a problem. Here too someone wrote.
                            https://notepad-plus-plus.org/community/topic/14902/v7-5-2-and-v7-5-3-file-status-auto-detection-don-t-work

                            Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
                            • Claudia FrankC
                              Claudia Frank @Кира Радионова
                              最後由 Claudia Frank 編輯

                              @Кира-Радионова

                              Curious, despite the autodetection function there is another function with similar functionality.
                              It is under View->menu and is called Monitoring (tail -f). (the eye icon on toolbar)
                              If you activate this and do some changes do you see the updates?

                              Cheers
                              Claudia

                              1 條回覆 最後回覆 回覆 引用 1
                              • Кира РадионоваК
                                Кира Радионова
                                最後由 編輯

                                So, nothing happens.
                                In addition, after activating Monitoring (tail -f), it’s impossible to print anything in Notepad ++. The text does not print, as if the readonly mode is turned on.

                                Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
                                • Claudia FrankC
                                  Claudia Frank @Кира Радионова
                                  最後由 編輯

                                  @Кира-Радионова

                                  The text does not print, as if the readonly mode is turned on.
                                  That is correct and expected behavior. The function is the only one who can updated
                                  the file content once it gets triggered that file content has changed,

                                  So it looks like there is a general issue with file modified notification mechanism.

                                  Ok, I have another old laptop and I will install windows xp and do retesting.
                                  Will take some time.

                                  Cheers
                                  Claudia

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • Кира РадионоваК
                                    Кира Радионова
                                    最後由 編輯

                                    Well, Thank You very much for your help! :)

                                    Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
                                    • Claudia FrankC
                                      Claudia Frank @Кира Радионова
                                      最後由 編輯

                                      @Кира-Радионова

                                      ok - can confirm reported behavior.
                                      Last working version seems to be 7.5.1.
                                      I checked changes from 7.5.1 to 7.5.2 but couldn’t find any hint about the offending source part.
                                      This leads to the assumption, that switch to VS2015/VS2017 might be the root cause.
                                      As far as I know XP compatibility must be set explicitly in VS2015/VS2017 projects
                                      and it looks like it isn’t. At least I don’t find any hint it is set.

                                      Sorry, but that’s as far as I can go - without VS debugger I can only assume this is it.

                                      Cheers
                                      Claudia

                                      1 條回覆 最後回覆 回覆 引用 4
                                      • chcgC
                                        chcg
                                        最後由 編輯

                                        See https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/visual.net/notepadPlus.vcxproj

                                        <PlatformToolset>v140_xp</PlatformToolset> is used, so build should still be compatible with Win XP SP3.

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

                                          @chcg

                                          thank you for clarification - I was searching for v120_xp but in retrospect it makes sense
                                          that it is called v140_xp if using a new toolset.

                                          Any idea what might cause this behavior?

                                          Cheers
                                          Claudia

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • guy038G
                                            guy038
                                            最後由 guy038 編輯

                                            Hi, @claudia-frank, @chcg and All,

                                            I just confirm the bug : the File Status Auto-Detection mechanism does not work, since the v7.5.2 version, on my Win XP SP3 platform ?!

                                            Cheers,

                                            guy038

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