Unigram icon indicating copy to clipboard operation
Unigram copied to clipboard

UI regression on replying message with touch pad

Open Jack-Works opened this issue 3 years ago • 13 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce

In this UI,

image

Swipe left use 2 fingers on the high precision touchpad on a message

Expected behavior

The message can be swiped left, and when the finger releases, it becomes the "reply" state.

image

In the newer version, this useful feature seems removed.

Version Info

  • Unigram: 8.5 (6982) x64
  • Windows: 10

Additional context Add any other context about the problem here.

Jack-Works avatar Feb 17 '22 07:02 Jack-Works

Additional note: horizontal scroll causes vertical scroll in chat list and chat window.

makisukurisu avatar Feb 17 '22 08:02 makisukurisu

I'm using the same version of the app and I can't reproduce the issue. Additionally, there was no changes to this logic since October: https://github.com/UnigramDev/Unigram/commits/develop/Unigram/Unigram/Controls/Chats/ChatListViewItem.cs

FrayxRulez avatar Feb 17 '22 08:02 FrayxRulez

You can try to swipe between chats/contacts/calls/settings in Unigram.

Thanks for the report. P.S. ELAN 21.2.27.1 doesn't inform system about swipe actions, apparently. Or it does, but in such a way modern apps cannot understand.

You can try to see if SwipeControl works for your machine in WinUI 3 Controls Gallery, if it does this issue must be investigated further, if it doesn't - this is caused by driver your trackpad is using (if you don't have one - you might want to see if there is any for your machine and try with it)

makisukurisu avatar Feb 17 '22 09:02 makisukurisu

You can try to see if SwipeControl works for your machine in WinUI 3 Controls Gallery, if it does this issue must be investigated further

Yes, I can swipe from left to right and reveal the "accept" and the "flag" button in the SwipeView.

When I do the same action on one of the messages in the Unigram, it does not work.

I tried to swipe in the chat list and it works. Looks like it only fails in the chat UI.

Jack-Works avatar Feb 17 '22 15:02 Jack-Works

I've using a Windows 10 touchscreen laptop Dell 15r 5537, and I'm unable to use swipe to reply on current version of Unigram, both Store (8.6.7182.0) and Direct (8.7.7352.0) versions.

caeslucio avatar Apr 21 '22 23:04 caeslucio

On touchscreen I tried to swipe in the chat list and it works here too

caeslucio avatar Apr 21 '22 23:04 caeslucio

But it working like in the chat UI, because when I swipe to right it shows the reply icon

caeslucio avatar Apr 21 '22 23:04 caeslucio

I tried to swipe in the chat list and it works. Looks like it only fails in the chat UI.

Same for me

lloydo3000 avatar Apr 22 '22 02:04 lloydo3000

@caeslucio @lloydo3000 this is not related, since here the user here is unable both to reply and forward the message with the gestures, while your issue seems to be the chats forwarding menu not loading, while gestures are working properly, please consider opening a separated ticket

MarcAnt01 avatar Apr 22 '22 07:04 MarcAnt01

Thank you but my issued is exactly as described in the ticket. Gestures work in other apps, but since a change in Unigram a few months ago, the do not work on messages in a chat (they do work swiping on the menus, as described above). The gestures don't work either on touchpads or on touchscreens. I have seen this on multiple computers now. I would love a fix as it was a great productivity booster.

lloydo3000 avatar Apr 22 '22 07:04 lloydo3000

I just upgraded to Windows 11 22H2, and with Unigram 8.6 (7182) this problem no longer existed. Another of my PC is in Windows 10 21H2 Unigram 8.6 (7182), this problem still exists.

Jack-Works avatar Apr 22 '22 10:04 Jack-Works

Yeah, late comment here. I believe that the regression was introduced by this commit and I didn't notice because there was a (undocumented) breaking change in Windows 11: https://github.com/UnigramDev/Unigram/commit/2af040b38be04a30be657914709313e7adce6269

FrayxRulez avatar Sep 04 '22 10:09 FrayxRulez

Doesn't seem to be fixed actually

FrayxRulez avatar Sep 06 '22 08:09 FrayxRulez