Scalar gauge theory on a cylinder