Bug 159712

Summary: Sparklines don't take the space of the whole merged cell
Product: LibreOffice Reporter: David García <vivadavid>
Component: CalcAssignee: Tibor Nagy <tibor.nagy.extern>
Status: ASSIGNED ---    
Severity: normal CC: bobharvey, buzea.bogdan, miguelangelrv, stephane.guillou
Priority: medium    
Version: 7.6.5.2 release   
Hardware: x86-64 (AMD64)   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=150816
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108320, 150884    
Attachments: Spreadsheet

Description David García 2024-02-13 23:33:41 UTC
Description:
Sparklines only take the space of the original first cell of a merged cell.

Steps to Reproduce:
1. I merge two cells.
2. I try to create a new sparkline and place it on the merged cell, but Calc only allows me to place it on the fist original cell.
3. As expected, the sparkline only takes the space of the first original cell, the second one remaining empty.

Actual Results:
The sparkline is placed on the first original cell of the merged cell.

Expected Results:
The sparkline should be placed on the whole merged cell.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-GB
Calc: CL threaded
Comment 1 David García 2024-02-13 23:34:04 UTC
Created attachment 192550 [details]
Spreadsheet
Comment 2 m_a_riosv 2024-02-15 13:05:02 UTC
Reproducible
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 16; OS: Windows 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.alpha0+ (X86_64) / LibreOffice Community
Build ID: 125fc2ce861c82592b261f2992c893b414396e56
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

But I'm not sure if it should be a request for enhancement better than a bug.
Comment 3 David García 2024-02-15 15:31:43 UTC
I'm not an expert, but I considered it to be a bug in the sense that LO allows to merge cells, and since cells are used to contain information, it makes sense for the information (in this case, a sparkline) to take the whole cell. Otherwise, the rest of the merged cell becomes useless: just empty space.
Comment 4 Stéphane Guillou (stragu) 2024-02-27 16:28:02 UTC
Reproduced:

Version: 7.6.5.2 (X86_64) / LibreOffice Community
Build ID: 38d5f62f85355c192ef5f1dd47c5c0c0c6d6598b
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded