Skip to content

Copying text messes up the data, so copy & paste is broken #935

Open

Description

@davidak

Search first

  • I searched and no similar issues were found

What Happened?

When i copy selected text, it gets changed!

Image

becomes:

- deinstalliert. man wird nach dem stant angfbote geld auszugeben
  
  
  
- nach dem eigentlichen spielfn werbung

and that can not be pasted into Logseq OG!

There are 3 additional lines added with 2 whitespaces.

Reproduce the Bug

  1. select multiple lines of text
  2. copy or cut
  3. paste into text editor

Expected Behavior

the text should be copied exactly as-is and not get changed in any way

Screenshots

Demonstration: https://youtu.be/owPKO_OD5d4?si=SHqwqnoeOAz7xrGa&t=49

Since i can't select the text or use the copy button, here are screenshots of the raw block data. The text itself looks fine.

Image Image

Files

No response

Browser, Desktop or Mobile Platform Information

NixOS 25.11.10684.8fd9daa3db09
Logseq Desktop 2.0.1-alpha+nightly.20260609

Additional Context

WTF, how can you mess this up???

The text was synced from Android App.

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Activity

  1. tiensonqin commented on Jun 19, 2026

    @tiensonqin
    Contributor

    Hi,

    First of all, I really appreciate the time and effort you've put into reporting so many issues and helping users on Discord.

    That said, I'd kindly ask that we keep the issue discussions focused on the bugs themselves and avoid mixing in expressions of frustration in every report. We take all reports seriously, and it becomes much easier for us to investigate and track issues when the discussion stays focused on the technical details.

    We may not always get things right, but we genuinely care about the product and the community. We'll do our best to reproduce and fix the reported bugs. 🙂

    For this specific bug, can you export the page as EDN, export the graph as debug transit file and send both to [email protected]?

    Thanks again for all your help and contributions.

  2. self-assigned this
    on Jun 19, 2026
  3. added
    bug
    on Jun 19, 2026
  4. davidak commented on Jun 20, 2026

    @davidak
    Author

    Hi @tiensonqin,

    thanks a lot for your words and recognizing my efforts!

    The last weeks where very frustrating seeing more and more issues getting introduced in nightly builds and no big issues i have getting fixed. I will try to be more patient and focus on the technical aspect!

    can you export the page as EDN

    no. i removed the blocks to fix the issue and can not reproduce it with new blocks i add now

  5. davidak commented on Jul 13, 2026

    @davidak
    Author

    I had this issue again right now. I was able to reproduce it in the journal view, but not anymore once i switched to the page view.

    I have sent you an e-mail with transit file.

    The interesting part is that these two additional lines are also shown in the export UI:

    Image

    NixOS 26.05.4659.8f0500b96605
    Logseq Desktop 2.0.1 (Beta)

  6. yuxi-liu-wired commented on Oct 28, 2026

    @yuxi-liu-wired

    I looked for the cause of this in current master (d06ded9971) and could not pin it down from the report alone. One question would narrow it: In the journal view where it happens, what is the raw :block/title (Show debug info) of the block before the blank lines, and are there empty blocks between the copied ones?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugeditor:copy-paste

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions