tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Mouse scrolling is not working in TWA on Linux

Open slavafomin opened this issue 2 years ago • 3 comments

Steps to reproduce

  1. Start the @DurgerKingBot
  2. Open the TWA
  3. Try to use the scroll wheel

Expected behaviour

It should scroll as usual.

Actual behaviour

It's not reacting to any mousewheel events.

Operating system

Ubuntu 22.04.1 LTS, Linux 5.15.10-051510-generic, XFCE 4.16

Version of Telegram Desktop

4.2

Installation source

Static binary from official website

Logs

No response

slavafomin avatar Sep 18 '22 15:09 slavafomin

TWA?

ilya-fedin avatar Sep 18 '22 22:09 ilya-fedin

From time to time scrolling stops working in Both in chat window and contact list. Cannot find exact steps to reproduce, will try to find tomorrow. Version - 4.2.0 OS - Kubuntu 22.04 DE - KDE

lesykm avatar Sep 21 '22 07:09 lesykm

@lesykm this report is about some 'TWA', not about chat window or contact list. And it's likely to be closed as the author ignores the question.

ilya-fedin avatar Sep 21 '22 07:09 ilya-fedin

@ilya-fedin TWA is a Telegram Web App.

slavafomin avatar Sep 25 '22 10:09 slavafomin

I can reproduce, but this doesn't happen on KDE, looks like a xfwm bug, can you report to xfwm?

ilya-fedin avatar Sep 25 '22 11:09 ilya-fedin

I'm not sure what is the xfwm, so I won't be a able to properly file a bug report I'm afraid. I'm not a desktop developer and I'm not familiar with all the details regarding X window system, windows managers and all the related abstraction layers.

slavafomin avatar Sep 25 '22 11:09 slavafomin

xfwm is Xfce's window manager, you can report to https://gitlab.xfce.org/xfce/xfwm4/-/issues/. Unfortunately, I'm not an Xfce user and I don't think my X11 knowledge is any better than you (note that there's not so much people really knowing X11 on this planet), so I won't report as well. Note that tdesktop project has no X11 experts, so if you won't report to xfwm, your issue will stuck and I'll add it to #25126. Should I do that?

ilya-fedin avatar Sep 25 '22 11:09 ilya-fedin

I really don't know how to file an actionable bug report regarding this. Of course, I can just copy the report that I've done here, but it will lack any technical/debugging details and will probably be ignored/closed.

I think the person knowing how Telegram Desktop actually integrates with the window system should be more suitable for escalating this report.

slavafomin avatar Sep 25 '22 11:09 slavafomin

This issue is now a part of #25126

ilya-fedin avatar Sep 25 '22 11:09 ilya-fedin

I think the person knowing how Telegram Desktop actually integrates with the window system should be more suitable for escalating this report.

A note: no one knows how it actually integrates with windowing system in tdesktop. We're using Qt's QWidget::createWindowContainer method and then Qt does some magic. We don't know what it actually doing. We only know it uses some native API on each system to embed one window into another.

ilya-fedin avatar Sep 25 '22 11:09 ilya-fedin

@ilya-fedin it looks like we should escalate this to the Qt then.

slavafomin avatar Sep 25 '22 14:09 slavafomin

Someone has to write a minimal reproducible example, unfortunately. I don't know how to make one as tdesktop connects Qt and gtk for webview what requires a lot of code with multiprocessing and IPC.

ilya-fedin avatar Sep 25 '22 14:09 ilya-fedin

I think It's much easier to report to xfwm. But I'm unfortunately not an Xfce user, so I wouldn't be able to do things they will ask.

ilya-fedin avatar Sep 25 '22 15:09 ilya-fedin

I have the same issue. Arch Linux + i3wm Arch Linux + Gnome3

Myralllka avatar Oct 09 '22 20:10 Myralllka

@Myralllka web bots aren't supported on GNOME, so you can't have this issue

ilya-fedin avatar Oct 09 '22 21:10 ilya-fedin

@Myralllka web bots aren't supported on GNOME, so you can't have this issue

Omg my mistake, sorry, it is not in bots in TWA but everywhere (chats, main page, settings) in "community/telegram-desktop" application. Should I make a new Issue regarding that, if I wouldn't be able to fix it myself? Because I can not see anything related, and it was the closest one.

Myralllka avatar Oct 09 '22 21:10 Myralllka

Please look the pinned issue

ilya-fedin avatar Oct 09 '22 21:10 ilya-fedin

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

github-actions[bot] avatar Apr 08 '23 01:04 github-actions[bot]

I have a similar issue in desktop application (Linux Mint 21.1 / Cinnamon / Flatpak, v4.6.5) - mouse scrolling doesn't work, but touchpad scrolling works just fine.

alexkuz avatar Apr 20 '23 21:04 alexkuz

@alexkuz in webview? Note that this issue is about scrolling not working in webview exclusively.

ilya-fedin avatar Apr 20 '23 21:04 ilya-fedin

In a desktop app, not in a webview, it seems to be fixed in the latest version though, so nevermind. Should have checked it from the start, my bad.

alexkuz avatar Apr 20 '23 21:04 alexkuz

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

github-actions[bot] avatar Oct 19 '23 01:10 github-actions[bot]