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

            Bug ID: 152704
           Summary: WRITER: Linked image does not update after selecting
                    another file in Properties dialog.
           Product: LibreOffice
           Version: 7.4.3.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Linked image does not always update __VISUALLY__ in document when user changes
the source image.

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: threaded


Steps to reproduce:
1.Prepare two images, one very wide (A), second (B) tall and narrow and of both
sizes larger than sizes of image A. The difference in proportions do help to
expose the bug.
2.Create empty document.
3.Insert->Image
   Select wide image (A), check "linked" to make it linked.
4.Observe image is inserted and shown correctly.
5.Right click on image and select Properties->Rotation->Link->Browse.
6.Select tall image (B), remember to check "linked" (BugĀ 61358), click OK.
-------- first bug is here: ------
7.Observe that in properties dialog in the preview the tall image is now drawn
OVER the wide image.
---------------------------
8.Resize the dialog a bit by dragging it. Observe that now preview is drawn
correctly.
9.Click OK in dialog
10.The image in document __did__ change (it depends).
11.Again right click the image, select Properties->Rotation->Link->Browse
12.Select narrow image (A), remember to check "linked" (BugĀ 61358), click OK.
13.Observe, that preview is now drawn __correctly__
14.Click OK in dialog.
--------- second bug here: -------
15.Observe that now the image in document did NOT refresh.
-----------------------------
16.Now try one of following:
  - save document - see, that image do refresh
  - try to resize image - see it do refresh.
  - try to resize LO window - see it do refresh

Those steps can be also reproduced when one edits the file name in "link" input
line, but in such case neither preview nor image in document do refresh.

This is a regression, in previous versions (I can't say which tough, I suppose
somewhere around 6.4 line) editing file name always did update an image.

>From my knowledge the change in image is incorrectly detected as "no need to
repaint" and does not propagate to document rendering code even tough data are
updated as they should be.

Workaround:
 The fastest way to enforce repainting is to click "Save".

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

Reply via email to