Bug 137279 - Text in object upside down drawing error right to left
Summary: Text in object upside down drawing error right to left
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-06 06:19 UTC by Elmar
Modified: 2020-10-09 20:57 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
upside down text (15.14 KB, application/vnd.oasis.opendocument.graphics)
2020-10-06 06:25 UTC, Elmar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar 2020-10-06 06:19:50 UTC
Description:
When I create a line from left to right and type text "in" it, it is OK, if I draw it right to left the text is upside down

Steps to Reproduce:
1. create two rectangles
2. draw line from left to right, type text
3. draw line right to left, type text

Actual Results:
in item 3. above the text displays upside down

Expected Results:
Should be right side up


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-GB
Module: DrawingDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Elmar 2020-10-06 06:25:56 UTC
Created attachment 166108 [details]
upside down text
Comment 2 Regina Henschel 2020-10-06 23:56:24 UTC
It is the intended behavior that text on a line follows the line.

Every line gets automatically a rotation. If you draw a line from right to left, you introduce a 180° rotation and the text is 180° rotated too.

To get upright text use a straight connector instead of a line.
Comment 3 Telesto 2020-10-08 07:02:52 UTC
(In reply to Regina Henschel from comment #2)
> It is the intended behavior that text on a line follows the line.
> 
> Every line gets automatically a rotation. If you draw a line from right to
> left, you introduce a 180° rotation and the text is 180° rotated too.
> 
> To get upright text use a straight connector instead of a line.

I do get the 'technical' explanation. However, if you simply draw an arrow left to right you don't expect to be using rotation (I'm not, IMHO). 

So I'm personally picking side with the initial poster (in acknowledging the problem). Some else is of course if it's possible to change this with reasonable effort
Comment 4 Heiko Tietze 2020-10-09 07:39:00 UTC
(In reply to Telesto from comment #3)
> However, if you simply draw an arrow left to right you don't expect 
> to be using rotation (I'm not, IMHO). 

Me and nobody does expect this. So it doesn't happen. As Regina explained: right to left means rotated, left to right is not rotated and you get normal text. That's why Elmar wrote "draw line from left to right" and "draw line right to left".
Comment 5 Telesto 2020-10-09 20:57:29 UTC
(In reply to Heiko Tietze from comment #4)
> (In reply to Telesto from comment #3)
> > However, if you simply draw an arrow left to right you don't expect 
> > to be using rotation (I'm not, IMHO). 
> 
> Me and nobody does expect this. So it doesn't happen. As Regina explained:
> right to left means rotated, left to right is not rotated and you get normal
> text. That's why Elmar wrote "draw line from left to right" and "draw line
> right to left".

That's me writing it wrong, sorry :-). I intended to say right to left. And still not into the being rotated mood here either. He simply wants to draw a line with arrow to the left (I would do the same)

I don't see the practical advantage of being upside down (except the programming logic doing this).I would expect that text to switch side between 90 and 275 degree as the initial reporter.  

Maybe there is a use case for this behavior (to be upside down), however I currently don't see it. It's more an unpractical (less natural) behavior.
I wound't expect it, nor did the reporter :-). So from 'user' perspective there might be something wrong. 

Even a checkbox would do.. rotate text between 90-275 degree :-). If this needs to be this way for whatever reason. But I have the feeling this proposal would be come a file format issue :-(