| Summary: | Writer sometimes defaults to Dynamic Data Exchange (DDE link) upon normal pasting and thus keeps generating bookmarks | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | J22Gim |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTOURBUG | ||
| Severity: | normal | CC: | ilmari.lauhakangas, miguelangelrv |
| Priority: | medium | ||
| Version: | 7.4.1.2 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 102593 | ||
| Attachments: |
sample file with ghost bookmarks
VLC will show you a black screen, disable hardware decoding or use another player |
||
|
Description
J22Gim
2022-10-07 10:03:51 UTC
Can you attach a sample file. (In reply to J22Gim from comment #0) > 2. start […] copy/pasting […] from external sources using clipboard such as websites, other documents, etc. External sources have bookmarks. You must paste as unformatted text (Ctrl+Alt+Shift+V) to avoid pasting bookmarks. Not a bug for me. Of course, I am not pasting bookmarks from other sources... As mentioned in my original post: These links/bookmarks appear mostly when I copy/paste, either *from within the same document* or from external sources (eg another ODT, a website, or anything). They also often appear when I find/replace text. I just tried again and it is reproducible: 1) open a new Writer document 2) copy (and paste without format) or just write any paragraph 3) copy what you just wrote, and then paste it into a different location 4) the first "ghost" bookmark appears 5) Generate more bookmarks by repeating this action, maybe write some more words and then copy-paste them into another part of the page Do all this with the Navigator open, and you will see how bookmarks appear out of the blue. Created attachment 183040 [details]
sample file with ghost bookmarks
Here you can see a file generated following my instructions.
With 4 copy-paste actions, three bookmarks magically appeared in the document:
__DdeLink__4_221990652
__DdeLink__2_221990652
__DdeLink__0_221990652
(In reply to m.a.riosv from comment #1) > Can you attach a sample file. I just did (In reply to LeroyG from comment #2) > (In reply to J22Gim from comment #0) > > 2. start […] copy/pasting […] from external sources using clipboard such as websites, other documents, etc. > > External sources have bookmarks. You must paste as unformatted text > (Ctrl+Alt+Shift+V) to avoid pasting bookmarks. > > Not a bug for me. How useful can a "citation" be when replying if you omit relevant parts of the text being cited? Still the same in: Version: 7.4.2.3 / LibreOffice Community Build ID: 40(Build:3) CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Ubuntu package version: 1:7.4.2~rc3-0ubuntu0.22.04.1~lo1 Calc: threaded The 'ghost bookmarks' keep appearing randomly as you keep copying and pasting content. What seems to be happening here is that pasting is defaulting to the special "Dynamic Data Exchange (DDE link)" option found in the Paste Special dialog. However, clearly this is not happening for most users and I have no idea why it would happen. @Buovjaga, just in case the issue was related to my shortcuts configuration I tried again using only right-click and "paste" (instead of CTRL-V) and the problem persists. _____ Still present in Version: 7.5.1.2 (X86_64) / LibreOffice Community Build ID: 50(Build:2) CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Ubuntu package version: 4:7.5.1~rc2-0ubuntu0.22.04.1~lo1 Calc: threaded OK I finally found how to replicate this. The problem comes even before pasting. Weird... It seems to be related to how LO behaves when there is a clipboard manager. In my case, the clipboard manager is qlipper. Steps to reproduce: 1. make sure qlipper is running 2. open an empty file in Writer 3. Write anything, eg AAA 4. Select and copy that text 5. Press ENTER, the DdelLink appears. If you repeat this but after quitting qlipper, it works fine (the DdelLink does not appear). This is weird.. I mean, it seems to be caused by qlipper but on the other hand I am not even pasting into LO, so LO is also part of the issue, right? I will upload a screencast showing this. Created attachment 191141 [details]
VLC will show you a black screen, disable hardware decoding or use another player
(In reply to J22Gim from comment #10) > This is weird.. I mean, it seems to be caused by qlipper but on the other > hand I am not even pasting into LO, so LO is also part of the issue, right? Writer has to create a bookmark as soon as *anything* asks for the DDE data in clipboard. And in fact, *something* (not you, but your friendly clipper) actually *pastes* into itself, to keep the data for the posteriority. I don't know how deserved it is to want the clipboard manager to store *every* clipboard format; or specifically DDE. If it makes sense, clipper could skip DDE format. Or make that an option. Anyway it is not LibreOffice bug. I see, thanks |