pbek / QOwnNotes

QOwnNotes is a plain-text file notepad and todo-list manager with Markdown support and Nextcloud / ownCloud integration.
https://www.qownnotes.org/
GNU General Public License v2.0
4.72k stars 414 forks source link

[I] Pasting text unformatted gives empty result #3161

Open Krisseck opened 4 days ago

Krisseck commented 4 days ago

Expected behaviour

I should be able to paste note content to LibreOffice Writer without formatting

Actual behaviour

If pasting to LibreOffice Writer and selecting paste style as "Unformatted text", the paste is empty.

Steps to reproduce

  1. Write a note
  2. Select text and copy
  3. Open LibreOffice Writer
  4. Press Ctrl+Shift+V for "Paste Special"
  5. Select "Unformatted Text"
  6. The paste is empty

Relevant log output in the Log panel

Expand ``` ```

Information about the application, settings and environment

Expand QOwnNotes Debug Information =========================== ## General Info **Current Date**: `ma marrask. 25 15:03:46 2024` **Version**: `24.11.3` **Build date**: `Nov 15 2024` **Build number**: `1140` **Platform**: `linux (wayland)` **Operating System**: `KDE Flatpak runtime` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `GitHub` **Qt Version (build)**: `5.15.10` **Qt Version (runtime)**: `5.15.10` **Portable mode**: `no` **Application arguments**: `QOwnNotes` **Qt Debug**: `0` **Locale (system)**: `en_US` **Locale (interface)**: *empty* **Primary screen resolution**: `1920x1080` **Icon theme**: `breeze-dark-qownnotes` **Notes in current note folder**: `159` **Calendar items**: `0` **Enabled scripts**: `0` **Database drivers**: `QSQLITE` ## Spellchecking **Enabled**: `true` **Selected language**: `auto` **Language codes**: `en_AU, en_BS, en_BZ, en_CA, en_GB, en_GH, en_IE, en_IL, en_IN, en_JM, en_MW, en_NA, en_NZ, en_PH, en_TT, en_US, en_ZA, en_ZW` **Language names**: `Australian English (Australia), English (Bahamas), English (Belize), Canadian English (Canada), British English (United Kingdom), English (Ghana), English (Ireland), English (Israel), English (India), English (Jamaica), English (Malawi), English (Namibia), English (New Zealand), English (Philippines), English (Trinidad & Tobago), American English (United States), English (South Africa), English (Zimbabwe)` ## Note folders **currentNoteFolderId**: `1`
pbek commented 4 days ago

Where did you copy the text from exactly?

pbek commented 4 days ago

In the note text edit there is no formated text. And in the preview the text would be copied as rich text.

Krisseck commented 3 days ago

Where did you copy the text from exactly?

From the note text edit field. The preview field seems to do the same thing.

pbek commented 3 days ago

I can't reproduce any issues... Copied from the note text edit and the preview.

image

Krisseck commented 3 days ago

The image you posted is from OnlyOffice, not LibreOffice. I can make it work on OnlyOffice by selecting the "Keep text only" option when pasting :+1:

pbek commented 3 days ago

I guess then best open a LibreOffice issue? 🤷🏻