Bug 40199 - Misplaced Caption in LibreOffice Writer when pasting rotated Shape from LibreOffice Draw
Summary: Misplaced Caption in LibreOffice Writer when pasting rotated Shape from Libre...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.4.1 RC1
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 07:33 UTC by thomas.schlaefer
Modified: 2013-06-24 18:46 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Libre Office Draw and Writer Documents that demonstrate the error (13.79 KB, application/x-zip-compressed)
2011-08-18 07:33 UTC, thomas.schlaefer
Details
Draw file with Rotated Object that has a bad invisible part (10.62 KB, application/vnd.oasis.opendocument.graphics)
2012-02-21 07:47 UTC, dynapb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thomas.schlaefer 2011-08-18 07:33:35 UTC
Created attachment 50350 [details]
Libre Office Draw and Writer Documents that demonstrate the error

1. Open attached document "drawing.odg" from attached zip file
2. copy & paste the curly bracket into a new Writer document
3. right click the shape in Writer and select "Caption" to add a Caption to the drawing
4. observe that the caption is placed far too low below the drawing (can also be seen in the document "document_with_misplaced_caption.odt" from the attached zip file)

This seems to work with all shapes that are drawn and afterwards rotated to an angle other than 0°. In my example the curly bracket originally measured 10cm in heigth and 1cm in width. It was rotated to 270° so it now is 10cm in width and 1cm in heigth. (right click on shape -> Position and Size -> Rotation -> Rotation Angle)

After copy & pasting the drawing into Writer, it seems as if Writer doesn't take the Rotation Angle into account when placing the Caption so the drawing's original heigth of 10cm is applied when placing the Caption. Therefore it is placed 10centimeters below the  shape, which is wrong!
Comment 1 Regina Henschel 2011-08-18 11:22:29 UTC
I can confirm this wrong behavior with LO3.4 on WinXP. It is already wrong in OOo3.3, but I cannot find it in their Issuetracker.
Comment 2 Jeffrey 2011-08-19 01:45:57 UTC
Confirmed for LibreOffice 3.4  340m1(Build:103) on OpenSuse Linux.
Comment 3 Björn Michaelsen 2011-12-23 12:39:14 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 4 sasha.libreoffice 2012-01-08 22:37:36 UTC
reproduced in LibO 3.5.0 beta 1 on Fedora 64 bit
Comment 5 dynapb 2012-02-21 07:45:09 UTC
I see the problem with a rotated or flipped rounded rectangle where the rounding adjustment control point changes from the upper left to the lower left.  If you select the rectangle and move the cursor around below the object the cursor changes to the move symbol over an invisible version of the object.  The visible object can be moved by selecting the invisible part.  This can be seen in both Draw and Write.

I am attaching just a Draw file where this bug can be seen if the above description is followed.
Comment 6 dynapb 2012-02-21 07:47:01 UTC
Created attachment 57401 [details]
Draw file with Rotated Object that has a bad invisible part
Comment 7 ign_christian 2013-06-24 08:48:33 UTC
Not reproducible on LO 4.0.4.2 (Win7 32bit)

Please REOPENED if that still occur on latest stable release & please attach screenshot of incorrect behavior
Comment 8 thomas.schlaefer 2013-06-24 18:46:13 UTC
I originally filed this bug. I also cannot reproduce it with LO Version 4.0.4.2 on Win7 64-bit.

Seems to be finally fixed :-) YAY!!!!!!!!!

Thanks a lot guys!