Make message content selectable/copyable #45

Open
opened 2026-06-19 12:28:16 -04:00 by istalri · 2 comments
Member

As briefly discussed in the matrix room and as the title suggests we should make message content selectable and copyable.
There are multiple scenarios to keep in mind. I am not sure how easy it is to implement each of these ideas without to much platform dependent custom code but here are nice things to have from a user perspective:

  1. Copy the entire message: This could be done via a context menu(right click on desktop/holding on mobile) and having an option "Copy message".
  2. Copy parts of a message: You should be able to copy only the part of the message relevant to you by marking it and copying it. This should be also possible on desktop via shortcuts like ctrl + c.
  3. Copying an internet link: Select (right click on desktop/holding on mobile) the link and have the options to copy the link/directly open in your default browser.
  4. Copy an image: Select an image(right click on desktop/holding on mobile) and have the options to copy/save the picture.
As briefly discussed in the matrix room and as the title suggests we should make message content selectable and copyable. There are multiple scenarios to keep in mind. I am not sure how easy it is to implement each of these ideas without to much platform dependent custom code but here are nice things to have from a user perspective: 1. Copy the entire message: This could be done via a context menu(right click on desktop/holding on mobile) and having an option "Copy message". 2. Copy parts of a message: You should be able to copy only the part of the message relevant to you by marking it and copying it. This should be also possible on desktop via shortcuts like ctrl + c. 3. Copying an internet link: Select (right click on desktop/holding on mobile) the link and have the options to copy the link/directly open in your default browser. 4. Copy an image: Select an image(right click on desktop/holding on mobile) and have the options to copy/save the picture.
Henry-Hiles changed title from Make message content selectable/copyable. to Make message content selectable/copyable 2026-06-19 13:43:13 -04:00
Owner
  1. This is easy
  2. This is easy, if we introduce a setting for it
  3. Copying links might be a little annoying
  4. For copying image, we can have this in the expandable image viewer. Shouldn't be hard.

Another option is having a right click menu option to "Copy text", that opens a dialog where text is selectable.

1. This is easy 2. This is easy, if we introduce a setting for it 3. Copying links might be a little annoying 4. For copying image, we can have this in the expandable image viewer. Shouldn't be hard. Another option is having a right click menu option to "Copy text", that opens a dialog where text is selectable.
Author
Member

@Henry-Hiles wrote in #45 (comment):

  1. This is easy

    1. This is easy, if we introduce a setting for it

    2. Copying links might be a little annoying

    3. For copying image, we can have this in the expandable image viewer. Shouldn't be hard.

Another option is having a right click menu option to "Copy text", that opens a dialog where text is selectable.

Yeah most of it is easy. The setting idea is really smart. YOu already have implemented clicking links, something is identifying them, styling the to stand out and making them clickable so we should be able to add a copy option or not?
Typing www.something.something or https://something.something will trigger a clickable link.

Screenshot_20260620_001039

@Henry-Hiles wrote in https://git.federated.nexus/Nexus/nexus/issues/45#issuecomment-383: > 1. This is easy > > 2. This is easy, if we introduce a setting for it > > 3. Copying links might be a little annoying > > 4. For copying image, we can have this in the expandable image viewer. Shouldn't be hard. > > > Another option is having a right click menu option to "Copy text", that opens a dialog where text is selectable. Yeah most of it is easy. The setting idea is really smart. YOu already have implemented clicking links, something is identifying them, styling the to stand out and making them clickable so we should be able to add a copy option or not? Typing www.something.something or https://something.something will trigger a clickable link. ![Screenshot_20260620_001039](/attachments/55a6de47-896c-4204-bf9a-ae1888cde42d)
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Nexus/nexus#45
No description provided.