When attempting to print either Songs or List in set mode.
Error went away after I changed print margins in Settings->Print Settings->Page Setup ,
Could not re-create the error.
Have 2.1 installed on the same machine.
Edition Windows 11 Home
Version 25H2
Installed on 3/7/2025
OS build 26200.7462
Experience Windows Feature Experience Pack 1000.26100.275.0
OutOfBoundsException, error is 'Width/Height needs to be in the range 1-32767':
OpenSong v3.4.8 (1457).1457 Build date: 2021-06-01 17:08:57 Windows
Stacktrace:
Picture.Constructor%%o<picture>i4i4i4
LeadSheetReport.Generate%b%o<leadsheetreport>f8o<group2d>
MainWindow.MainWindow.ActionSetPrintList%%o<mainwindow.mainwindow>
MainWindow.MainWindow.btn_set_print_order_Action%%o<mainwindow.mainwindow>o<sbutton>
Delegate.IM_Invoke%%o<sbutton>
AddHandler.Stub.26%%
SButton.Event_MouseUp%%o<sbutton>i4i4
Delegate.Invoke%%
Application._CallFunctionWithExceptionHandling%%o<application>p
REALbasic._RuntimeRun
_Main
main</application></sbutton></sbutton></sbutton></mainwindow.mainwindow></mainwindow.mainwindow></group2d></leadsheetreport></picture>
Anonymous
There was a bug in unit conversion calculations between inches, points and centimeters which may have caused page size and margin settings to run off, and eventually cause an error as you got.
It already has been fixed in the code repository and will be included in the next release.
For now, the fix is, as you did. If editing these settings from the print settings dialog is no longer possible, the remedy is to restore a backup of the file PrintSettings in the Settings folder within OpenSong's document folder (or delete it and let OpenSong create a new one with default settings).