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

Fix the clipboard when the image is copied from a browser #340

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rroblf01
Copy link

Fix bug that prevented pasting an image into a chat if that image was copied from a browser

@rroblf01
Copy link
Author

Hello @rafatosta I look forward to hearing from you if this seems like a good solution. Issue #284

@rafatosta
Copy link
Owner

Hello @rafatosta I look forward to hearing from you if this seems like a good solution. Issue #284

Check if this issue occurs with this solution
#336

@rafatosta
Copy link
Owner

There is a fix in the code for all the copy and paste issues, but it affects the operating system.
For example, when copying files in the file manager. For all programs, the content is just the directory (in text), but for the file manager itself it is a file.

Anyway, I believe that some polishing is needed to solve these problems.

Screenshot_2025-03-14-17-55-34-910_com.android.chrome-edit.jpg

Just uncomment this line and your import

@rroblf01
Copy link
Author

Hi @rafatosta Uncommenting that code snippet does not fix the error.

@rroblf01 rroblf01 closed this Mar 15, 2025
@rroblf01 rroblf01 reopened this Mar 15, 2025
@rafatosta
Copy link
Owner

@rafatosta
Copy link
Owner

rafatosta commented Mar 15, 2025

My fix

Gravacao.de.tela.de.2025-03-15.11-01-55.mp4

For copy of files it is necessary to copy twice so that the paste works

Gravacao.de.tela.de.2025-03-15.11-00-04.mp4

@rroblf01
Copy link
Author

Hello @rafatosta The solution you propose doesn't solve the problem in my case, and the solution I proposed doesn't cause me those problems. Could it be due to the operating system?

I'm using Arch Linux with KDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants