Bug 125634 - Object not rotated, though it's corners visualized as rotated
Summary: Object not rotated, though it's corners visualized as rotated
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, implementationError
Depends on:
Blocks: Textbox
  Show dependency treegraph
 
Reported: 2019-06-02 07:55 UTC by opensuse.lietuviu.kalba
Modified: 2023-08-10 03:05 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (52.02 KB, image/png)
2019-06-02 07:55 UTC, opensuse.lietuviu.kalba
Details
ODT document for testing (9.22 KB, application/vnd.oasis.opendocument.text)
2019-06-02 07:56 UTC, opensuse.lietuviu.kalba
Details
DOCX for testing (4.96 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-06-02 07:56 UTC, opensuse.lietuviu.kalba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description opensuse.lietuviu.kalba 2019-06-02 07:55:33 UTC
Created attachment 151841 [details]
screenshot

I copy-pasted object (text box) from DOCX. Seems originally it should be rotated, but it is not. However if I click on object, I see that corners mismatch with object: corners are rotated.

LibreOffice Writer
Versija: 6.2.3.2
Darinio identifikatorius: aecc05fe267cc68dde00352a451aa867b3b546ac
Procesoriaus gijos: 4; OS:Linux 4.4; Sąsajos pateikimas: numatytasis; VCL: kde4; 
Lokalė: lt-LT (lt_LT.UTF-8); UI-Language: lt-LT
Calc: threaded

See attachments.
Comment 1 opensuse.lietuviu.kalba 2019-06-02 07:56:04 UTC
Created attachment 151842 [details]
ODT document for testing
Comment 2 opensuse.lietuviu.kalba 2019-06-02 07:56:25 UTC
Created attachment 151843 [details]
DOCX for testing
Comment 3 opensuse.lietuviu.kalba 2019-06-02 08:04:52 UTC
I see fragment "rotation:270" (that seems not fully implemented) in word/document.xml from DOCX archive:

<v:rect id="shape_0" ID="Text Box 2" stroked="f" style="position:absolute;margin-left:-23.15pt;margin-top:98.3pt;width:109.5pt;height:41.85pt;rotation:270;mso-position-horizontal-relative:margin" wp14:anchorId="4F098A0E">
Comment 4 Durgapriyanka 2019-06-07 21:27:12 UTC
thank you for reporting the bug.

in LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

The text doesn't appear in the box and the corners are not visualized as rotated.The box can only be extended or reduced in its size.

In Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

The corners mismatch with the object and it can only be extended or reduced. The corners are not visualized as rotated.
Comment 5 Buovjaga 2019-08-25 17:20:09 UTC
Bibisected on Linux 44max to 9835a5823e0f559aabbc0e15ea126c82229c4bc7
"sw textboxes: reimplement ODF import/export

Turns out that for normal TextFrames and rectangular drawinglayer
shapes, the engine is written in ODF implicitly. Use the same trick to
describe if the shape content should be rendered by SW or editeng."

Before this commit, the ODT shows the box as rotated so the text is vertical.

Adding Cc: to Miklos Vajna
Comment 6 Miklos Vajna 2019-08-26 20:47:23 UTC
The "Writer textbox" concept supports complex geometry (rounded corners, etc) with complex content (e.g. tables, table of contents, etc). They do not support rotated text.

The reason the ODF sample "works" is because it imports the text as a simple text, without a textbox. In this particular case it provides better results, but if the content would be complex, then the new behavior would be better, and the old one would be bad.

So it seems to me this is rather an implementation error / missing feature in the docx importer and Writer (lack of rotated text on shapes: used to loose both rotated text and complex geometry, still looses rotated text) than a regression; adjusting keywords accordingly.
Comment 7 QA Administrators 2023-08-10 03:05:35 UTC
Dear opensuse.lietuviu.kalba,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug