fix #589, toolbar "info" doesn't work in cwd
Merge branch '2.x' into 2.1