scijava / script-editor

Script Editor and Interpreter for SciJava script languages
http://imagej.net/Script_Editor
BSD 2-Clause "Simplified" License
12 stars 12 forks source link

FileSystemTree event loop: ignore children file events that aren't CREATE or DELETE. #42

Closed acardona closed 4 years ago

acardona commented 4 years ago

Before, if a file in a folder shown in Fiji's Script Editor file tree was modified (e.g. grew in size), the whole subtree of the folder would be recreated, which is an expensive UI operation, and an entirely unnecessary one.

Issue spotted by @haesleinhuepf at https://forum.image.sc/t/fiji-hangs-because-of-specific-folders-in-the-side-bar-of-the-script-editor/36582