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

pasting image twice result in "old" image repasted #6922

Open
2 tasks done
viisauksena opened this issue Jun 24, 2024 · 1 comment
Open
2 tasks done

pasting image twice result in "old" image repasted #6922

viisauksena opened this issue Jun 24, 2024 · 1 comment

Comments

@viisauksena
Copy link

Using a supported version?

  • I have searched searched open and closed issues for duplicates.
  • I am using Signal-Desktop as provided by the Signal team, not a 3rd-party package.

Overall summary

if i copy a picture (like right click copy) i have issues in linux with
big PNG and JPG - they wont go into preview
if i redo the "copy" part, delete it the image in the message preview - the old image is copied again
this is odd
and if i delete it again and copy the same content again - the correct image is shown.

  • didnt think it through, but you may do nasty things (very narrowed down specialized) with this behavior _ if you can copy another image than expected in the message(preview)

Steps to reproduce

if i copy a picture (like right click copy for example in a browser) i have issues in linux with
big/uppercase "PNG" and "JPG" - they wont go into preview - just send as files

if i redo the "copy" part, delete it the image in the message preview and paste it again - the old image is copied again
this is odd

and if i delete it again and copy the same content (without another copying) again - the correct image is shown.

  • didnt think it through, but you may do nasty things (very narrowed down specialized) with this behavior _ if you can copy another image than expected in the message(preview)

Expected result

handle .PNG .JPG same as .png and .jpg
dont cache the preview in a weird way

Actual result

opposite of the expected behaviour

Screenshots

No response

Signal version

latest signal

Operating system

ubuntu

Version of Signal on your phone

is not connected - hence its preview of message draft

Link to debug log

No response

@ayumi-signal
Copy link
Contributor

@viisauksena Hello, sorry you are experiencing this issue. I'm not sure how to to reproduce the problem. It seems to be working for me when copying files ending in ".PNG" and ".JPG" on Debian and GNOME.

Can you please provide a step-by-step instruction how to reproduce? Such as, what is the browser you used as the copy source; and info about your desktop environment (GNOME, KDE, etc). Precise version of Signal is also helpful (Help Menu -> About).

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

No branches or pull requests

2 participants