Bug 166048 - Show pages from/to in the Navigator's heading tooltip
Summary: Show pages from/to in the Navigator's heading tooltip
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Jim Raykowski
URL:
Whiteboard: target:26.2.0
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2025-04-06 05:14 UTC by peter josvai
Modified: 2025-09-24 16:52 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
an example document, just open NAVIGATOR to see quickly what I'm taling about :) (16.44 KB, application/vnd.oasis.opendocument.text)
2025-04-06 05:14 UTC, peter josvai
Details
a screenshot of Navigator imitating that it already has this functionality (41.91 KB, image/png)
2025-04-06 05:15 UTC, peter josvai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peter josvai 2025-04-06 05:14:35 UTC
Created attachment 200181 [details]
an example document, just open NAVIGATOR to see quickly what I'm taling about :)

hi,

This s about editing, using NAVIGATOR. A very simple suggestion, which could make Writer extremely intelligent and even more useful as it is today :)

You have a document, with headings... 

say, one "Heading 1" heading, and several "Heading 2"-s.. (doesn't matter)


The point is:
When you're editing your document, you wanna know at which page the given heading (chapter title or sub-chapter title) is...


This could be displayed in NAVIGATOR...

see the attached example :)

and the navigator scree shot :) 



- - - thank you for developing Libreoffice and Writer - - - -
Comment 1 peter josvai 2025-04-06 05:15:55 UTC
Created attachment 200182 [details]
a screenshot of Navigator imitating that it already has this functionality
Comment 2 Dieter 2025-08-24 12:07:47 UTC
Hi Peter, thank you for your idea. I don't know, if this is feasible, so let's ask Jim Raykowski. Personally I have no certain opinion on this suggestion. Let's ask design-team
Comment 3 Heiko Tietze 2025-08-25 08:13:14 UTC
If such information is added I would not tweak the label but add it to the tooltip. However, feels wrong and unnecessary to me.
Comment 4 jan d 2025-09-02 15:56:55 UTC
> When you're editing your document, you wanna know at 
> which page the given heading (chapter title or sub-chapter title) is...

There are probably usecases where this is needed, but I have a hard time imagining them as common. Usually, length limits are for full texts (maybe excluding index etc.); the question on which page a headline starts might be relevant for layouts, but that is better solved by paragraph style text flow settings.
Comment 5 wodsfort 2025-09-04 18:15:11 UTC
This is very good function,i agree.I think that better print not (p.2),(p.3),(p.4) etc. better you like sheet and display numbers to other column.It will be use other space and structure styles of document
Comment 6 Heiko Tietze 2025-09-11 09:05:14 UTC
We discussed the topic in the design meeting. While a use case for the exact page number is somewhat far fetched, the number of pages for a chapter (in addition to Words/Characters) might be of interest. Could be "Pages: 3" or "Pages: 2-4".
Comment 7 Eyal Rozenberg 2025-09-20 08:30:15 UTC
(In reply to peter josvai from comment #0)
> When you're editing your document, you wanna know at which page the given
> heading (chapter title or sub-chapter title) is...

Some rationale from my end:

We though adding the number of pages would be useful, becase that's something you _don't_ get by clicking the item - it requires clicking two consecutive items and subtracting in your head - and because you may want to slowly hover over headings and see how big these parts of the document are, for a kind of a "mind-map" or evaluation of a single item, without clicking through each and every item. The page range also requires two-clicks-per-item (unless you keep an accumulator in your mind).

My point in saying this is, that when you file a feature request, you need to make a concrete argument for your specific feature, in the specific way you suggested it be implemented - and also take into consideration alternative means for achieving the same effect, explaining why they are insufficient or inadequate. Heiko mentioned you have a lot of open bugs (which I have not gone through), so perhaps this suggestion is applicable elsewhere.
Comment 8 Jim Raykowski 2025-09-22 04:45:46 UTC
Hi All,

Here is a link to a patch that implements this enhancement with respect to the design team's idea to include the range of pages in the tooltip:

https://gerrit.libreoffice.org/c/core/+/191306
Comment 9 Commit Notification 2025-09-23 15:47:12 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d8b0567bb6d86ccba5387e2c6132d915e7c431d0

tdf#166048 Show pages from/to in the Navigator's heading tooltip

It will be available in 26.2.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 10 BogdanB 2025-09-24 16:52:19 UTC
Working well, the number of the page is visible in tooltip under the other elements from that tooltip!

Thanks, Jim.

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 091ad8440e15762daad5f20cabb12e201686b234
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded