Bug 162827 - Placing the cursor on a bookmark, no longer hilights it in the navigation bar.
Summary: Placing the cursor on a bookmark, no longer hilights it in the navigation bar.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2024-09-06 14:59 UTC by Daniele
Modified: 2024-09-07 11:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file (1.04 MB, application/vnd.oasis.opendocument.text)
2024-09-06 15:00 UTC, Daniele
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele 2024-09-06 14:59:47 UTC
Description:
In present stable version, placing the curson on a Bookmark results in it being highlighted in the navigation panel, which then allows for other actions.

In latest development version this no longer happens.

Steps to Reproduce:
1.Open attached file with Version A (in other information)
2.Place cursor on TASA in the first column
3.Tasa1 gets highlighted in the navigation panel
4.Open Open attached file with Version B (in other information)
5.Repeat 2 and 3

Actual Results:
Tasa1 no longer highlighted

Expected Results:
I should


Reproducible: Always


User Profile Reset: No

Additional Info:
Version A
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 8; OS: macOS 14.6.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en.UTF-8); UI: en-US
Calc: threaded

Version B
Version: 25.2.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: a7de9cc5e89cd0d0c2f6363b2c0cc265c528b121
CPU threads: 8; OS: macOS 14.6.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en.UTF-8); UI: en-US
Calc: threaded
Comment 1 Daniele 2024-09-06 15:00:31 UTC
Created attachment 196286 [details]
Test file
Comment 2 V Stuart Foote 2024-09-06 16:05:57 UTC
Confirmed with STR on Windows build of nightly against 25.2.0

Focus onto the bookmark in the document table cell no longer is highlighted in the bookmarks list of the SB Navigator. Highlight remains on the Table.

Conversely selecting the bookmark in the SB Navigator continues to track/highlight the bookmark object on document page.

=-testing-= 

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1b61a0737e3600aadf42f28a15c70aface9ab61e
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 3 Jim Raykowski 2024-09-07 03:18:57 UTC
I think the patch done here changed the Bookmark tracking behavior:
https://bugs.documentfoundation.org/show_bug.cgi?id=159428

A work around is to set Bookmarks to be in "Content Navigation View" mode or to turn off Table and Headings tracking.
Comment 4 V Stuart Foote 2024-09-07 11:48:29 UTC
After turning off Table tracking... that gets SB Navigator out of the Table mode list.

I guess this is correct, intentional at the least as for bug 159428, and the Bookmark list entry isn't highlighted rather its coincident Heading list entry is.

"When a bookmark is in a heading, highlighting the heading is more important than highlighting the bookmark. Highlight the heading in this case."

While turning off Headings outline tracking allows the Bookmark highlights in any of the  Navigate By modes. Leaving outline tracking in default positions coincident Bookmark/Heading highlight to the Headings list.

Seems consistent, if a little undiscoverable...