Bug 74604 - UI: Make Navigation toolbar work on Hyperlinks and (Field) Cross-references too.
Summary: UI: Make Navigation toolbar work on Hyperlinks and (Field) Cross-references too.
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.4.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:7.3.0
Keywords:
Depends on:
Blocks: Hyperlink Fields-Cross-Reference Writer-Toolbars 115817
  Show dependency treegraph
 
Reported: 2014-02-06 08:06 UTC by Kumāra
Modified: 2024-04-19 12:56 UTC (History)
4 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 Kumāra 2014-02-06 08:06:10 UTC
I'm grateful for the forward-back Navigation toolbar. It's essential for a long document. (I'm writing a book.)

Currently, it works when I click on items on the Navigator. Would be great if it could also work when I click on links within the document: Hyperlinks and (Field) Cross-references.
Comment 1 Xisco Faulí 2017-03-02 10:14:10 UTC Comment hidden (obsolete)
Comment 2 Kumāra 2017-03-06 09:04:46 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2017-03-10 20:34:41 UTC
Ok, let's set to NEW.

For reference: https://help.libreoffice.org/Writer/Navigation "Working With the Navigation Toolbar"
Comment 4 Commit Notification 2021-10-20 00:43:39 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

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

tdf#74604 tdf#54412 Make recency work for hyperlink, field and footnote

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 5 V Stuart Foote 2021-10-22 23:46:32 UTC
Thanks Jim! The SideBar Navigator in "Recency" mode --and-- the "Navigation" toolbar both respond correctly now to movements to cross-references and footnotes. Hyperlinks also are added to the stack (though hyperlink into Drawing objects get cursor position at middle of the hyperlink text, but drawing object can be reopened, e.g. assign a keyboard shortcut to .uno:OpenHyperlinkOnCurs, or <ctrl>+click with mouse).

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 5ab21caf603ba0a1c95bbc94a29eebe3483d1599
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 6 Jim Raykowski 2021-10-23 07:20:18 UTC
(In reply to V Stuart Foote from comment #5)
> (though hyperlink into
> Drawing objects get cursor position at middle of the hyperlink text, but
> drawing object can be reopened, e.g. assign a keyboard shortcut to
> .uno:OpenHyperlinkOnCurs, or <ctrl>+click with mouse).
Stuart, thanks for verifying. I don't follow the "though hyperlink into Drawing objects get cursor position at middle of the hyper link text..." Maybe you speak of drawing objects not being selected on recency navigation stop?
Comment 7 V Stuart Foote 2021-10-23 13:27:45 UTC
(In reply to Jim Raykowski from comment #6)
> (In reply to V Stuart Foote from comment #5)
> > (though hyperlink into
> > Drawing objects get cursor position at middle of the hyperlink text, but
> > drawing object can be reopened, e.g. assign a keyboard shortcut to
> > .uno:OpenHyperlinkOnCurs, or <ctrl>+click with mouse).
> Stuart, thanks for verifying. I don't follow the "though hyperlink into
> Drawing objects get cursor position at middle of the hyper link text..."
> Maybe you speak of drawing objects not being selected on recency navigation
> stop?

Sure, "somewhere" in the hyperlink is the cursor the recency stack receives after a <ctrL>+<click> launch of the hyperlink, and after exiting the object moving forward or backward in the recency stack.  Specific cursor seems a little vague.

But I wouldn't expect the target of the hyperlink to reopen with recency navigation, or do you think it should?
Comment 8 Jim Raykowski 2021-10-23 19:25:52 UTC
(In reply to V Stuart Foote from comment #7)
> Sure, "somewhere" in the hyperlink is the cursor the recency stack receives
> after a <ctrL>+<click> launch of the hyperlink, and after exiting the object
> moving forward or backward in the recency stack.  Specific cursor seems a
> little vague.
Thanks for the explanation. For me, the "somewhere" is where the pointer is positioned on the hyperlink when <ctrl>+<click> is done or where the cursor is at when the .uno:OpenHyperlinkOnCurs command is used.
> 
> But I wouldn't expect the target of the hyperlink to reopen with recency
> navigation, or do you think it should?
No opinion. I was just trying understand your comment to see if there may be something else needed to resolve this.