Bug 49994 - TABLES : jumps on selecting text in table in big cell on neighboring pages
Summary: TABLES : jumps on selecting text in table in big cell on neighboring pages
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
Whiteboard: target:24.8.0
: 56797 (view as bug list)
Depends on:
Blocks: Writer-View-Jumps Writer-Tables-Select
  Show dependency treegraph
Reported: 2012-05-16 02:29 UTC by Palagichev
Modified: 2024-04-06 23:06 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

patch demo (1.19 MB, video/x-matroska)
2024-03-01 00:07 UTC, Jim Raykowski

Note You need to log in before you can comment on or make changes to this bug.
Description Palagichev 2012-05-16 02:29:15 UTC
Writer hangs when you select text in a table in a big cell with the text broken into two pages in the presence of fixed header.
1. create new table, columns 2, rows 2, with Heading
2. in header write one line of text
3. in second line write big fragmet of text, so that text in second cell transferred to second page

When you select fragment of text in neighboring pages in one cell selected fragment jump chaotic and in some cases Writer hangs and mouse blocking.

Kubuntu 10.04, LibreOffice Writer LibreOffice Build ID: 350m1(Build:2)
same issue in OpenOffice
Comment 1 Brenda Granados 2013-03-07 15:13:53 UTC
*** Bug 56797 has been marked as a duplicate of this bug. ***
Comment 2 QA Administrators 2015-02-19 15:50:54 UTC Comment hidden (obsolete)
Comment 3 Frantisek Erben 2015-02-19 20:21:52 UTC
Bug still occured. Tested on LO (1ba9640ddd424f1f535c75bf2b86703770b8cf6f) runing on OS X 10.10.2.

If you would try fix this bug see duplicate Bug 56797 – there are test file and screenrecord for reproduction.
Comment 4 QA Administrators 2016-02-21 08:38:23 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2017-03-06 16:14:27 UTC Comment hidden (obsolete)
Comment 6 Timur 2019-09-05 12:36:18 UTC
Repro OO and 6.4+.
Steps from duplicated bug:
1. open ODT attachment 69599 [details]
2. try to select with mouse some text that crossed to the following page.
3. see that view jumps
Comment 7 Xisco Faulí 2019-09-16 14:17:52 UTC
IMHO, it doesn't make sense the combination 'high' and 'minor'. Lowering priority...

@Jim, I thought you might be interested in this issue...
Comment 8 Jim Raykowski 2019-09-19 07:15:47 UTC
The original code that does the selection (incorrectly) puzzels me. Here is a patch that provides expected behavior for text selection across pages when a table has repeat heading. I could find no problems while testing but no guarantees with this one :). 

Comment 9 QA Administrators 2021-09-19 03:44:48 UTC Comment hidden (obsolete)
Comment 10 Sophie Sipasseuth 2023-09-18 13:09:28 UTC
This bug seems to be resolved in the last version of LibreOffice:

Version: (X86_64) / LibreOffice Community
Build ID: df3b95a39472e18ea8acdaae447b7176e37a9256
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
Comment 11 QA Administrators 2023-09-20 03:06:18 UTC Comment hidden (obsolete)
Comment 12 Stéphane Guillou (stragu) 2024-02-26 10:17:09 UTC
I still get a jump to the beginning of the document with:

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

Shift + Down selection works well as a workaround.

Jim, was that patch abandoned only because of lack of reviewers?
Comment 13 Jim Raykowski 2024-03-01 00:07:57 UTC
Created attachment 192881 [details]
patch demo

Here is new effort to make drag selection usable for this bug report case:

One minor? drawback is that drag selection is lost while the pointer is in a repeat heading.
Comment 14 Commit Notification 2024-03-05 06:21:46 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":


tdf#49994 Fix text selection over pages for multi column tables

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.
Comment 15 Stéphane Guillou (stragu) 2024-04-06 10:45:02 UTC
Thanks Jim, I'd call this fixed now, I'll let you mark as resolved! :)

Tested comment 6 steps with:

Version: (X86_64) / LibreOffice Community
Build ID: 30c6e51fc9cb0fa864e1755271343d847fcced25
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
Comment 16 Jim Raykowski 2024-04-06 21:36:38 UTC
Thanks Stéphane for the reminder.
Comment 17 Stéphane Guillou (stragu) 2024-04-06 23:06:02 UTC
and thanks for the fix! :)