Bug 34436

Summary: TABLES text in cells behaves wrong when rotated
Product: LibreOffice Reporter: sasha.libreoffice
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: altsysrq, Dmitry-Kogura, foberle, gerhard.schaber, jb, jmadero.dev, LibreOffice, pjs1, rssdev10, sasha.libreoffice, sergo, sf, ssanders, ungethym
Version: 3.3.0 release   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Test case
table with rotated text

Description sasha.libreoffice 2011-02-18 03:47:54 UTC
I write in cell of table in Writer this text:
qwer asdf
Then I select it and change property of character:tab "Position" Rotation/scaling 90 degrees. Then I place cursor (caret) in middle of this text and press enter. Become:
asdfqwer
Two parts of string swaps and produce no second line. In cell I can produce only one line of vertical text and never more.
It problem is from OpenOffice 2.0 until now.
Comment 1 sasha.libreoffice 2011-02-24 06:18:50 UTC
on Liberoffice 3.3.1 still exist
Comment 2 Vladimir Rutsky 2011-06-13 03:49:12 UTC
User vitriol explained that you should use <Shift+Enter> to separate lines in
vertically aligned paragraph (https://bugs.freedesktop.org/show_bug.cgi?id=38064#c1).
Comment 3 sasha.libreoffice 2011-06-13 23:21:08 UTC
With Shift-Enter it works.
My be need only add line "Use Shift-Enter for new line if text in table cell" to tooltip in Format->Character->tab Position->area Rotation/Scaling. It will solve this problem for many users.
Comment 4 Dmitry 2011-09-25 01:01:38 UTC
There is possibility to set the "Text direction" in "Table properties"("Text flow" tab). If you set "Right-to-left (vertical)" it work more correctly, intuitive and simply (for multiline just press Enter), than if you use  Format/Character/Position/Rotate. But the top of letters directed to the right. Therefore, I propose to add a item "Left-to-right (vertical)" to "Text direction" that would work similarly, but the top of the letters will look to the left. In my opinion this is the most correct and logical solution to rotate text for the table-cells.
Comment 5 ⚡ Thunde® ⚡ 2011-09-25 02:03:12 UTC
Why when cursor is situated in start of string he became that:

[url=http://itmages.ru/image/view/289061/5d2603bf][img]http://storage1.static.itmages.ru/i/11/0925/s_1316941191_4035998_5d2603bf71.png[/img][/url]

Why when cursor in the end of string and I push Enter cursor stand that place:

[url=http://itmages.ru/image/view/289059/41fccf43][img]http://storage8.static.itmages.ru/i/11/0925/s_1316941168_3799594_41fccf438d.png[/img][/url]

But when I countinue print I saw that cursor is stand in start of first string:

[url=http://itmages.ru/image/view/289058/001e3a6f][img]http://storage7.static.itmages.ru/i/11/0925/s_1316941112_3483110_001e3a6fe4.png[/img][/url]

Just try to work with vertical align of text and you understand that it is not obvious and asked...

P.S.: Would be cool if with LO we can make any degrees such as last picture (blue color).
Comment 6 sf 2011-11-08 02:13:14 UTC
Created attachment 53287 [details]
Test case
Comment 7 sf 2011-11-08 02:17:10 UTC
Video that show the problem with test case attachment:

http://monteldvd.sf.net/bug/text_rotated.avi
Comment 8 Thomas Thym 2011-12-21 09:23:11 UTC
I can confirm that behaviour (also the wrong display mentioned by druido77@libero.it) in LO 3.5 beta1. It gave me quite a hard time here at the company until I found out that Ctrl+Enter is needed. 
Perhaps it is more intuitive to let "Enter" behave like "ctrl+Enter" when the orientation of the following paragraph is rotated, too.
Comment 9 Korrawit Pruegsanusak 2012-01-15 01:30:43 UTC
reset some values that come without appropriate reason, see http://wiki.documentfoundation.org/BugReport_Details
Comment 10 sf 2012-01-15 23:16:53 UTC
I don't understand why you have changed from 3.4.4 back to 3.3.0 . I change newly to 3.4.4 because I have this problem on LibO 3.4.4 on Windows XP

LibreOffice 3.4.4 
OOO340m1 (Build:402)


(In reply to comment #9)
> reset some values that come without appropriate reason, see
> http://wiki.documentfoundation.org/BugReport_Details
Comment 11 sf 2012-01-16 00:16:38 UTC
Same problem on 

LOdev 3.5.0beta2 Windows XP
Build ID: 8589e48-760cc4d-f39cf3d-1b2857e-60db978
Comment 12 sasha.libreoffice 2012-01-16 04:10:20 UTC
@druido77@libero.it 
Version - it is where bug first time found, and not current version.
Comment 13 Rainer Bielefeld Retired 2012-01-28 00:39:30 UTC
*** Bug 41459 has been marked as a duplicate of this bug. ***
Comment 14 Rainer Bielefeld Retired 2012-01-28 01:08:23 UTC
[Reproducible] with reporter's sample and "LibreOffice 3.5.0 RC2 German UI/Locale [Build-ID: e371a95-bf68a13-5a1aa2b-d3c1ae9-b938258] on German WIN7 Home Premium  (64bit). Also reproducible with own document.

Bug 41459 shows bug with a much more simple test case.

Related to "Bug 37828 - rotated text is not saved correctly in doc format"?

@Cédric:
Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug.
Comment 15 dE 2012-04-20 02:15:16 UTC
I suggest the block 37361 should be removed cause this's not a frequently used feature and has a workaround.

Also I suggest downgrading it's priority.
Comment 16 Joel Madero 2013-02-07 19:52:04 UTC
Confirmed on Version 4.1.0.0.alpha0+ (Build ID: 027bb41aa16793e88e9fc1b3550c8c893363647). 
++++++++++++++++++++++++++++++++
Because LibreOffice 3.5 is now at end of life the 3.5 MAB is being closed. 

I agree with dE's input, while this might be quite annoying for some users, that list of users is very limited and therefore this bug should not be a MAB. 

MAB should affect a large portion of our user base OR be such a big bug that it would make professional quality work impossible. For this particular bug there is a workaround (although not ideal) which is to create the table in Spreadsheet and then copy/paste it to Writer - just tested this and it works.

Thanks for your understanding and apologies for the long delay.
Comment 17 foss 2013-09-18 10:19:04 UTC
Sasha, I just tried reproducing this problem in latest LO 4.2 master. But couldn't find the rotating option. Could you describe the exact steps how to reproduce?
Comment 18 sasha.libreoffice 2013-09-18 10:58:39 UTC
Select text, then menu Format->Character, then in dialog tab "Position" field "Rotation/Scaling" option "90 degrees" or "270 degrees".
Comment 19 tommy27 2013-10-11 05:48:02 UTC
*** Bug 69678 has been marked as a duplicate of this bug. ***
Comment 20 rssdev10 2014-06-28 07:02:42 UTC
Created attachment 101906 [details]
table with rotated text

See left column. It contains a paragraph with 2 strings only. But it is presented in LO 4.3.0.0b2 with big distortions.
Comment 21 rssdev10 2014-06-28 07:03:44 UTC
The bug is still actual for LO 4.3.0.0 beta2.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.