PDF export and Printing use the continuous view which is set for display
OS: Windows 10 Version 2009, Arch.: x86_64, MuseScore version (64-bit): 4.0.1-230121751, revision: 9b70a8c
1) set page display as "Continuous view (vertical)
2) export score as PDF --or-- print score
3) One generated PDF page with height larger than paper size, no page break occurs
Expected to get the normal page breaks even if the display mode is set to continuous view (it was the case with version 3).
Workaround : set display mode to "page view" before printing or exporting.