Issue 122533 - [aw080] Text box does not vertically/horizontally flip
Summary: [aw080] Text box does not vertically/horizontally flip
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: 4.0.0-dev
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2013-06-13 08:46 UTC by edoardopanfili
Modified: 2017-05-20 10:45 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

flip icons in sidebar (28.42 KB, image/png)
2013-10-05 07:16 UTC, edoardopanfili
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description edoardopanfili 2013-06-13 08:46:26 UTC
Description: Text box does not flips in Writer.

Steps to Reproduce:
    1) New a text document.
    2) Insert a text box.
    3) Select the text box.
    4) Click in flip vertically/horizontally.

Actual Result: The text box in not flipped.

Expected Result: Text box flipped (or gray button in the sidebar if the text box cannot be flipped)

Build Date & Hardware: 
AOO400m2(Build:9701)  -  Rev. 1489073
2013-05-21 10:10:44 (Tue, 21 May 2013)
OS X 10.8.4

Additional Information: 
Test Case Reference: ID AOOTest-1500 :: Version : 1
Position*Size section - Writer - flip - drawing object
Comment 1 Bill Schachter 2013-10-05 06:35:22 UTC
I don't know if i should "highlight" the text before trying to flip it horizontally,but the flipping choices are grayed out in any case. How do I fix this? thanks.
Comment 2 edoardopanfili 2013-10-05 07:16:16 UTC
Created attachment 81708 [details]
flip icons in sidebar
Comment 3 edoardopanfili 2013-10-05 07:18:03 UTC
The text is not highlighted, but the text box is selected. In the sidebar the flip icons ("Ribalta" in italian) are not grayed out. I am doing somethings wrong?

I am using AOO 4.0.1 IT on OS X 10.8.5
Comment 4 Nicholas Moisan 2013-10-06 23:16:56 UTC
I was able to replicate on a Windows 8 64-bit computer in OO-dev 4.0.1 AOO401m5(Build:9714). I use an NVidia GEForce graphics card and i7 processor on a Lenovo y410p computer.

Steps I took to reproduce:

1) Open new Writer Document
2) Open drawing Toolbar through View -> ToolBars -> Drawing
3) Select Text box option, create a text box.
4) In the properties tab on the right, unhide the "Position and Size" section.
5) Click on flip image icons (vertical and horizontal)

Completing these steps resulted in the text box not changing in any way. As mentioned, the buttons are not grayed out (which would show the functionality does not apply). However, using the rotate function right next to those icons works and it completes essentially the same task.

I did notice that the flip buttons work on other shapes in the drawing toolbar. For example, the triangles do flip as expected. Could this maybe be because it only flips the shape itself (a rectangle for a text box) and not the contents?
Comment 5 Armin Le Grand 2013-10-11 12:49:57 UTC
ALG: @Nicholas Moisan: Close to thjat. The current core does not use transformations and indeed just 'flips' the outline. The text object and a rectangle are the same objects, except that a single flag decides if it behaves as a text frame or an object with text. When using a rectangle with no fill as pseudo-textframe you can see what is possible: Flipping horizontal does nothing, flipping vertical rotates 180 degrees.
It would be possible to allow the same for text frames, but does not lead much further.
I am working on a branch (aw080) for quite some time to get the DrawingLayer to use transformations; when this is done, it will be possible to flip text frames, including completely mirrored texts, too.
Grepping as a reminder for aw080 and adapting text...
Comment 6 Marcus 2017-05-20 10:45:37 UTC
Reset the assignee to the default "".