signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.68k stars 2.68k forks source link

Fix context menu text being different based on where right click occurred for emojis #7073

Closed khuddite closed 2 weeks ago

khuddite commented 2 weeks ago

First time contributor checklist:

Contributor checklist:

Description

Fixes #7058

The fix was to update the logic for isImage flag for the context menu. Currently, isImage flag is set to true for emojis, which should not be. Thus I added an extra check to filter out emojis, so isImage results in false for emojis.

CleanShot 2024-11-05 at 09 59 52

When I selected the emoji in the editable text input and right-clicked, there was no option for Paste because it was perceived as an image. However, I believe that was also a bug. So, I fixed it as part of my changes in this PR.

CleanShot 2024-11-05 at 10 01 10

scottnonnenberg-signal commented 2 weeks ago

Thanks for your work on this - it will be released soon in an upcoming beta release!

khuddite commented 2 weeks ago

Thanks for your work on this - it will be released soon in an upcoming beta release!

Thanks for your help and review, appreciated!

scottnonnenberg-signal commented 2 weeks ago

This change is now available in this release! https://github.com/signalapp/Signal-Desktop/releases/tag/v7.33.0-beta.1

khuddite commented 2 weeks ago

@scottnonnenberg-signal Can you let me know where I can find my commit? It looks like my commit was not merged.

khuddite commented 2 weeks ago

Nvm, I saw it's in the beta branch. Thanks!

khuddite commented 1 week ago

@scottnonnenberg-signal I am sorry to bother you, but do you know why my commits are not showing up here - https://github.com/signalapp/Signal-Desktop/commits/main/?author=khuddite?

I see my commit co-authored with you in the list without the filter, though.

I'd love to contribute more to Signal projects (desktop, android, and iOS) moving forward, but at the same time, I'd like my contributions to be publicly visible.

scottnonnenberg-signal commented 1 week ago

You are indeed an author on the commit, as you can see here:

Screenshot 2024-11-11 at 7 03 14 AM

Hopefully Github improves their interface soon! In the meantime, you can always point people at the release notes!

khuddite commented 1 week ago

Alright, thanks!