Bug 152940 - Shadow in upside-down textbox on wrong side
Summary: Shadow in upside-down textbox on wrong side
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-09 08:03 UTC by matthijs.volker.bouma@gmail.com
Modified: 2023-01-09 08:25 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthijs.volker.bouma@gmail.com 2023-01-09 08:03:24 UTC
Description:
When a text is given a shadow in Draw, it falls to its lower right. I would expect that, if the text is turned, the relative position of the shadow would move along. It stays, however, on the absolute lower right, resulting in a weird relief effect when the text is rotated 180 degrees.

Steps to Reproduce:
1. Make a text box. Write text in a light colour, like yellow or white.
2. Give the text a shadow effect
3. Rotate the text box 180 degrees

Actual Results:
The shadow remains in the absolute lower right (and so, the rotated text's upper left

Expected Results:
The shadow's relative position to the text should be maintained


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 Stéphane Guillou (stragu) 2023-01-09 08:25:15 UTC
Thank you Matthijs.

I can see the same in:

Version: 7.5.0.1 (X86_64) / LibreOffice Community
Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

...but I'm not sure it is something that needs fixing.
In a way, having all text shadows facing the same direction as a default makes sense, giving the impression that the "light" is coming from the same source.
It is consistent with shapes (including the text box). Although more configurable, the shape shadows will  have a shadow direction that is constant relative to the page (i.e. the direction will not "follow" the rotation of the object).

Same thing in Writer.