Bug 152297 - Track comments in the Navigator also by focus inside the comment box
Summary: Track comments in the Navigator also by focus inside the comment box
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2022-11-29 14:15 UTC by Rafael Lima
Modified: 2023-10-17 22:48 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-11-29 14:15:20 UTC
When you click a comment box in a Writer document, the comment is not selected in the Navigator even when Comment Tracking is on.

Steps to reproduce:
1) Consider a document in Writer with multiple comments
2) Open the navigator and check if "Comment tracking" is enabled (right-click the Comments entry in the navigator and check Comment tracking)
3) Click inside a comment in the document; notice that it doesn't get selected in the navigator
4) Using the "Previous/Next" buttons in the navigator will move the cursor to the expected comment; however the selected comment in the Navigator will not change

In summary, I believe comment tracking should select the comment in the navigator when the cursor is inside a comment box in the document.

Reproducible with current master

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 24d7431876e87eba700a9f141dc8e030143a92ad
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 Jim Raykowski 2022-12-12 00:29:14 UTC
The Navigator tracks content at the cursor position in the document view. Here is where this is done for fields and comments: sw/source/uibase/utlui/content.cxx SwContentTree::UpdateTracking function // fields, comments
Comment 2 Buovjaga 2023-03-08 08:31:15 UTC
Repro. It does track, if you position cursor to the comment marker in the canvas.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 65f672b27f84682764f924a3da3cecbafc88b278
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 8 March 2023
Comment 3 lomacar 2023-10-17 22:48:24 UTC
It does not track for me in 7.6.2.1. Comment tracking is enabled, when I place the cursor in comments in the document the navigator pane does nothing.