Description: Reported MacOS version in LibreOffice not correct. Steps to Reproduce: 1. Open "About Libreoffice" 2. Note MacOS version info 3. Open "About this Mac" 4. Verify real OS version. Actual Results: LO "about LibreOffice" reports "... OS: Mac OS X 10.16; ..." Expected Results: LO should report "MacOS 11.2.1" Reproducible: Always User Profile Reset: No Additional Info: Version: 7.1.0.3 / LibreOffice Community Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c CPU threads: 4; OS: Mac OS X 10.16; UI render: default; VCL: osx Locale: nl-NL (nl_NL.UTF-8); UI: en-US Calc: threaded
Info provided by Mike Kaganski: Haven't found a report in bug tracker. Code pointer: AquaSalInstance::getOSVersion() in vcl/osx/salinst.cxx. A similar problem was fixed for Windows some time ago in commit 0dd2e602e5c1b46e82abc6051677aeaab1d265b8.
Created attachment 169755 [details] macOS 11.2.1 vs 10.16 Confirming, reason is https://eclecticlight.co/2020/07/21/big-sur-is-both-10-16-and-11-0-its-official/ Mozilla has the same problem with Firefox crash reporting: https://bugzilla.mozilla.org/show_bug.cgi?id=1690604 Should this be addressed would be nice to rename "Mac OS X" to "macOS" in about dialog as that is the correct name for that operating system.
Created attachment 182252 [details] macOS 12.5.1, LO 7.4.0.3 worksforme macOS 12.5.1 LibreOffice 7.4.0.3 worksforme
(In reply to steve from comment #3) > Created attachment 182252 [details] > macOS 12.5.1, LO 7.4.0.3 worksforme > > macOS 12.5.1 > LibreOffice 7.4.0.3 > worksforme What about the second part of your #2 comment above > … > Should this be addressed would be nice to rename "Mac OS X" to "macOS" in > about dialog as that is the correct name for that operating system. ? LO's About window still says "Mac OS X" rather than "macOS". I guess, it still comes from reading the ProductName key value of /System/Library/CoreServices/SystemVersionCompat.plist (<key>ProductName</key><string>Mac OS X</string>) rather than that in /System/Library/CoreServices/SystemVersion.plist (<key>ProductName</key><string>macOS</string>)? Short explanation concerning these two files and which one to choose or to prefer, see https://eclecticlight.co/2020/08/13/macos-version-numbering-isnt-so-simple/, section "Interpreted and JIT languages" and especially the last sentence of the last paragraph of that section. Following that – maybe it would be better anyway, to determine and extracting that info based on /usr/sbin/system_profiler SPSoftwareDataType resp. /usr/sbin/system_profiler SPSoftwareDataType -detailLevel mini ?
(In reply to Sierk Bornemann from comment #4) > … > Following that – maybe it would be better anyway, to determine and > extracting that info based on > > /usr/sbin/system_profiler SPSoftwareDataType resp. /usr/sbin/system_profiler > SPSoftwareDataType -detailLevel mini ? or simpler getting it via /usr/bin/sw_vers -productName /usr/bin/sw_vers -productVersion ? /usr/bin/sw_vers seems to read /System/Library/CoreServices/SystemVersion.plist, if I interpret its manpage correctly.
Thanks for raising that remaining issue which would be https://bugs.documentfoundation.org/show_bug.cgi?id=148071 as per the one problem per bug rule. Feel free to add yourself to cc: and copy your comments to that bug.