Notepad++ File Status Auto-Detection not working
-
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 -
-
ok - this is working for me.
I would suggest that you try the following- disable File Satus Auto-Detection
- restart npp and check if it is still disabled, if yes reenable it.
- retest
if this does not work try the next
- stop npp
- depending on your configuration, rename the %APPDATA%\notepad++ directory
- restart npp
A new directory with the default configuration files should have been created under %APPDATA% - restest.
Cheers
Claudia -
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? -
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? -
Let me see if I can reproduce this by reconfiguring wine to use windows xp api layer.
Cheers
Claudia -
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 -
Thank you :)
-
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 -
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 -
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. -
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 -
Well, Thank You very much for your help! :)
-
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 -
<PlatformToolset>v140_xp</PlatformToolset> is used, so build should still be compatible with Win XP SP3.
-
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 -
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
-
Maybe we can bisect the problematic range, starting with testing te artifacts from:
https://ci.appveyor.com/project/donho/notepad-plus-plus/build/1.0.1635
to see if this also happens with the appveyor images.And then maybe
https://ci.appveyor.com/project/donho/notepad-plus-plus/build/1.0.1582/ -
this is the last working one
Language menu and Style configurator sorted alphabetically and use the same language name in the Style configurator as the language menu.
https://ci.appveyor.com/project/donho/notepad-plus-plus/build/1.0.1526
this is the first which breaks it
Switch to VS 2015
https://ci.appveyor.com/project/donho/notepad-plus-plus/build/1.0.1530
There were no build from 1.0.1527 to 1.0.1529 due to errors.
Cheers
Claudia -
But https://ci.appveyor.com/project/donho/notepad-plus-plus/build/1.0.1526 is a Pull request #3726 build, so not a direct successor of Switch to VS 2015 (https://ci.appveyor.com/project/donho/notepad-plus-plus/build/1.0.1530)
That would be https://ci.appveyor.com/project/donho/notepad-plus-plus/build/1.0.1521,
with
https://ci.appveyor.com/project/donho/notepad-plus-plus/build/1.0.1527
https://ci.appveyor.com/project/donho/notepad-plus-plus/build/1.0.1528failing.