Summary: | FileName Field displays wrong content if IsFixed is True when inserted by Macro. | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Don <donny.danger> |
Component: | BASIC | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | medium | ||
Version: | 7.4.3.2 release | ||
Hardware: | All | ||
OS: | Windows (All) | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 107659 | ||
Attachments: | Error Demonstration Doc W/ Macro |
Description
Don
2023-06-12 01:21:57 UTC
Created attachment 187852 [details]
Error Demonstration Doc W/ Macro
Thank you for reporting the bug. I can confirm that the bug is present in Version: 7.5.4.2 (X86_64) / LibreOffice Community Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6 CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded Reproduced on a new document using Don's macro. In addition to Don's observed behavior, additional incorrect behavior was observed when IsFixed is set to True: Actual Results: com.sun.star.text.FilenameDisplayFormat.FULL displays a File name in the format of com.sun.star.text.FilenameDisplayFormat.NAME_AND_EXT instead. com.sun.star.text.FilenameDisplayFormat.PATH displays a File name in the format of com.sun.star.text.FilenameDisplayFormat.FULL instead. com.sun.star.text.FilenameDisplayFormat.NAME displays a File name in the format of com.sun.star.text.FilenameDisplayFormat.PATH instead. Expected Results: com.sun.star.text.FilenameDisplayFormat.FULL should display a File name in the format of com.sun.star.text.FilenameDisplayFormat.FULL com.sun.star.text.FilenameDisplayFormat.PATH should display a File name in the format of com.sun.star.text.FilenameDisplayFormat.PATH com.sun.star.text.FilenameDisplayFormat.NAME should display a File name in the format of com.sun.star.text.FilenameDisplayFormat.NAME There appears to be an off-by-one error when IsFixed is set to True. |