A test selects an open path in one document and a rectangle in a new one, then switches back and forth with set_active: the task bar offers Join only for the open path and Shape Properties only for the rectangle.