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

            Bug ID: 142227
           Summary: [EDITING] Image displayed in a wrong place when it is
                    inside an outline-group and sheet is set to
                    freeze-row-and-columns
           Product: LibreOffice
           Version: 7.1.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: pox_...@yahoo.com

Description:
Images pasted on the sheet are displayed far away from where it is actually
anchored. This happens when the image is inside a folded outline, and the file
is re-opened and then the outline is unfolded. Symptom most reproducible when
the image is within the Freeze-Rows-And-Columns region.


Steps to Reproduce:
1. Open attached file FoldTestFd3.ods
2. On the left edge of the pane, click the "+" button in the outline-group
indicator column "1", to unfold that outline-group.


Actual Results:
Only the edge of an image pasted onto the sheet is seen more than 30 lines
above where it is supposed to be, almost invisible because most part of it is
outside of the sheet.
You can know where it is supposed to be by clicking the fragment of the image,
which will show its anchor.
FoldTestFc3a_ods_screenshot.png
Reproducibility: 100% (5/5)


Expected Results:
The image should be displayed with it's top-left corner anchored to cell B3.
FoldTestFc2a_ods_screenshot.png



Reproducible: Always


User Profile Reset: No



Additional Info:
(A) Happens with any image.
(B) How to create FoldTestFd3.ods:
  1. Download sample image file 
https://www.libreoffice.org/assets/Uploads/Timeline-pics/berlin-conference.jpg
  2. In LibreCalc, File|New|Spreadsheet
  3. Paste that image file onto cell B3. Drag-and-drop it from Windows
Explorer. Or, Copy-paste from apps such as IrfanView also works.
  4. Right-click on that image and Anchor|ToCell.
  5. Select row 3..33. Menu|Data|GroupAndOutline|Group. This will create the
outline-group.
  6. Select cell B34. Menu|View|FreezeRowsAndColumns
  7. Fold the outline-group by clicking the "-" button in the left edge.
  8. Save that file.
  9. You must close the file once and re-open it, to observe the symptom. You
don't need to close LibreCalc app, though.
(C) Once you unfold the outline group and save the file, and then re-open that
file, it displays correctly. So the bug seems to be only in the display
routine, not in the stored data.
(D) Symptom sometimes observed even when the sheet is not set to
freeze-row-and-columns, but this is harder to reproduce.

p.s. Couldn't find "OpenGL" in settings menus.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to