https://bugs.documentfoundation.org/show_bug.cgi?id=155780

russ <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from russ <[email protected]> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to