Bug 161148 - Shadow on Emoji just duplicates them (instead of greying their shape)
Summary: Shadow on Emoji just duplicates them (instead of greying their shape)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Character
  Show dependency treegraph
 
Reported: 2024-05-17 10:46 UTC by Gabriele Ponzo
Modified: 2024-06-01 11:19 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Shadow performed on the whole TextBox (182.19 KB, image/png)
2024-05-17 10:49 UTC, Gabriele Ponzo
Details
Shadow ferformed on characters (165.10 KB, image/png)
2024-05-17 10:50 UTC, Gabriele Ponzo
Details
Notice that Emojis are raster (112.90 KB, image/png)
2024-05-17 10:51 UTC, Gabriele Ponzo
Details
Applying blur effect does partly solve (153.98 KB, image/png)
2024-05-17 10:55 UTC, Gabriele Ponzo
Details
Tests file (21.37 KB, application/vnd.oasis.opendocument.graphics)
2024-05-17 11:00 UTC, Gabriele Ponzo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriele Ponzo 2024-05-17 10:46:33 UTC
Description:
There are actually two ways to apply a shadow to a text: doing it on the characters or to the whole text box.

In both cases what happens for regular text is that it is duplicated on a diagonal but using a different color (customizable) and putting the copy behind the original text.

If you insert an emoji among the characters (πŸ‘‰πŸ“±πŸŽπŸ‘‘πŸŽ‰ for instance), LO behaves similarly but not properly in the same way: it duplicates the icon but doesn't grey it's shape.

Steps to Reproduce:
1. Open Draw or Impress;
2. Create a Text Box and write some text, then insert also some emojis (you can copy from here πŸ‘‰πŸ“±πŸŽπŸ‘‘πŸŽ‰ and paste them);
3. Select the whole text (or the box) and apply the shadow.

Actual Results:
The icons are just duplicated, not greyed (or colored as specified)

Expected Results:
The software should somehow detect the icons shape and just fill it with the desired shadow color.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.6.3 (X86_64) / LibreOffice Community
Build ID: 60(Build:3)
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: it-IT (it_IT.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.6-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 1 Gabriele Ponzo 2024-05-17 10:49:00 UTC
Created attachment 194169 [details]
Shadow performed on the whole TextBox
Comment 2 Gabriele Ponzo 2024-05-17 10:50:08 UTC
Created attachment 194171 [details]
Shadow ferformed on characters
Comment 3 Gabriele Ponzo 2024-05-17 10:51:03 UTC
Created attachment 194172 [details]
Notice that Emojis are raster
Comment 4 Gabriele Ponzo 2024-05-17 10:55:35 UTC
Created attachment 194173 [details]
Applying blur effect does partly solve
Comment 5 Gabriele Ponzo 2024-05-17 11:00:46 UTC
Created attachment 194174 [details]
Tests file

Also using the transparency can be a workaround.
Comment 6 StΓ©phane Guillou (stragu) 2024-06-01 11:19:24 UTC
Already the case in 6.4.0.3.

In 6.3.0.4, the emojis were rendered as monochrome characters and had the same shadow as regular characters.

Repro in:

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 6084962f93efc005b6827edceae12d3170f17ccd
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded