telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
25.82k stars 5.11k forks source link

[Feature Request] #25506

Open DataGreed opened 1 year ago

DataGreed commented 1 year ago

Is your feature request related to a problem?

No shortcut to quickly jump to a contact or chat by typing it's name like in native Telegram Swift client for mac

Describe the solution you'd like

cmd+k on mac (orctrl+k on windows) should put the cursor in a search bar

Describe alternatives you've considered

  1. Clicking the searchbar or

  2. pressing ESC, then pressing cmf+F, but that's very cubersome

Additional context

pressing cmd+f does not resolve the issue, because if you're already in chat it opens search for text in chat instead of searching for contacts/chat names. You have to press escape first

SpL1Ne commented 1 year ago

pressing ESC, then pressing cmf+F, but that's very cubersome

Pressing ESC already put cursor in a search bar. Also there is CTRL+J to open contact list.

DataGreed commented 1 year ago

Pressing ESC already put cursor in a search bar.

That's a good point, thanks, although the problem is that it closes the current chat which is annoying.

Also there is CTRL+J to open contact list.

The problem with cmd+j is that it searches contacts only, not chat names

SpL1Ne commented 1 year ago

it closes the current chat which is annoying.

LMAO.

to quickly jump to a contact or chat

And so? Your goal is to change the chat\contact. It doesn't matter if it closes current chat or not because you want to change to another chat.

DataGreed commented 1 year ago

And so? Your goal is to change the chat\contact. It doesn't matter if it closes current chat or not because you want to change to another chat.

It does, i can choose to go back to the chat. With the swift version it's not an issue, I jsut press esc again and I am back in that chat.

DataGreed commented 1 year ago

It also does not really make sense to use Esc shortcut for switching chats, since the standard shortcut on mac in every app (including native swift version of telegram!) is cmd+k, it messes with muscle memory.

SpL1Ne commented 1 year ago

i can choose to go back to the chat

You can't do that in telegram desktop unless you forward message to other chat. There is no 'history' of opened chats like history in browser where you can back-forward inside one tab.

it messes with muscle memory.

Well, tdesktop are not native in swift and doesn't target only on mac users. It also has linux users and windows users and nobody will make mac's hotkeys to all users from all platform as default. Mac is not the only platform in the world and no one will take it as fundamental and ideal so every other platform should make hotkeys (or anything other) as at mac. Get over it. Ctrl+K in tdesktop is for creating link across all platform. Native will count with default hotkeys inside it's native platform. Cross platform apps will not.