Hi Dave, it behaves correctly on Windows as I used it to work out the difference in behavior as to why it wasn't working with gtk, thanks.