Bug 170041 - Writer Navigator: split frames holding floating tables aren't highlighted fully
Summary: Writer Navigator: split frames holding floating tables aren't highlighted fully
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Jim Raykowski
URL:
Whiteboard: target:26.8.0 target:26.2.0.2
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-19 06:05 UTC by Mike Kaganski
Modified: 2026-01-08 17:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A floating table (14.43 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-12-19 06:05 UTC, Mike Kaganski
Details
A screencast (142.63 KB, image/gif)
2025-12-19 06:08 UTC, Mike Kaganski
Details
Screencast (72.51 KB, image/gif)
2025-12-20 12:09 UTC, Mike Kaganski
Details
Screencast (1.29 MB, image/gif)
2025-12-20 12:12 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2025-12-19 06:05:43 UTC
Created attachment 204714 [details]
A floating table

Open the attached document. It has a single floating table, that goes from page 1 to page 2. Since it's floating, it has an associated frame.

Scroll page view to the area between page 1 and page 2, to see the full table. Using Navigator, see the table and the frame. Hover mouse over the Navigator's table entry, and see the whole table highlighted, both on page 1 and page 2. Now hover over the Navigator's frame entry, and see that only second page's part of the frame is highlighted.
Comment 1 Mike Kaganski 2025-12-19 06:08:46 UTC
Created attachment 204715 [details]
A screencast
Comment 2 Jim Raykowski 2025-12-19 06:29:23 UTC
Hi Mike, Thanks for adding me to the CC list.

I repro and will try to correct this.

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: dfc0ec48f86b39f7159d0c856fa7d497bea3ea13
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Jim Raykowski 2025-12-20 10:36:34 UTC
I couldn't see how to make a floating table. I did a search and found:

"To insert a floating table in LibreOffice Writer, go to Insert > Frame > Floating Frame, then insert your table inside the frame. This allows the table to float and span multiple pages if needed."

Doesn't seem to work for me. I never get the 'Allow frame to split across pages' check button (m_xFlySplitCB) to show like it does for Frame1 in the floating.docx document in the Frame dialog Position and Size tab page.

What am I doing wrong?

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 026affeab6adfbe118e12470193da2d8d7985983
CPU threads: 2; OS: Linux 6.14; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 Mike Kaganski 2025-12-20 11:52:44 UTC
(In reply to Jim Raykowski from comment #3)

Actually, I myself use Word to create these tables :-) I never created it manually.
Comment 5 Mike Kaganski 2025-12-20 12:09:56 UTC
Created attachment 204738 [details]
Screencast

Seems to work here using Version: 25.8.4.2 (X86_64)
Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df
CPU threads: 24; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-GB
Calc: CL threaded
Comment 6 Mike Kaganski 2025-12-20 12:12:39 UTC
Created attachment 204739 [details]
Screencast

Sorry, attached wrong file first time :-)
Comment 7 Jim Raykowski 2025-12-20 16:37:04 UTC
(In reply to Mike Kaganski from comment #6)
> Created attachment 204739 [details]
> Screencast
> 
> Sorry, attached wrong file first time :-)

Ahh, I was missing the select table step. Works for me now :) Thanks!
Comment 8 Commit Notification 2025-12-20 21:17:09 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8415e4a92b1ef047090679a70a9ff2e580c19071

tdf#170041 SwNavigator: Fix floating tables aren't highlighted fully

It will be available in 26.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:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 Commit Notification 2026-01-08 17:34:38 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "libreoffice-26-2":

https://git.libreoffice.org/core/commit/1cdb645efc4f4db71c7727aed8c03e6ffb5cf005

tdf#170041 SwNavigator: Fix floating tables aren't highlighted fully

It will be available in 26.2.0.2.

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:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.