Bug 66694 - UI: Add context menu for "Remove hyperlink" when right-click on button form objects containing a hyperlink.
Summary: UI: Add context menu for "Remove hyperlink" when right-click on button form o...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Context-Menu
  Show dependency treegraph
 
Reported: 2013-07-08 11:55 UTC by Makoto Takizawa
Modified: 2023-08-22 00:39 UTC (History)
7 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 Makoto Takizawa 2013-07-08 11:55:38 UTC
It is possible to add hyperlink to text and bush button on same way
but remove way is different. It make user confuse. 
I think better to remove function which can add hyperlink to push button with hyperlink dialog.

How to add hyperlink.
  1. make a push button with form controls tool bar.
  2. select Insert -> hyperlink.
  3. add url like http://www.libreoffice.org/ in target on hyperlink dialog.
  4. click apply and click close.

How to remove  that link.
 for text
  1. select hyperlink text 
  2. select insert -> hyperlink
  3. remove hyperlink url on hyperlink dialog.

 for push button
  1. select a push button with degin mode.
  2. open properties dialog from controls tools bar.
  3. select action to open document/web page to none.
Comment 1 Cor Nouws 2013-07-08 12:40:22 UTC
Hi Makoto Takizawa,

Thank you for the idea and remark.
I always looked at the function as a convenient way to add a button, but did not realise that removing is different.
One can of course remove the text area in which the button is. 
But why not add a contect menu 'remove hyperlink' for the button?
Kind regards,
Cor
Comment 2 Makoto Takizawa 2013-07-09 00:07:38 UTC
Hi Cor Nouws .
Thank you for your comment.

>But why not add a contect menu 'remove hyperlink' for the button?

add context menu "remove hyperlink"  is nice idea. That is a convenient way.
I think that time also better to have remove function to push button on hyperlink dialog for a consistency.
Comment 3 Owen Genat (retired) 2014-07-18 05:44:11 UTC
(In reply to comment #0)
> How to remove  that link.
>  for text
>  ...
>  for push button

Why not simply enter design mode, right-click on the button, select Control... context menu and edit the Label and URL fields? Status set to NEEDINFO. Please set back to UNCONFIRMED after responding.
Comment 4 Jean-Baptiste Faure 2014-07-18 12:04:25 UTC
In version 4, to remove an hyperlink, do that:
1/ hyperlink as text: right click on the hyperlink -> choose Remove Hyperlink
2/ hyperlink as button : select the button then press the delete key
2 bis/ hyperlink as button: if in fact you wanted an hyperlink as text instead of button, select the button, open the hyperlink dialog, change the form from button to text, validate.

Where is the problem? I propose to close this bug report as NotABug or WontFix.

Best regards. JBF
Comment 5 Jean-Baptiste Faure 2014-07-18 12:29:06 UTC
Argh, the button of an hyperlink seems to be selectable without entering the design mode, only if the document has not been saved since the creation of the button. So my previous comment is applicable only if you have a remorse just after having added this button.

A context menu "remove hyperlink" for the button would be a good thing. Or at least a context menu "remove the button".

Best regards. JBF
Comment 6 Owen Genat (retired) 2014-07-19 08:31:03 UTC
(In reply to comment #5)
> Argh, the button of an hyperlink seems to be selectable without entering the
> design mode,

I remember reading about this in another bug or forum post.

> A context menu "remove hyperlink" for the button would be a good thing. Or
> at least a context menu "remove the button".

OK. Let's confirm this then. Status set to NEW. Summary amended for clarity.
Comment 7 David Clayton 2014-08-20 13:53:50 UTC
Owen, I Second this, I'm sure in a previous version there was an option to 'remove hyperlink', and believe this a good feature.

In MS Excel 2003 the right click context menu contains 'remove' which converts the link to plain text. 

This option should ideally be available from the context menu and the hyperlink edit panel.
Comment 8 Robinson Tryon (qubit) 2016-08-25 05:49:50 UTC Comment hidden (obsolete)
Comment 9 Cor Nouws 2016-09-19 18:19:42 UTC
form controls are possible in more components than Writer
Comment 10 Heiko Tietze 2017-11-27 14:11:53 UTC
The context menu has now an entry to remove hyperlinks. => WFM (actually fixed)
Comment 11 Heiko Tietze 2017-11-27 14:15:08 UTC
Oups, it was meant for form controls. And that's indeed missing. No UX input needed.
Comment 12 QA Administrators 2018-11-28 03:47:45 UTC Comment hidden (obsolete)
Comment 13 David Clayton 2018-11-28 10:05:46 UTC
In Writer the right click context menu includes the option to edit and remove the hyper link.

In Calc the right click context menu has no hyper link editing options.
 
In both the Ctrl+K Hyper link edit box does not have the option to remove the link.
Comment 14 QA Administrators 2020-12-12 03:48:39 UTC Comment hidden (obsolete)
Comment 15 Wolfgang Jäger 2020-12-20 17:22:14 UTC
Only for Calc:  
In pursuit of an answer to a user question in the askbot: 
https://ask.libreoffice.org/en/question/65802/how-do-i-remove-a-hyperlink-in-calc/?answer=283548#post-id-283548  
I tested and tried.  

Basically the issue (missing feature) is unchanged in V7.0.3.1 and workarounds are either complicated or not reliable or both.  
A solution by user code is possible but also complicated, at least if it is expected to preserve differently set text attributes for portions. See the mentioned Q&A thread for more detail (I'm "Lupp" there.).
Comment 16 QA Administrators 2022-12-21 03:20:23 UTC
Dear Makoto Takizawa,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug