Bug 148528 - FILEOPEN RTF User name field updated on opening
Summary: FILEOPEN RTF User name field updated on opening
Status: RESOLVED DUPLICATE of bug 126636
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTF
  Show dependency treegraph
 
Reported: 2022-04-12 06:50 UTC by Gabor Kelemen (allotropia)
Modified: 2022-04-28 11:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word 2013 (46.31 KB, application/msword)
2022-04-12 06:50 UTC, Gabor Kelemen (allotropia)
Details
The example file in Word and Writer master (88.02 KB, image/png)
2022-04-12 06:51 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2022-04-12 06:50:57 UTC
Created attachment 179481 [details]
Example file from Word 2013

Attached document contains a UserName field in RTF format.
When opened in Writer the field gets updated with the current LO users data.

1, Open attached file

Observe that the username field is not "Gabor Kelemen2013" but whatever you set in the LO Options - User data.

Also there are two other instances of this field with Uppercase and Lowercase formatting set in Word, which are missing not just on opening, but even when you try to insert a new field - so this would be a separate issue. 

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 6f39602ecb9b90795bfd4101273f90b16f17b6d6
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded Jumbo

Happens all the way back to 3.5.
Comment 1 Gabor Kelemen (allotropia) 2022-04-12 06:51:16 UTC
Created attachment 179482 [details]
The example file in Word and Writer master
Comment 2 Xisco Faulí 2022-04-15 14:53:37 UTC
Reproduced in

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: ab8d141967111ca81f4607db3618bb09214e42db
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 3 Justin L 2022-04-28 11:59:10 UTC
(In reply to Gabor Kelemen (allotropia) from comment #0)
> Observe that the username field is not "Gabor Kelemen2013" but whatever you
> set in the LO Options - User data.
This is handled by https://gerrit.libreoffice.org/c/core/+/133346

> Also there are two other instances of this field with Uppercase and
> Lowercase formatting set in Word, which are missing not just on opening, but
> even when you try to insert a new field - so this would be a separate issue.
This is also handled by the same patch.

Now, if you want FIELD-FORMATTING in LO to be able to handle this on a NEWLY inserted field by LO, that would be an enhancement request.

*** This bug has been marked as a duplicate of bug 126636 ***