Windows 10 64bit, SciTE 5.2.2 64bit
If I try to open even a small text file (a few kb) from a corporate network share, Scite becomes unresponsive and I have to kill it. The 5.2.1 version of Scite, instead, works fine.
Moreover, if I share the same files from a PC, the 5.2.2. version seems to work.
I've tested both the single-file version and the full-download version obtaining the same results.
Any clue on what is possibly happening ?
This doesn't occur for me on Windows 10 although I can only test against shares from macOS.
There was some work on pattern matching and relative file paths, particularly when using .editorconfig with
editor.config.enable=1. When not using editorconfig the code shouldn't do much unless using the newmatchproperties statement or the$(RelativePath)variable. There is some potential for trouble when parent directories are inaccessible due to permissions.Can you show the full path causing the hang? In particular, is it using a conventional disk mapped path like
G:\example\x.cxxor a hostname path like\\zebroid\share\example\x.cxx.Are you using directory properties with
properties.directory.enable=1.Since its caused by file location, it's most likely in SciTE, not Scintilla or Lexilla.
If you can build SciTE, then tracking down which revision causes the problem will help.
The potentially relevant set of revisions between 5.2.1 and 5.2.2 are:
Related
Bugs:
#2313Feature Requests:
#1434The problem only arises using network paths (the same path mapped as a disk works). The problem also arises in previous SciTE versions when
properties.directory.enableis set.The ultimate problem lies in the call
_wfopen(filename, mode)insrc/FilePath.cxx:246. When filename is equal toL"\\\\srv0001\\SciTEDirectory.properties", it waits forever.I managed to reproduce it in a simple main and my findings are:
Would it be possible to modify the
IsRootcheck to account for the\\server\sharecase ? I also noticed that in commit [e1be7e] the call to the functionGetDirectoryPropertiesFileNamehas been moved outside theproperties.directory.enablecheck.Related
Commit: [e1be7e]
Last edit: Kabugio Balthagi 2022-05-04
Fixed with [acc4a9].
Related
Commit: [acc4a9]
Tested. It works fine now.
Thank you for your prompt response.