Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragged text disappears with no undo (potential for data loss) #3302

Closed
therealpygon opened this issue May 30, 2020 · 0 comments
Closed

Dragged text disappears with no undo (potential for data loss) #3302

therealpygon opened this issue May 30, 2020 · 0 comments
Labels
bug It's a bug desktop All desktop platforms high High priority issues

Comments

@therealpygon
Copy link

Dragging a block of selected text from within a note and dropping it onto another note in the note list causes the text to disappear; cannot "undo" the removal of text.

Data is completely lost if cloud-sync and auto-save are enabled, as the file will save and sync immediately.

Environment

Joplin version: 1.0.216
Platform: Windows
OS specifics: 10 Pro

Steps to reproduce

  1. Inside a notebook, create a note (source) and enter some text
  2. Create a second note (target)
  3. Select the text in source, drag the selected text onto the target note
    Video

Describe what you expected to happen

Dragged text should "move" from the source note to the end of the target note, just like dragging a note to another notebook will "move" the note.

Logfile

No relevant information in the logfile; simply shows the note had data, then was empty:

2020-05-29 21:47:57: "Saving note...", "{"id":"707685c673be4d12928b47a3afb67c48","title":"source","body":"\ntest text move"}"
2020-05-29 21:47:57: "Scheduling sync operation...", "30000"
2020-05-29 21:48:00: "Saving note...", "{"id":"707685c673be4d12928b47a3afb67c48","title":"source","body":"test text move"}"
2020-05-29 21:48:00: "Scheduling sync operation...", "30000"
2020-05-29 21:48:04: "Saving note...", "{"id":"707685c673be4d12928b47a3afb67c48","title":"source","body":""}"
2020-05-29 21:48:04: "Scheduling sync operation...", "30000"
2020-05-29 21:48:07: "SearchEngine: Updating FTS table..."

@therealpygon therealpygon added the bug It's a bug label May 30, 2020
@laurent22 laurent22 added desktop All desktop platforms high High priority issues labels May 30, 2020
laurent22 added a commit that referenced this issue Jun 15, 2020
…itor as it can lead to data loss"

This reverts commit a75db94.

It turns out people often drag and drop text, so restoring the functionality.

See https://discourse.joplinapp.org/t/9406
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug desktop All desktop platforms high High priority issues
Projects
None yet
Development

No branches or pull requests

2 participants