Thanks I've fixed the +/-0 issue for the next version. I wasn't able to reproduce the second $window().w issue however. I tested with @test window active/non-active, minimized/maximized/restored and it returned the correct value.