Bug 98853 - Flip image does not display in print preview
Summary: Flip image does not display in print preview
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 158951 (view as bug list)
Depends on:
Blocks: Print-Dialog Calc-Images
  Show dependency treegraph
 
Reported: 2016-03-24 01:10 UTC by HD
Modified: 2024-01-01 12:02 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
sample ods file (19.13 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-03-24 01:10 UTC, HD
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HD 2016-03-24 01:10:16 UTC
Created attachment 123802 [details]
sample ods file

When I set the Flip to the image, it did not displayed in the print preview.

Steps to reproduce:
1.Open new spreadsheet and insert an image.
2.Click [File] - [Print].
  ---> Image is displayed.
3.Select image and right-click.
4.Select [Flip] - [Vertically] or [Horizontally]
5.Click [File] - [Print].
  ---> Image is not displayed.

In version 4.1.2, this issue does not occur.

Expected behavior:
Even when I set the Flip, I want to display image.

OS: Windows7 Professional
Version: 5.1.0.3
Build ID: 5e3e00a007d9b3b6efb6797a8b8e57b51ab1f737
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default;
Locale: ja-JP (ja_JP)

Best regards.
Comment 1 HD 2016-03-24 02:46:50 UTC
I'll correct the previous description.

Image did not display in "print preview".
When I print, it was displayed.Flip setting also had been keep.
(In the printing of the confirmation screen, the setting of the Flip does not keep)

> 2.Click [File] - [Print].
2.Click [File] - [Print preview].
Comment 2 Buovjaga 2016-04-03 13:55:30 UTC
You mean print preview Ctrl-Shift-O?
I do not see the problem.

64-bit, KDE Plasma 5
Build ID: 5.1.1.3 Arch Linux build-2
CPU Threads: 8; OS Version: Linux 4.4; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Comment 3 raal 2016-04-03 15:46:58 UTC
I can confirm with 4.2.8.2, 5.1.13 and 5.2, win7
Comment 4 HD 2016-04-05 00:33:41 UTC
(In reply to Buovjaga from comment #2)
> You mean print preview Ctrl-Shift-O?
> I do not see the problem.
> 
> 64-bit, KDE Plasma 5
> Build ID: 5.1.1.3 Arch Linux build-2
> CPU Threads: 8; OS Version: Linux 4.4; UI Render: default; 
> Locale: fi-FI (fi_FI.UTF-8)

Yes.
[File] - [Print preview] or [Ctrl]+[Shift]+[O].
Comment 5 Buovjaga 2016-04-05 05:18:28 UTC
Changing OS field as this is Win-only.
Comment 6 raal 2016-04-08 06:13:53 UTC
reproducible with Version: 4.5.0.0.alpha0+
Comment 7 Xisco Faulí 2016-09-02 09:36:10 UTC
According to comment 3, it can be reproduced with 4.2.8.2. Updating version then.
Comment 8 Xisco Faulí 2016-09-13 11:24:34 UTC
Adding keyword 'preBisect' as this regression was introduced before branch 4.4 and therefore it can't be bibisected as there's no bibisect repository for this branch.
Comment 9 QA Administrators 2018-02-08 03:35:42 UTC Comment hidden (obsolete)
Comment 10 Xisco Faulí 2018-02-27 11:25:43 UTC
Still reproducible in

Versión: 6.0.1.1
Id. de compilación: 60bfb1526849283ce2491346ed2aa51c465abfe6
Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; 
Configuración regional: es-ES (es_ES); Calc: group

Zooming in and out the print preview shows some parts of the image...
Comment 11 Xisco Faulí 2018-02-27 16:00:55 UTC
Probably the root cause is the same as in bug 98482
Comment 12 QA Administrators 2019-02-28 03:51:36 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2021-02-28 04:01:06 UTC Comment hidden (obsolete)
Comment 14 Aron Budea 2021-08-13 07:04:50 UTC
This is reproducible in Linux, and still occurs with LO 7.3.0.0.alpha0+ (36efb384a66b6dd645e0ae80fd7df68370a9dc8b).

(In reply to Xisco Faulí from comment #11)
> Probably the root cause is the same as in bug 98482
It is. Bibisecting with repo bibisect-42max revealed two relevant changes, after the first the image isn't shown in the Print dialog's preview, and after the second, the image is shown again, but not flipped. This second commit is likely responsible for the bug.

First commit:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=e08407052f556c981e533f532815125769212685
author		Armin Le Grand <alg@apache.org>	2013-01-15 08:19:38 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2013-06-13 15:56:09 +0100

"Resolves: #i121534# only handle bitmaps which are inside visible area"

Secont commit:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=9bb96049addebd8907854730713d8a3f5f033e34
author		Armin Le Grand <alg@apache.org>	2013-01-23 13:27:50 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2013-06-14 16:00:13 +0100

"Resolves: #i121534# Reintegrating changes for rotated bitmap support"
Comment 15 QA Administrators 2023-08-14 03:13:50 UTC Comment hidden (obsolete)
Comment 16 raal 2024-01-01 12:02:29 UTC
(In reply to Aron Budea from comment #14)
> This is reproducible in Linux, and still occurs with LO 7.3.0.0.alpha0+
> (36efb384a66b6dd645e0ae80fd7df68370a9dc8b).
> 
> (In reply to Xisco Faulí from comment #11)
> > Probably the root cause is the same as in bug 98482
> It is. Bibisecting with repo bibisect-42max revealed two relevant changes,
> after the first the image isn't shown in the Print dialog's preview, and
> after the second, the image is shown again, but not flipped. This second
> commit is likely responsible for the bug.
> 
> First commit:
> https://cgit.freedesktop.org/libreoffice/core/commit/
> ?id=e08407052f556c981e533f532815125769212685
> author		Armin Le Grand <alg@apache.org>	2013-01-15 08:19:38 +0000
> committer	Caolán McNamara <caolanm@redhat.com>	2013-06-13 15:56:09 +0100
> 
> "Resolves: #i121534# only handle bitmaps which are inside visible area"
> 
> Secont commit:
> https://cgit.freedesktop.org/libreoffice/core/commit/
> ?id=9bb96049addebd8907854730713d8a3f5f033e34
> author		Armin Le Grand <alg@apache.org>	2013-01-23 13:27:50 +0000
> committer	Caolán McNamara <caolanm@redhat.com>	2013-06-14 16:00:13 +0100
> 
> "Resolves: #i121534# Reintegrating changes for rotated bitmap support"

Adding CC to Armin
Comment 17 raal 2024-01-01 12:02:51 UTC
*** Bug 158951 has been marked as a duplicate of this bug. ***