DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

Problems with copying URLs

Open jens-br opened this issue 2 years ago • 5 comments

This issue is unique.

  • [X] I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Linux (DEB package), Linux (RPM package), Docker

Version information

7.2.2.56

Expected Behavior

  • [ ] Copying a URL by selecting and copying the characters of a URL (e.g. in order to open it in a different broswer or in private mode) which starts directly after a bullet point (in a bullet list) should copy only the URL - and nothing more.
  • [ ] Right-clicking on an URL should give the option to copy only the URL (ideally directly in the context meny). Microsoft Office and Libre Office for example do both provide that option.

Actual Behavior

  1. Copying a URL which starts directly after a bullet point (in a bullet list) copies the bullet, too - even if only the characters of the URL were seleceted.
  2. The context menu opening after right-clicking on an URL does not provide any option to only copy the URL.

grafik and grafik

Reproduction Steps

  1. Create a bullet point list.
  2. Enter a URL directly after the bullet point.
  3. Try to right-click that URL and search for a "Copy URL" entry in the context menu.
  4. See that this entry does not exist.
  5. Select all characters of that URL carefully, either with the keyboard or with the mouse.
  6. Copy the characters, e.g. using CTRL+C.
  7. Paste the characters into an address bar or a text editor.
  8. See that the result contains also the bullet point, even if the characters were selected carefully.

Additional information

(OS not 100% sure)

jens-br avatar Jan 06 '23 16:01 jens-br

@jens-br Sorry for the long wait. DesktopEditors v7.4.1 is released. Is this issue relevant?

Rita-Bubnova avatar Aug 11 '23 20:08 Rita-Bubnova

Hello, @jens-br Thanks for your request! I can confirm that the problem exists. I created issue #63921 with your proposal

TatianaKirillova avatar Aug 31 '23 09:08 TatianaKirillova

Hi folks, I think there's a general underlying issue in here: that copying text from a bullet point list includes the bullet point. I encountered this in Cryptpad: https://github.com/cryptpad/cryptpad/issues/1949

Presumably if this was resolved then the issue here with URLs would be resolved without additional effort.

da5nsy avatar Jun 16 '25 09:06 da5nsy

Hello, @jens-br Thanks for your request! I can confirm that the problem exists. I created issue #63921 with your proposal

@TatianaKirillova - I don't see an issue #63921 on this repo - is this a typo or is that index referring to a different issue tracker?

da5nsy avatar Jun 16 '25 09:06 da5nsy

Hello @da5nsy, this is an internal bug number for identification, if you want to use any kind of reference, you can use the number of this GitHub issue (2065).

alexonlyoffice avatar Jun 17 '25 13:06 alexonlyoffice