Bug 161575 - FILEOPEN OOXML chart title super- and sub-script text overlaps
Summary: FILEOPEN OOXML chart title super- and sub-script text overlaps
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OOXML-Chart
  Show dependency treegraph
 
Reported: 2024-06-14 16:01 UTC by Piotr Osada
Modified: 2024-08-20 12:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
tdf#161575 bug.xlsx (14.73 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2024-06-14 16:20 UTC, Piotr Osada
Details
tdf#161575 OOXML chart title super-sub-script overlaps.png (63.34 KB, image/png)
2024-06-14 16:20 UTC, Piotr Osada
Details
tdf#161575 Excel,LO24.2.3,LO24.8.alpha1 comparison.png (193.13 KB, image/png)
2024-06-14 16:21 UTC, Piotr Osada
Details
Screenshot LO 25.2 vs Excel (214.40 KB, image/png)
2024-06-15 14:03 UTC, m_a_riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Osada 2024-06-14 16:01:35 UTC
Version: 24.8.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 318462181c709ed29c01eb3239b4d600d7b82ecc
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: pl-PL (pl_PL); UI: pl-PL
Calc: CL threaded

Example label in chart:
                     ^superscript
NORMAL-SIZE
           _subscript
(sub and super 'touches' each other)

Steps:
1) Open attached XLSX

Result:
-- subscripts and superscripts overlaps each other like below

                ^superscript
NORMAL-SIZE
           _subscript

or

           ^superscript
NORMAL-SIZE
                  _subscript




Expected result:

                     ^superscript
NORMAL-SIZE
           _subscript


or


           ^superscript
NORMAL-SIZE
                       _subscript
Comment 1 Piotr Osada 2024-06-14 16:20:01 UTC
Created attachment 194738 [details]
tdf#161575 bug.xlsx
Comment 2 Piotr Osada 2024-06-14 16:20:54 UTC
Created attachment 194739 [details]
tdf#161575 OOXML chart title super-sub-script overlaps.png
Comment 3 Piotr Osada 2024-06-14 16:21:54 UTC
Created attachment 194740 [details]
tdf#161575 Excel,LO24.2.3,LO24.8.alpha1 comparison.png
Comment 4 m_a_riosv 2024-06-15 14:03:06 UTC
Created attachment 194751 [details]
Screenshot LO 25.2 vs Excel

I think it works fine for me with
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0e2409e5e3c73ec25c61aa4ea140d114869ea512
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
and with
Version: 24.8.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 318462181c709ed29c01eb3239b4d600d7b82ecc
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
Version: 24.8.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 318462181c709ed29c01eb3239b4d600d7b82ecc
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: winLocale: es-ES (es_ES); UI: en-US Calc: CL threaded
Comment 5 ady 2024-06-15 21:16:28 UTC
Reproduced with:

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (es_AR); UI: en-US
Calc: CL threaded

Also repro with LO 7.6.

But not repro with:

Version: 24.8.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 318462181c709ed29c01eb3239b4d600d7b82ecc
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (es_AR); UI: en-US
Calc: CL threaded

Maybe some back-port / cherry-pick is needed, or maybe this is just a new enhancement recently introduced in LO 24.8 alpha that will not get back-ported.
Comment 6 Buovjaga 2024-08-20 12:29:19 UTC
Repro in 24.2.5, but not in master. I think it's fine to close.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 42e517ca2fbf3cbec7500ff0b8e0efe19d0b7adf
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 20 August 2024