KRTirtho / spotube

🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
https://spotube.krtirtho.dev/
Other
28.69k stars 1.18k forks source link

Touchscreen does not work on Linux AUR builds #1763

Open rcky844 opened 1 month ago

rcky844 commented 1 month ago

Is there an existing issue for this?

Current Behavior

When attempting to scroll in the application with a touchscreen on Linux (Arch Linux in my case), nothing happens, and instead the list entries are selected if I happen to be pressing on it.

Expected Behavior

The pages should scroll as usual, like on mobile variants.

Steps to reproduce

The above description is enough for describing this bug.

Operating System

Arch Linux

Spotube version

3.7.1

Installation source

Arch User Repository (AUR)

Additional information

I am not a Flutter developer, but I found an open issue in one of their repos regarding similar issues: https://github.com/flutter/flutter/issues/90366

Self grab

KRTirtho commented 1 month ago

I don't have any Linux device with touchscreen support so I can't test it. But it looks like ScrollBehaviour issue

rcky844 commented 1 month ago

I don't have any Linux device with touchscreen support so I can't test it. But it looks like ScrollBehaviour issue

If possible, please open a branch and push a change so that Actions can compile a build. I have the device to test it on, if it is the issue it wouldn't be too difficult (?) I don't have experience on Flutter, only View-based Android Kotlin, plus C/C++

KRTirtho commented 1 month ago

It's not difficult but time consuming as there's a lots of ScrollView also I've to think of ways to detect that display has touch support. Because otherwise in non-touch devices, users will be able to scroll using mouse drag which is not a standard behavior for desktop apps

rcky844 commented 1 month ago

It's not difficult but time consuming as there's a lots of ScrollView also I've to think of ways to detect that display has touch support. Because otherwise in non-touch devices, users will be able to scroll using mouse drag which is not a standard behavior for desktop apps

Alright, ping me when you are ready.

erebion commented 2 weeks ago

Using this on my Linux phone, works absolutely brilliantly, except for scrolling.

Maybe look at FluffyChat, they got it working. That one is also a Flutter application. :D

https://github.com/krille-chan/fluffychat