Bug 50435 - EDITING: Flipping a rotated shape does not work correctly
Summary: EDITING: Flipping a rotated shape does not work correctly
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.5.2 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 12:52 UTC by David F Smith
Modified: 2012-07-13 15:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Presentation (one slide) that illustrates the incorrect flipping of a right triangle and a circle pie. (13.15 KB, application/vnd.oasis.opendocument.presentation)
2012-05-28 12:52 UTC, David F Smith
Details
Presentation showing incorrect flipping of rotated right triangle and circle pie. (15.49 KB, application/vnd.oasis.opendocument.presentation)
2012-07-13 03:26 UTC, David F Smith
Details
Screen shot: current behavior, as I see it. (56.66 KB, image/jpeg)
2012-07-13 03:31 UTC, David F Smith
Details
Screen shot: what correct behavior would look like. (64.94 KB, image/jpeg)
2012-07-13 03:32 UTC, David F Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David F Smith 2012-05-28 12:52:39 UTC
Created attachment 62179 [details]
Presentation (one slide) that illustrates the incorrect flipping of a right triangle and a circle pie.

Problem description: 
When a shape (ellipse, etc.) has been rotated, flipping it horizontally or vertically causes an incorrect change or no visible change.

Steps to reproduce:
1. In a new presentation, select an asymmetric shape such as Circle Pie or Right Triangle and draw it on the slide.
2. Select the Rotate tool from the tool bar and rotate the shape enough to be visible.
3. With the shape selected, choose Flip > Horizontal from the right-mouse menu.

Current behavior:
It appears that the flip operation (mirroring X points for horizontal, mirroring Y points for vertical) is being applied to the UNROTATED shape, and then the result is rotated.  This is not correct.

Expected behavior:
Points in the rotated shape should be flipped horizontally or vertically, so that a horizontal or vertical mirror-image of the original rotated shape is produced.

Platform (if different from the browser): 
MS Windows 7 Pro, v6.1.7601 SP1, on Dell Inspiron 620 (Core i5-2320).  Built-in Intel HD graphics.              

Browser: Chrome/19.0.1084.46
Comment 1 Valek Filippov 2012-07-13 02:36:10 UTC
David, I don't see any problem with your file in LO 3.5.3 under linux.
Could you
- attach screenshot that shows what's wrong,
- try with 3.5.5 version?
Comment 2 David F Smith 2012-07-13 03:26:14 UTC
Created attachment 64158 [details]
Presentation showing incorrect flipping of rotated right triangle and circle pie.

First slide of presentation shows incorrect flipping of rotated right triangle and circle pie.  Second slide shows (approximate, rotated by eye) correct behavior.  If the two slides look the same in a different version or platform, then the software is working correctly in that environment.

See other attachments for screen shots of what I see.
Comment 3 David F Smith 2012-07-13 03:31:19 UTC
Created attachment 64159 [details]
Screen shot: current behavior, as I see it.

(Screen shot of first slide of my attached presentation.)
Comment 4 David F Smith 2012-07-13 03:32:21 UTC
Created attachment 64160 [details]
Screen shot: what correct behavior would look like.

(Screen shot of second slide of my attached presentation.)
Comment 5 David F Smith 2012-07-13 03:33:45 UTC
(In reply to comment #1)
> David, I don't see any problem with your file in LO 3.5.3 under linux.
> Could you
> - attach screenshot that shows what's wrong,
> - try with 3.5.5 version?

Thanks for checking this, Valek.  See new attached presentation and two screenshots.  I'll try 3.5.5 tomorrow.
Comment 6 Valek Filippov 2012-07-13 03:58:05 UTC
David,
Thank you for this update.
I see now what you meant.
It's different (correct) in 3.5.3 on linux, therefore it could be 3.5.2 problem or Windows-specific problem.
Will see tomorrow with your 3.5.5 results ;-)
Comment 7 David F Smith 2012-07-13 15:10:02 UTC
The behavior is correct in 3.5.5.3 on Windows.  (I'm surprised.  I thought this would be a Windows problem.)

This report may be cancelled.
Comment 8 Valek Filippov 2012-07-13 15:13:38 UTC
Thank you for your bug-report!