GNOME Bugzilla – Bug 700732
Edit->Modify->Hyperlink ignores type of existing link
Last modified: 2013-11-24 17:13:05 UTC
To reproduce: Create a hyperlink of any type other than Web Link. With the cell containing the link selected, choose Edit->Modify->Hyperlink. The dialog opens with type Web Link selected and with the Web Address field initialized to the address text of the existing link. Click on OK. The type of the hyperlink is changed to Web Link, as can be demonstrated by clicking on the link in the cell.
in dialog-hyperlink.c we pretend to duplicate teh existing link: /* We are creating a new link since the existing link */ /* may be used in many places. */ /* We are duplicating it here rather than in an ok handler in case */ /* The link is changed for a differnt cell in a different view. */ state->link = g_object_new (gnm_hlink_url_get_type (), NULL); if (link == NULL) state->is_new = TRUE; else { state->is_new = FALSE; gnm_hlink_set_target (state->link, gnm_hlink_get_target (link)); gnm_hlink_set_tip (state->link, gnm_hlink_get_tip (link)); } We are clearly ignoring the current type.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
*** Bug 715111 has been marked as a duplicate of this bug. ***