clipto-pro / Android

Cross-platform Universal Clipboard & Notes
https://play.google.com/store/apps/details?id=com.wb.clipboard.pro
159 stars 11 forks source link

Copy notes made with snippets create a duplicate with pure text #72

Open YairNet opened 3 years ago

YairNet commented 3 years ago

I have note1:"hello", note2:"world" and note3:"{{ snippet:... }} {{ snippet:... }}"

Copy notes 1 or 2 work as expected. Copy note3 generates another note3:"hello world"

On the browser it work as expected. Only in Android I found this behavior.

atrashler commented 3 years ago

I have note1:"hello", note2:"world" and note3:"{{ snippet:... }} {{ snippet:... }}"

Copy notes 1 or 2 work as expected. Copy note3 generates another note3:"hello world"

On the browser it work as expected. Only in Android I found this behavior.

Current behaviour should be the next:

when you copy a note:

  1. the app checks if it has any references on snippets or dynamic values
  2. the app generates new text based on the dynamic values
  3. generated text is saved as a new note

The scenario that you have described seems like working as designed. Probably I miss something or you expect it work differently?

YairNet commented 3 years ago

The point 3. generated text is saved as a new note It should not create a new note into clipto, it should remain only in Android clipboard for paste.

Historically it changed. Before, the clipboard was filled with snippets codes and no note created. In two or three app updates it changed to the behavior explained early. Better by filling with the text but worse making a new note in clipto.

Thanks for the response.

atrashler commented 3 years ago

Got it. Probably you are right and it is not necessary to create a new note each time you copy a text. Need to investigate how it can be done in different scenarios (when “Clipboard” is activated, when “Universal Clipboard” is activated, and other options based on the combinations of these two settings). Thanks!

YairNet commented 3 years ago

Great. My active runes are Astral Sync, Swipe power, Revive.

atrashler commented 3 years ago

Great. My active runes are Astral Sync, Swipe power, Revive.

If the rune 'Clipboard' is not active then the app should not create a new note when you copy a note inside or outside of the app. Will check this scenario also.