Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into qt-dev