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

Cannot scroll up/down with remote-control like AnyDesk. Taps/mouse clicks work ok. Scroll up/down outside EL is ok. #19

Open
porteusconf opened this issue Mar 19, 2022 · 1 comment

Comments

@porteusconf
Copy link

When remotely controlling the phone, I can select items, like "All Apps" but cannot scroll up/down in list of Apps. In all other apps besides Elder Launcher I can scroll up and down just fine, like in Settings for example.

On my 97-year-old mother's Android 8 moto-z2, I remotely control the phone with AnyDesk (on my local macbook). With Elder Launcher as the Home app, I can remotely tap Elder Launch items, such as the pencil-Edit icon or "All Apps". But problem is I then am unable to remotely scroll up or down to select items in Apps list that are further down on the screen. So I am unable to scroll down to other apps like Settings or Skype. The remote swipe works fine In any other app besides Elder Launcher, as described in Work-around below. Would it be possible to add scroll-bar or up-down arrows in case it is too tricky to get remote swipe working?

Work-around: temporarily (remotely) change the Home app from Elder_Launcher to default launcher. In anydesk, I can send swipe up/down left/write to the remote android phone from my macbook laptop by holding down the trackpad (left-mouse-depress) and, while holding down trackpad, use finger to swipe on trackpad. On the remote phone, this lets me swipe down at top of android phone screen, then click on gear icon to bring up phone Settings. In phone Settings, I can swipe up and down just fine, and am able to temporarily un-select Elder Launcher. With the phones usual launcher, I can then do anything I need to, such as run Google Play, start Skype and answer a video call, etc. That is, I can remotely do anything on the phone that I would be able to do if I was physically holding the phone in my hand. When I'm done remotely controlling the phone, I changed Home app back to ElderLauncher, or just launch it from GooglePlay and switch to it. If I open google-play and search for elder-launcher it says "open" (not "update"), and it says last updated Feb 8, 2022 and it appears to be version 1.6. Similarlily, AnyDesk on the phone is also apparently newest 6.4.0 version.

I've looked thoroughly for settings and permissions I might change to try to enable remote swipes in ElderLauncher, but did not find anything I could try changing to fix this. The phone is an unlocked at&t phone but still has at&t bloatware if that helps. I can try on a few other phones to see if the issue is just on my mom's phone or not and try to gather more clues about this issue
AnyDesk-cannot-scroll-remote-EL
.

@itsarjunsinh
Copy link
Owner

itsarjunsinh commented Mar 19, 2022

Hi. Thanks for the detailed report. I investigated and reproduced this behavior in the official Flutter Gallery app too. The app is made in Flutter which uses Skia renderer to draw the interface. This might be an upstream issue. I'll do a few experiments to see why gestures from Anydesk aren't working with Flutter.

Test 1: Created a basic app with scrollable list of 125 numbers in Flutter.

Scaffold(
  body: ListView.builder(
     itemCount: 125,
     itemBuilder: (_, index) => Text(index.toString(),
   ),
);

Scrolling in AnyDesk does not work. Scrolling by touch on the phone works of course.
Scrolling via AnyDesk doesn't trigger ScrollListeners from the Flutter ScrollController. It is used in all sorts of lists & grids.

Test 2: Wrapped Notification Listeners around the list of numbers.
Scroll Notification are received when scrolling by touch on the phone.
Scroll Notifications are not received when trying to scroll using AnyDesk.

Test 3: Gesture Detector detects drag gestures from AnyDesk
The GestureDetector does detect drag movements. All classes inheriting from ScrollView class are affected: ListView, GridView and CustomScrollView. Additionally a SingleChildScrollView doesn't fix this either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants