Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse scrolling is not working in TWA on Linux #25086

Closed
slavafomin opened this issue Sep 18, 2022 · 22 comments
Closed

Mouse scrolling is not working in TWA on Linux #25086

slavafomin opened this issue Sep 18, 2022 · 22 comments

Comments

@slavafomin
Copy link

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 slavafomin added the bug label Sep 18, 2022
@ilya-fedin
Copy link
Contributor

TWA?

@lesykm
Copy link

lesykm commented Sep 21, 2022

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

@ilya-fedin
Copy link
Contributor

ilya-fedin commented Sep 21, 2022

@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.

@slavafomin
Copy link
Author

@ilya-fedin TWA is a Telegram Web App.

@ilya-fedin
Copy link
Contributor

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

@slavafomin
Copy link
Author

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.

@ilya-fedin
Copy link
Contributor

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?

@slavafomin
Copy link
Author

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.

@ilya-fedin
Copy link
Contributor

This issue is now a part of #25126

@ilya-fedin
Copy link
Contributor

ilya-fedin commented Sep 25, 2022

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.

@slavafomin
Copy link
Author

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

@ilya-fedin
Copy link
Contributor

ilya-fedin commented Sep 25, 2022

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
Copy link
Contributor

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.

@Myralllka
Copy link

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

@ilya-fedin
Copy link
Contributor

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

@Myralllka
Copy link

@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.

@ilya-fedin
Copy link
Contributor

Please look the pinned issue

@github-actions
Copy link

github-actions bot commented Apr 8, 2023

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 github-actions bot added the stale label Apr 8, 2023
@alexkuz
Copy link

alexkuz commented Apr 20, 2023

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.

@ilya-fedin
Copy link
Contributor

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

@alexkuz
Copy link

alexkuz commented Apr 20, 2023

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.

@github-actions
Copy link

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 github-actions bot added the stale label Oct 19, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants