Bug 119937 - Rotation of an image by 90 degrees as Character Anchor makes it appear cropped by having part of it outside the page
Summary: Rotation of an image by 90 degrees as Character Anchor makes it appear croppe...
Status: RESOLVED DUPLICATE of bug 115463
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-17 16:29 UTC by Rob
Modified: 2018-10-11 13:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screen shot of an imported images anchored as character and incorrectly rotated (57.30 KB, image/png)
2018-09-17 16:29 UTC, Rob
Details
Example file (deleted)
2018-10-09 16:26 UTC, Buovjaga
Details
Example .odt file containing bug (3.88 MB, application/vnd.oasis.opendocument.text)
2018-10-09 19:18 UTC, Rob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob 2018-09-17 16:29:57 UTC
Created attachment 144950 [details]
screen shot of an imported images anchored as character and incorrectly rotated

In new version 6, when an image anchored as Character is rotated 90 deg left or write the frame which contains the image is not correctly resized and the image is incorrectly cropped within it. Eg. Landscape to Portrait rotation turns the image but not the frame which contains it. This does not happen in Version 5, which behaves correctly.
Comment 1 Rob 2018-09-17 16:31:52 UTC
right not write, sorry
Comment 2 Buovjaga 2018-10-09 16:26:37 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2018-10-09 17:06:29 UTC Comment hidden (obsolete)
Comment 4 Rob 2018-10-09 19:18:12 UTC
Created attachment 145542 [details]
Example .odt file containing bug

please don't close the bug, please see attached file with example of the bug.
Comment 5 Rob 2018-10-09 19:24:53 UTC
I am sorry, I am not experienced with filing bugs and my comments got lost when I attached the file

Please don't close the bug

I have copied your image from the example file into an .odt file anchored as a character on the page, not within an HTML frame, but the image has its own "frame" around it represented by a grey rectangle.

I copied the image twice producing 3 versions.

I opened the file in LibreOffice 5.2.7.2 on MacOS Yosemite and rotated the second image left, it rotates correctly.

I saved, closed and opened the file in LibreOffice 6.0.6.2 on Windows 7 (though it doesn the same in version 6 on Mac) and rotated the third image left, it incorrectly crops the image as can be seen in the example file.

Please, this is a serious issue for me, do not close the bug.

I am sorry if my ignorance means I did not use the correct terms in my original description.

Sincerely,

Robert Gibbs
Comment 6 Buovjaga 2018-10-10 06:09:46 UTC
(In reply to Rob from comment #5)
> I am sorry, I am not experienced with filing bugs and my comments got lost
> when I attached the file
> 
> Please don't close the bug
> 
> I have copied your image from the example file into an .odt file anchored as
> a character on the page, not within an HTML frame, but the image has its own
> "frame" around it represented by a grey rectangle.
> 
> I copied the image twice producing 3 versions.
> 
> I opened the file in LibreOffice 5.2.7.2 on MacOS Yosemite and rotated the
> second image left, it rotates correctly.
> 
> I saved, closed and opened the file in LibreOffice 6.0.6.2 on Windows 7
> (though it doesn the same in version 6 on Mac) and rotated the third image
> left, it incorrectly crops the image as can be seen in the example file.

Oh dear... so it was *not* about a frame after all. What you call a frame is the result of having View - Text boundaries checked.
Removing Xisco and Björn from CC. I will investigate the actual issue later.
Comment 7 Buovjaga 2018-10-10 17:40:30 UTC
I bibisected it and found another report blaming the same code change. I will comment there.
Thank you for the information you provided. It was valuable.

*** This bug has been marked as a duplicate of bug 115463 ***
Comment 8 Buovjaga 2018-10-11 13:43:03 UTC Comment hidden (obsolete)