Bug 134176 - LibreOffice does not remove the hyperlink of many selected URLs when an URL is only partially selected
Summary: LibreOffice does not remove the hyperlink of many selected URLs when an URL i...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Hyperlink
  Show dependency treegraph
 
Reported: 2020-06-21 08:55 UTC by BDF
Modified: 2022-12-21 12:53 UTC (History)
1 user (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 BDF 2020-06-21 08:55:49 UTC
Description:
I was asked to file this bug report and it is based on this tweet: https://twitter.com/GreatChainsLink/status/1274080598387298306

When multiple URLs are selected to remove their hyperlink all at once, the hyperlink is only removed from the highlighted text.

There is also a screenshot for this problem: https://twitter.com/GreatChainsLink/status/1274080598387298306/photo/1

Steps to Reproduce:
1. Select a few hyperlinks and right click
2. Select the option to remove hyperlinks

Actual Results:
LibreOffice does only remove the hyperlink from the highlightes area

Expected Results:
LibreOffice removes the hyperlink from the entire URL even only a single char is selected


Reproducible: Always


User Profile Reset: No



Additional Info:
I don't only see this as bug when a single URL is partially selected. It could be used to remove the hyperlink from some part of the text while keeping it on a part where you want to provide a link. If multiple URLs are selected I would expect LibreOffice to remove the hyperlink from the entire URL even only a single char might be selected.
Since there is only the option to remove the hyperlink in general in the context menu, there could also be an option to remove the hyperlink from the selected part if this behaviour should be a kept.
----
Version: 6.4.4.2 (x64)
Build-ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
CPU-Threads: 4; BS: Windows 6.1 Service Pack 1 Build 7601; UI-Render: Standard; VCL: win; 
Gebietsschema: de-AT (de_AT); UI-Sprache: de-DE
Calc: threaded
Comment 1 sora34ce 2020-08-26 16:25:40 UTC
Apparently it's still there even after the updates. Like you said the bug happens if I try to highlight part of the link and remove it. It's really strange that even after the hyperlink is removed it still treats the remaining part as the full link.

Version: 7.1.0.0.alpha0+
Build ID: 52820b52b3bca45e2db527d1cc5f4488b2e0b9d0
CPU threads: 8; OS: Mac OS X 10.15.6; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 Buovjaga 2021-03-31 14:41:19 UTC
Repro already with 3.3.0 on Windows 10

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: ec44f87d5b99a3299322d0b79abc4c6808877865
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 31 March 2021
Comment 3 BDF 2022-09-19 18:59:15 UTC
Still exists

Version: 7.4.1.2 / LibreOffice Community
Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: de-AT (de_AT.UTF-8); UI: de-DE
Flatpak
Calc: threaded