Bug 115463 - EDITING: As-Character Image cropped when rotated (often seen after add a caption)
Summary: EDITING: As-Character Image cropped when rotated (often seen after add a capt...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 119937 132314 147757 153783 (view as bug list)
Depends on:
Blocks: Writer-Images Caption Regress-Rotated-Images
  Show dependency treegraph
 
Reported: 2018-02-05 13:40 UTC by Matthias
Modified: 2024-10-02 14:16 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
Image after rotation without caption (125.74 KB, image/jpeg)
2018-02-05 13:41 UTC, Matthias
Details
Rotated image with caption (116.03 KB, image/jpeg)
2018-02-05 13:41 UTC, Matthias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias 2018-02-05 13:40:38 UTC
Description:
If you insert an horizontal image in Writer an then rotate it 90° (left or right) and then insert a caption, the image will be cut an the frame of the caption isn't fit to the rotated image. 
It worked well in 5.4.4. 

Steps to Reproduce:
1.insert an horizontal image in Writer
2. rotate image 90°
3.insert a caption

Actual Results:  
The image is changed: top an bottom ist croped.
Frame of caption fits to non-rotated image. 

Expected Results:
Like in 5.4.4: Frame of caption fits to rotated image an the image isn't croped.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Also appears with an without OpenGL


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 Matthias 2018-02-05 13:41:39 UTC
Created attachment 139601 [details]
Image after rotation without caption
Comment 2 Matthias 2018-02-05 13:41:59 UTC
Created attachment 139602 [details]
Rotated image with caption
Comment 3 IWAMOTO 2018-02-19 08:39:06 UTC
replicated.

Version: 6.0.1.1 (x64)
Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6
Locale: ja-JP (ja_JP); 
OS:Winsows7 Home Premium x64
Comment 4 IWAMOTO 2018-02-19 08:46:10 UTC
I'm sorry, I made a mistake.

Reproduced.

Version: 6.0.1.1 (x64)
Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6
Locale: ja-JP (ja_JP); 
OS:Winsows7 Home Premium x64
Comment 5 Xisco Faulí 2018-02-19 11:07:36 UTC
This worked correctly up to

author	Armin Le Grand <Armin.Le.Grand@cib.de>	2017-09-22 15:28:33 +0200
committer	Armin Le Grand <Armin.Le.Grand@cib.de>	2017-10-20 14:13:20 +0200
commit a42b0985c7619efdc934bb1cf19e5e2c2b6faea2 (patch)
tree b91427e905792292220b01aba45fc80d66d19349
parent 2e001b40ad0d19c8db528bb4df739e289163779d (diff)
RotGrfFlyFrame: Initial adaptions

then, the image size was the same rotated or not rotated.
Finally, this problem was solved in

author	Armin Le Grand <Armin.Le.Grand@cib.de>	2017-11-02 18:28:04 +0100
committer	Armin Le Grand <Armin.Le.Grand@cib.de>	2017-11-18 13:07:43 +0100
commit 6675e6eaf999de94d49d7644d5877537fda83239 (patch)
tree 588b33264a822271d2840d7d9c39dc31212f642e
parent 995c75de956436606e4f313d60257285955586d8 (diff)
RotateFlyFrame3: Initial support added
First steps to get a rotated FlyFrame and content
that only uses layouted sizes/positions and does not
change the model data (except rotation). This works
with persistence, after reload the rotation can be
resetted with going back to the original FrameSize.
Lot of stuff not yet working, experimental state.

but at this problem, the issue with the caption is already reproducible.

Adding Cc: to Armin Le Grand
Comment 6 Buovjaga 2018-10-10 17:40:30 UTC
*** Bug 119937 has been marked as a duplicate of this bug. ***
Comment 7 Buovjaga 2018-10-10 17:41:40 UTC
(In reply to Buovjaga from comment #6)
> *** Bug 119937 has been marked as a duplicate of this bug. ***

Dupe shows that one does not need to have a caption: it is enough to have an image anchored As character and then rotate it 90°
Comment 8 QA Administrators 2019-10-11 02:37:12 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2021-10-11 03:31:46 UTC Comment hidden (obsolete)
Comment 10 Gabor Kelemen (allotropia) 2022-03-01 21:07:02 UTC
Still an issue in current master

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: c97a3592c78ce276a353f95ce68c70a8a39174a0
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 11 Gabor Kelemen (allotropia) 2022-03-01 21:33:03 UTC
FTR: clickable link
https://git.libreoffice.org/core/+/a42b0985c7619efdc934bb1cf19e5e2c2b6faea2%5E%21/#F11

Example file is attachment 145542 [details] from the duplicate, rotate 90 degrees left/right is bad since above commit without even adding a caption.
Comment 12 Gabor Kelemen (allotropia) 2022-03-02 12:12:09 UTC
*** Bug 132314 has been marked as a duplicate of this bug. ***
Comment 13 Dieter 2022-03-21 07:17:38 UTC
*** Bug 147757 has been marked as a duplicate of this bug. ***
Comment 14 Eyal Rozenberg 2022-03-21 08:15:39 UTC
Please have a look at the dupe bug 147757. In that bug, I observe that the frame dimensions does not respect the rotation even in cases where there's no cropping.
Comment 15 Dieter 2023-03-07 20:01:11 UTC
*** Bug 153783 has been marked as a duplicate of this bug. ***
Comment 16 Thorsten Behrens (allotropia) 2024-01-29 09:53:08 UTC
Un-Ccing developer for the moment, old regression & very high workload.