telegramdesktop / tdesktop

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

[Feature Request] Add ability to zoom in/out in photo viewer without a keyboard #25884

Open AndreySV opened 1 year ago

AndreySV commented 1 year ago

Is your feature request related to a problem?

tdesktop is often used as default telegram (mobile) client on mobile Linux phones (like PinePhone , Librem 5, ... ) running classic Linux distributions like Debian (Mobian), Manjaro and many others. And it works good enough on them.

To zoom in/out pictures in viewer following steps are needed in Phosh now:

  1. open on-screen keyboard
  2. switch to terminal layout
  3. activate 'Ctrl'
  4. switch to special symbols page
  5. press + or - to do 'zoom in' or 'zoom out'

it's very inconvenient and error prone. Because it's easy to leave picture viewer.

Describe the solution you'd like

  1. The best solution would be to support 'pinch to zoom'
  2. Add zoom-in and zoom-out controls in the picture viewer would good enough

Describe alternatives you've considered

Added zoom-in and zoom-out controls in the picture viewer would good enough

Additional context

No response

john-preston commented 1 year ago

@AndreySV Pinch to zoom is an interesting idea for the trackpads as well, maybe it could be implemented.

cyber1o1 commented 9 months ago

Title: "touchpad Pinch-to-Zoom Not Working : Troubleshooting Help Needed" @john-preston

Description: "I used the pinch-to-zoom function with dell windows touchpad in Telegram Desktop about a year ago, but it's no longer working. Currently, I can only zoom using the Ctrl key with '+/-'. It's worth noting that my touchpad's pinch function still works fine on web browsers and other applications on my PC. Can someone please help me troubleshoot and resolve this issue in GitHub Desktop?"

john-preston commented 9 months ago

@cyber1o1 Sorry, currently I don't know how to fix that.

GKid94 commented 2 months ago

Upvote