If you switch the stroke from none to a color I would expect the width to change from 0 to at least 1.
The version of the shape in the editor has no width (invisible unless selected), but the one on the stage is visible.

I would also expect the stroke width to automatically switch to 0 if you select no stroke.