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

            Bug ID: 165446
           Summary: Writer: Picture size portion wrong after adjusting and
                    set back to original size
           Product: LibreOffice
           Version: 6.4.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Insert a picture in Writer, it will have an initial import size (which is not
the original size of the picture but the width-height portion is correct.)

Right-click on the picture, select Properties-Position and Size. Lock the
width-height portion to keep the correct portion.  Adjust width or height to,
for example, half of the imported size, and select OK.

Then right-click on the picture to go to the Properties-Position and Size
again.  Select Original size. This time the size is wrong.


Possible related bugs: tdf#52598, tdf#96178, but not sure if they are actually
related

Steps to Reproduce:
1. Open a new file and insert a picture. (Tested with a jpg file which will be
attached later)
2. Right-click on the picture, select Properties-Position and Size. Lock the
width-height portion to keep the correct portion.
3. Adjust width or height to, for example, half of the imported size, and
select OK. The picture is scaled correctly.
4. Right-click on the picture to go to the Properties-Position and Size again. 
Select Original size. This time the size is wrong.

Actual Results:
The aspect ratio of the image is distorted.

Expected Results:
It should reset to the original size.


Reproducible: Always


User Profile Reset: No

Additional Info:
Earliest version tested is 6.4.4 
版本:6.4.4.2
組建 ID:3d775be2011f3886db32dfd395a6a6d1ca2630ff
CPU 執行緒:4; OS:Linux 6.8; UI 算繪:預設; VCL: kf5; 
語言地區:zh-TW (zh_TW.UTF-8); 介面語言:zh-TW
Calc: threaded

But it should happen in earlier version as well.

In 25.2 dev it is not fixed yet.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9e3803ae438ddcf91ec0e15431be379561d28ba6
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb)
Locale: zh-TW (zh_TW.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to