Bug 158751 - Pasting text in vertically merged cells does not show the entire text
Summary: Pasting text in vertically merged cells does not show the entire text
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Merge-Split
  Show dependency treegraph
 
Reported: 2023-12-17 16:36 UTC by Rafael Lima
Modified: 2026-01-13 08:12 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the problem (4.32 KB, image/png)
2023-12-17 16:36 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 2 m_a_riosv 2026-01-13 04:03:48 UTC
*** Bug 170311 has been marked as a duplicate of this bug. ***
Comment 3 BDF 2026-01-13 08:12:23 UTC
(In reply to m_a_riosv from comment #2)
> *** Bug 170311 has been marked as a duplicate of this bug. ***

As this is a different bahaviour I doubt that it's a duplicate.

Furthermore:
1) Windows
- Version: 24.2.6.3_AA (X86_64) / LibreOffice Community
- Build ID: 23735e228767740599e3f00b9371b05bcbf243d2
- CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
- Locale: de-AT (de_AT); UI: de-DE
- Calc: threaded

Repo, but 24.2.6.3 is an old version. As it's a company PC I have no possibility to update the version myself and I have to sit and wait.


2) Linux
- Version: 25.8.4.2 (X86_64) / LibreOffice Community
- Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df
- CPU threads: 12; OS: Linux 6.14; UI render: default; VCL: gtk3
- Locale: de-AT (de_AT.UTF-8); UI: de-DE
- Flatpak
- Calc: threaded

No repo.
KWrite text pasted into vertically merged cell as described.

OS info:
- Operating System: KDE neon User Edition
- KDE Plasma Version: 6.5.4
- KDE Frameworks Version: 6.22.0
- Qt Version: 6.10.1
- Kernel Version: 6.14.0-37-generic (64-bit)
- Graphics Platform: Wayland