Bug 139740 - CALC Vertically aligned text does not overflow
Summary: CALC Vertically aligned text does not overflow
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-18 11:47 UTC by Colin
Modified: 2021-02-02 06:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Simple sheet demonstrating the effect (8.21 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-01-18 11:48 UTC, Colin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin 2021-01-18 11:47:26 UTC
Description:
Text which has been rotated through 90 Deg will not overflow into empty cells immediately above the rotated cells.
Also, the alignment buttons on the toolbar transpose their effect so bottom aligned is equivalent to left-aligned on a horizontal cell whereas left-aligned becomes "top-aligned" for the text axis
I don't necessarily consider the transposition of the alignment functions as a significant issue as they are easily correlated to the text flow.
The row height appear to be automatically adjusted to "fit" the text length upon rotation but this is rarely the desired effect.
The cells above the rotated cell can be "merged" but the rotation then has to be re-defined to achieve the display of full text

Steps to Reproduce:
Simple demo sheet attached

Actual Results:
Truncated text

Expected Results:
overflow text


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: sv-SE (en_GB); UI: en-GB
Calc: threaded
Comment 1 Colin 2021-01-18 11:48:19 UTC
Created attachment 168989 [details]
Simple sheet demonstrating the effect
Comment 2 Colin 2021-01-18 11:49:23 UTC
It may be that somebody will wish to redefine the impact as TRIVIAL
Comment 3 Colin 2021-01-18 12:08:08 UTC
(In reply to Colin from comment #0)

> The cells above the rotated cell can be "merged" but the rotation then has
> to be re-defined to achieve the display of full text
> 
I now realise this is due to the format being taken from the first or top cell so that is not a dubious action.
Comment 4 Peter S Anderson 2021-01-19 22:00:57 UTC
My view is that this is not a bug but standard behaviour. I have tested this in 7.0.3 and Excel and get the same behaviour. Basically, text overflow does not occur to cells above. As mentioned, there are two work arounds: merge the cell with those above; or increase the column height. Standard behaviour when you rotate text is for Calc to increase the row height to accommodate the rotated text. Excel does the same thing.
Comment 5 Colin 2021-01-20 05:39:15 UTC
Whilst it's obviously a trivial, easily remedied effect, I suspect Excel is also flawed. Pour excessive water into any open container and it overflows. It doesn't really matter if the container is upright or has been knocked onto its side. It may also transpire that coding to incorporate physics could prove beneficial further along the development path.
However, I would agree that if trying to emulate the laws of physics destroys or seriously impacts the ability to "Save as Excel" then it should be reassessed as either NOTABUG or WON'TFIX.
Comment 6 Peter S Anderson 2021-01-20 06:44:39 UTC
Hi Colin,
Thanks for the response. I suspect that this issue needs to be decided by someone above my pay grade. I would, however, like to add a couple of problems with your suggestion. 
(1) Changing the behaviour of Calc to flow upward would have legacy issues for existing spreadsheets. Unfortunately, some people may be relying on the existing behaviour.
(2) I decided to do something similar to rotating text - I increased the font size on standard non rotated text. Again the column height increased automatically and when I reduced the column height the top of the text did NOT display in the empty cells above. I suspect that the horizontal truncation of text if there is insufficient head room is a long standing legacy behaviour.
The way forward with this problem requires someone with more product history than me.
Regards…. Peter.
Comment 7 Colin 2021-01-20 06:53:28 UTC
Hi Peter,
I must confess, I hadn't considered the legacy issue if a user had already taken mitigating steps.
I guess I must be a selfish Pom;)
Best regards,
Colin
Comment 8 Peter S Anderson 2021-02-02 06:29:56 UTC
Consulted with buovjaga and no further action required.