Occoured to a quite complex and lengthy script, but I could nail it down to just a few lines of code with a clean config:
Custom-Column-Setup:
Create a Custom Column as shown in the screenshot and attach it to the current view. Code as Text:
Code: Select all
"Test Crash"
$item = "<cc_item>";
$tag = 'do a lot of stuff';
tagitems("ex16", $tag, $item); //write tag
wait; //if this is removed everthing works fine ?!?
return "OK";
Important thing here is that Trigger is set to List. If it is set to Browse, the crash does not occour, but other things happen (see 2 and 3 below).
If
wait
is removed, it also works fine.If
tagitems
is removed, it also works fine.(In this demonstration the wait-statement is rather useless, but as far as I understand the documentation I can keep XY responsive by periodically calling it, while running a long script. I couldn't test this because of the bug I'm reporting right now...)
2. Items on other pane duplicate after using tagitems in custom-column-script
3. Following Items after the first item with the script are not shown in the list
Custom-Column-Setup:
Basically same setup as above, but this time we set Trigger to Browse and remove the
wait
statement (as the wait
makes no difference here):
Code as Text:
Code: Select all
"Test Duplicate"
$item = "<cc_item>";
$tag = 'do a lot of stuff';
tagitems("ex16", $tag, $item); //write tag
return "OK";
The behaviour does not occour when
tagitems
is not used.Every time the script gets executed (first time when entering the folder with custom column (saved as folder-view), and also every time you hit F5), the items on the other pane duplicate.
This duplication is only a visual thing, if you switch panes and hit F5 everything is back to normal.
The upper pane also contains a second txt-file and the XYplorer.exe, which are not shown in the list.