online icon indicating copy to clipboard operation
online copied to clipboard

Navigator Jumps to Bookmark After Double-Clicking on Hyperlinks

Open Tex2002ans opened this issue 1 year ago • 2 comments

Describe the Bug

In the Navigator, if you Double-Click a hyperlink, the Navigator jumps up to Bookmarks.

(I think it has to do with this little icon/highlight letting you know where you are located inside of the document:)

Collabora 23 05 5 1 - Navigator Heading Location Icon

Steps to Reproduce

  1. Open COOLMeeting139.odt.
  2. Go to "View" tab.
  3. Press "Navigator" button.
  4. In Navigator, expand the "Hyperlinks" category.
  5. In Navigator, scroll down so Headings and Bookmarks are out of view.
  6. In Navigator, Double-Click on any hyperlink:
    • Example: Click on https://github.com/CollaboraOnline/online/issues/7373
    • -> See Navigator jumps up to Bookmark _DdeLink__375_3175317270

Video

Collabora.23.05.5.1.-.Navigator.Jumping.Hyperlinks.webm

  • 6–12 seconds = Scrolling + Double-Clicking 1st hyperlink
  • 12+ seconds = Scrolling + Double-Clicking 2nd hyperlink

Both times, you can see it auto-jumps to a Bookmark.

Actual Behavior

Double-Clicking on a Hyperlink goes to URL in document... then Navigator jumps to a Bookmark.

Expected Behavior

Double-Clicking on a Hyperlink goes to URL in document. Nothing else.

Desktop

  • OS: Windows 10
  • Browser: Chrome
  • Version: Version 117.0.5938.150 (Official Build) (64-bit)

I noticed it in Staging during COOL Weekly Meeting:

COOLWSD version: 23.05.5.1 (git hash: dffef0e9 (E)) LOKit version: Collabora Office 23.05.5.1 (git hash: 9f03693) Served by: openSUSE Leap 15.5 Server ID: 3a813eff

and reproduced in local build:

COOLWSD version: 23.05.4.2 (git hash: 0ba51f81) LOKit version: Collabora Office 23.05.4.2 (git hash: b5a7948) Served by: Linux Mint 21.1 Server ID: 78797e84

Additional Context

I also see this occurs in:

Version: 7.6.2.1 (X86_64) / LibreOffice Community Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded

so this might be a core issue...

(This specific document is also horrible, because it has multiple, large, overlapping Bookmarks.)

This DOES NOT occur when Bookmarks are purged in LO 7.6.2.1 or Collabora Online. See:

Side Note: In LO, you can Right-Click in Navigator + do stuff to the Bookmarks/URLs/Objects. In Collabora Online, you currently can't. This makes cleaning up some of that cruft harder.

Tex2002ans avatar Oct 12 '23 14:10 Tex2002ans

I can confirm

Ezinnem avatar Oct 19 '23 10:10 Ezinnem

This issue might be fixed by this one which just got fixed for LO 24.8.0:

Will need retesting in Collabora soon. :)

Tex2002ans avatar Feb 11 '24 20:02 Tex2002ans

This issue might be fixed by this one which just got fixed for LO 24.8.0:

Will need retesting in Collabora soon. :)

Note for me: This is fixed on core side. It will be available in 24.8.0.

https://bugs.documentfoundation.org/show_bug.cgi?id=159428 https://gerrit.libreoffice.org/c/core/+/162694

Darshan-upadhyay1110 avatar Jul 15 '24 14:07 Darshan-upadhyay1110