Use the printer icon in the Layer List. It is disabled for layer "Layout New".
If printing is disabled for a layer, all straight lines become infinite. This feature is called construction layer.
Enable printing for the layer and the infinite line extensions disappear.
Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution