Not the signal is delayed but the output of print is.
Strings to print are cached for performance reasons so that if you put a print in for example _process() the game speed does not drop dramaticly.
Thanks for the info! While the print statement itself may be delayed, I believe something else is going on here. I added this code on:
func _on_Tree_cell_selected():
var SelectedItem = self.get_selected()
if SelectedItem.is_collapsed():
SelectedItem.set_collapsed(false)
SelectedItem.deselect(0)
else:
SelectedItem.set_collapsed(true)
SelectedItem.deselect(0)
print (str(SelectedItem))
And the same occurs with the collapsing/uncollapsing of the cell. It is delayed and not in sync with the mouse clicks. It allows the collapsing to occur about every second, same time the string is printed, versus whenever a cell is selected/clicked on.
Appreciate the insight, hopefully this is something simple as well.