Media editor: the enter button leads the client to perform an incorrect action
Describe the bug The enter button leads the client to perform an incorrect action in the media editor.
To Reproduce Steps to reproduce the behavior:
- Attach a photo (using ctrl+v or attach button)
- Click on the edit icon
- Make some changes (resize, brush or other)
- Click enter button on keyboard
Expected behavior
The enter key should have the same behaviour as if the success icon was pressed

Video https://user-images.githubusercontent.com/60541000/183635259-9f21c5e3-3550-4ad6-a505-275ec4065347.mp4
Version Info
- Unigram: 8.9 7527 x64
- Windows 10 21H2 19044.1706
Use Shift+Enter in order for this to work. same applies to all other buttons you can select in "Send message" dialog
Use Shift+Enter in order for this to work. same applies to all other buttons you can select in "Send message" dialog
my video was made using the enter button, not shift+enter so I did not understand the answer
the same behaviour also occurs when using shift+enter while editing the photo
Yep, should've looked at it before commenting. I thought you have tabbed to the "Save/Confirm/Whatever" button.
Thanks for the report, hope it's possible to enhance this aspect of the app.
Yep, should've looked at it before commenting. I thought you have tabbed to the "Save/Confirm/Whatever" button.
Thanks for the report, hope it's possible to enhance this aspect of the app.
It could, from a certain point of view, also be a bit of a security issue: a person could possibly obscure sensitive information from a photo and then end up sending the original photo by mistake using the enter key. I hope this is resolved or in any case implemented soon
I actually find quite interesting that in a UI where you fully interact using your mouse (because you can't draw or crop otherwise) you try to finally confirm the action using the keyboard 😅
Anyhow I believe that this can be considered a duplicate of #1544