logseq / logseq

A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: http://trello.com/b/8txSM12G/roadmap
https://logseq.com
GNU Affero General Public License v3.0
30.26k stars 1.77k forks source link

No longer possible to paste in Android after version 0.9.1 #8971

Closed kennethaar closed 1 year ago

kennethaar commented 1 year ago

Search first

I searched and no similar issues were found

What Happened?

In version 0.9.1 I can no longer paste in Logseq on Android.

Tried both on Samsung Galaxy Note 8 (Andorid 9) and on Samsung S6 lite (Android 13)

Reproduce the Bug

Here is a gif of me trying to paste from Logseq to Logseq on Android 13, but pasting from other sources doesn't work either.

paste

Expected Behavior

I should be able to paste.

nivkovic78 commented 1 year ago

I can confirm this behaviour. Sometimes it is not possible to paste in Android app, after pressing paste button nothing happens.

manoxmyth commented 1 year ago

I have similar issue, but with keyboard on Android tablet. It's very painful to work with...

jeongsik74 commented 1 year ago

I'm having the same problem. I tried copying and pasting with touch, which works fine for pasting into other apps, but not into the Logseq page. This is quite inconvenient.

optimistic5 commented 1 year ago

Same issue

daneov commented 1 year ago

Same. This first appeared in 0.9.1, is still present in 0.9.2.

I downgraded to 0.9.0 in which the issue was not present. Also a nice testament to files-based storage, as I can delete the app and reinstall an older version without losing my notes/having to take other actions.

Android 13, GrapheneOS.

lef-est commented 1 year ago

a workaround before this gets fixed (beside downgrading to 0.9): you can use gboard (google keyboard) and use its paste button

nivkovic78 commented 1 year ago

@lef-est Workaround also applies to Microsoft SwiftKey and its paste button.

mariaa144 commented 1 year ago

Another workaround is to use the /link or Image Link command to create a dialog which can be pasted into. Paste the data into the "Label" and put in garbage text for the "Link" field which can later be deleted.

Siferiax commented 1 year ago

Finally took the leap from 0.8.17 to 0.9.3, but downgraded again because of this issue. The Gboard workaround also doesn't work for me as the clipboard doesn't have the full block hierarchy I'm trying to paste.

I have a complex block with a table in there: Screenshot_20230421-125338

Even on 0.8.17 when I select copy as... This is the result: Screenshot_20230421-125412

However with the context menu and selecting cut and then paste I do get the full thing. Screenshot_20230421-125435

So the long click paste option has different information from the Gboard clipboard information, which shows this:

This table copy problem is related to this bug report I made on the forum btw: https://discuss.logseq.com/t/copy-as-option-fails-to-copy-markdown-table-without-header/15335

archtur commented 1 year ago

@andelf Are there any news regarding this issue? Is it in work or do you need further information?

This is really one of the biggest issue when you use Logseq as your main driver every day also on Android. I understand that the gboard clipboard gives a little workaround, but the linked issue https://github.com/logseq/logseq/issues/9191 makes this unusable.

MatSarr commented 1 year ago

The problem is still here in 9.4

andelf commented 1 year ago

Thanks for your report. I can reproduce this on my Galaxy Tab S7+ now.

image
andelf commented 1 year ago

Introduced in #8932

andelf commented 1 year ago

Hi, could you try the nightly release? This should be fixed by #9335

https://github.com/logseq/logseq/releases/tag/nightly

Siferiax commented 1 year ago

Not quite fixed. It does paste, but not everything. Copied the second block to the first and lost my table. This is an action I do every day in version 0.8.17 without issues. Screenshot_20230508-123132

andelf commented 1 year ago

@Siferiax Thanks for your report. I'll check this.

andelf commented 1 year ago

@Siferiax I can not reproduce the pasting table bug. Could you provide any markdown sources?

Siferiax commented 1 year ago

@andelf here's the markdown of one of those blocks:

- ## ^^🌅 Ochtend^^
||||
| [:h3 "đŸĒĢ🔋âšĒ"] | [:h3 "😖😌âšĒ"] | |
|  | [:h3 "🐈"] | Katten eten geven |

The problem is with the table not having a header (the ||||). This problem occurs in all versions when you try to export said block. This results in: - ## ^^🌅 Ochtend^^ However it works on 0.8.17 with an in-app cut/paste action. 🤷đŸŊ‍♀ī¸ (Long click on bullet > cut, long click on new block > paste) Related: https://discuss.logseq.com/t/copy-as-option-fails-to-copy-markdown-table-without-header/15335

mariaa144 commented 1 year ago

Hi, could you try the nightly release? This should be fixed by #9335

https://github.com/logseq/logseq/releases/tag/nightly

Pasting works for me with this release.

Siferiax commented 1 year ago

@andelf here's the markdown of one of those blocks:

- ## ^^🌅 Ochtend^^
||||
| [:h3 "đŸĒĢ🔋âšĒ"] | [:h3 "😖😌âšĒ"] | |
|  | [:h3 "🐈"] | Katten eten geven |

The problem is with the table not having a header (the ||||). This problem occurs in all versions when you try to export said block. This results in: - ## ^^🌅 Ochtend^^ However it works on 0.8.17 with an in-app cut/paste action. 🤷đŸŊ‍♀ī¸ (Long click on bullet > cut, long click on new block > paste) Related: https://discuss.logseq.com/t/copy-as-option-fails-to-copy-markdown-table-without-header/15335

Just tried this on my PC (version 0.9.4) and the cut/paste action works the same as 0.8.17. The copy/export as... function is also the same with the table not getting exported. Cut/paste on PC: https://user-images.githubusercontent.com/118193398/237021987-04cb2da0-19c9-4b42-9702-d18a5f72f71d.mp4

psylabs commented 1 year ago

+1 been facing this on android

archtur commented 1 year ago

@andelf My workflows are now working again. I tested it several times, but only with text content. Thank you very much for your commitment to fix that bad issue!

dotcs commented 1 year ago

Can also confirm that it works again with the nightly build. Thanks @andelf for fixing this nasty issue. 👍

jeongsik74 commented 1 year ago

I no longer see this bug in my usual environment. It seems to be fixed. I tested it on Galaxy S22 with Nightly Release 20230510. Thank you for your hard work.

Siferiax commented 1 year ago

Problem seems completely fixed in version 0.9.5 ❤ Super excited to finally upgrade my phone to this version :D

archtur commented 1 year ago

@andelf 🧙: I spend you a virtual beer đŸē. You saved my daily workflows and made my life easy again with logseq!

@kennethaar @nivkovic78 @manoxmyth @jeongsik74 @optimistic5 @daneov @lef-est @mariaa144 @Siferiax @MatSarr @psylabs @dotcs: Give a like to my post to spend him also a beer đŸē.

kennethaar commented 1 year ago

Yes thank you @andelf đŸģ

andelf commented 1 year ago

Close as completed

albotroz commented 5 months ago

Google Pixel 6a LineageOS 20 - Android 13 FlorisBoard 0.3.16 Logseq 0.10.1

Still doesn't work... must write everything manually. Copying and pasting does not work. Very annoying. If I had noticed the problem immediately, I would not have switched to Logseq. But I only installed the Android app after I had moved all my notes to Logseq after hours of work on the desktop.

kennethaar commented 5 months ago

Works for me

Logseq 0.10.2: On Android 14 Samsung s23 Ultra and on Samsung Tab s6 lite with Android 13. And has worked for quite some time.