Xpad - Hyperlinks in notes

Registered by Arthur Borsboom

This specification describes the feature of hyperlinks in notes.

Blueprint information

Status:
Not started
Approver:
Arthur Borsboom
Priority:
Low
Drafter:
Arthur Borsboom
Direction:
Needs approval
Assignee:
None
Definition:
Drafting
Series goal:
Accepted for trunk
Implementation:
Not started
Milestone target:
milestone icon 5.1.0

Related branches

Sprints

Whiteboard

Possible solutions

1. Add a manual tagging feature.

The user has to select the text , and choose from the list of tags (bold, underline,italic, etc), the option hyperlink. If the text is recognized as a hyperlink (due to the format of the selected text), it will be automatically suggested as the hyperlink, the user has to click only on [Ok]. If not, the user has the ability to change the text in the textbox and clicking [Ok], or [Cancel].

Each hyperlink protocol needs to call the default application to open the hyperlink.

This solution gives more flexibility, but more mouse clicks too, in comparison to solution 2.

Found on Internet: Use a gtk_text_buffer_insert_child_anchor to specify where in the buffer to insert the link, and then gtk_text_view_add_child_at_anchor to insert a GtkLinkButton into the text view.

2. Automatic set hyperlinks when http://, https://, file://, ftp://, smb:// are recognized.

This has no user intervention, but no flexibility to change something either.

In fact, solution 1 and 2 should be configurable in the preferences.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.