Bug 158751

Summary: Pasting text in vertically merged cells does not show the entire text
Product: LibreOffice Reporter: Rafael Lima <rafael.palma.lima>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, miguelangelrv
Priority: medium    
Version: 7.6.4.1 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=126208
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108320    
Attachments: Screenshot showing the problem

Description Rafael Lima 2023-12-17 16:36:00 UTC
Created attachment 191474 [details]
Screenshot showing the problem

Steps to reproduce:
1) Create an empty Calc document
2) Merge cells A1:A2 and make sure vertical alignment is set to "Center" (which is the default)
3) Now copy some raw text from somewhere else (for instance, open a text editor such as Kate and type "Text"; now copy this "Text" and paste it into the merged cells)
4) Notice that the lower half of "Text" is not visible

See attached image showing the problem.

Scrolling the document or zooming in/out will refresh the screen and show the remainder of the "Text".

System info

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 12; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+wayland)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.4-0ubuntu0.23.10.1
Calc: threaded
Comment 1 m_a_riosv 2023-12-20 01:06:52 UTC
Reproducible
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: bcbc0857bf4bc24b5ea36e445a367cce0a382da4
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

Seems a refresh issue.