Bug 144335 - Navigator. Disable Table tracking option
Summary: Navigator. Disable Table tracking option
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.3 release
Hardware: All All
: medium enhancement
Assignee: Jim Raykowski
URL:
Whiteboard: target:7.3.0
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2021-09-06 16:22 UTC by David
Modified: 2021-10-04 22:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
sample document with combination of headings and tables (12.70 KB, application/vnd.oasis.opendocument.text)
2021-09-06 16:22 UTC, David
Details
demo of table tracking option (334.91 KB, application/x-matroska)
2021-09-17 05:20 UTC, Jim Raykowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2021-09-06 16:22:07 UTC
Created attachment 174829 [details]
sample document with combination of headings and tables

Since automatic focus was added to the Navigator for the various targets (see bug 95378), an option in the context menu needs to be added for disabling Table tracking.  Outline tracking for the headings can be disabled from the Heading context menu.  A similar option is needed for the tables while the Content Navigation View is disabled.  I understand the need for an automatic focus for the various targets, but there needs to be an option to disable this, since the continual change of focus is highly irritating when many multiple headings and tables are used in combination.  See the attachment for a sample document.
Comment 1 Roman Kuznetsov 2021-09-07 21:31:54 UTC
Jim, what do you think about it?
Comment 2 Jim Raykowski 2021-09-17 05:20:36 UTC
Created attachment 175087 [details]
demo of table tracking option

Sure

patch submitted for review:
https://gerrit.libreoffice.org/c/core/+/122218
Comment 3 David 2021-09-27 13:43:35 UTC
Is there a reason this patch hasn't been released yet?
Comment 4 Jim Raykowski 2021-09-27 22:48:48 UTC
(In reply to David from comment #3)
> Is there a reason this patch hasn't been released yet?

Is there still need now that bug 143268 has been fixed?
Comment 5 David 2021-09-28 12:30:00 UTC
Yes, please!  For the reason specified in the initial comment:

"I understand the need for an automatic focus for the various targets, but there needs to be an option to disable this, since the continual change of focus is highly irritating when many multiple headings and tables are used in combination.  See the attachment for a sample document."
Comment 6 Commit Notification 2021-09-29 06:58:04 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/38eb9a0594393e263f57701702974a030d3327de

tdf#144335 SwNavigator: Table tracking option

It will be available in 7.3.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 7 David 2021-09-29 15:19:01 UTC
Thanks again, Jim!

Would it be proper to have this setting saved on a per document basis
Comment 8 Jim Raykowski 2021-09-29 21:47:29 UTC
(In reply to David from comment #7)
> Thanks again, Jim!
David, Thanks for the thanks!
> 
> Would it be proper to have this setting saved on a per document basis
Glad you asked this question. The setting can be made to persist. This never merged patch does just that for Outline tracking:
https://gerrit.libreoffice.org/c/core/+/91338

Perhaps you are interested in contributing a patch to make the Table tracking option persist. Code pointers can be taken from the mentioned patch. I am happy to provide review.
Comment 9 Commit Notification 2021-10-04 22:33:03 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/24d3e8d219ce73a2e93f207b65050078535da57e

Related: tdf#144817 tdf#144335 Persist SwNavigator tracking settings

It will be available in 7.3.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.