Description: I set only the Forename property in User Data, no surname and initials. When I Reset Properties in a document's File > Properties..., the name contains a trailing space. This can be known by selecting the name and inserting the First Author field. This seems to happen only when the surname is empty. Steps to Reproduce: 1. Set just forename in User Data. 2. Open a document, go to File > Properties... and click Reset Properties. 3. Select the line "Created:" to see the trailing space. Actual Results: A trailing space is included in the name. Expected Results: The name should be only the forename set in User Data without extra spaces. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.1.3.2 / LibreOffice Community Build: 47f78053abe362b9384784d31a6e56f8511eb1c1 User Interface: UI render: default; VCL: osx Locale: en-GB(en_GB.UTF-8); UI: en-GB
I could reproduce it. Version: 7.0.5.2 Build ID: 64390860c6cd0aca4beafafcfd84613dd9dfb63a CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded Version: 7.2.0.0.alpha0+ / LibreOffice Community Build ID: b137ff671f25a605334083c0f87ada84eaa0fcf2 CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/07021596acb3d104ba129d371b1ae0b79f67a6a4 tdf#142242 Forename imported with trailing space It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.