VirtCode / SmartMouse

use your smartphone as a normal computer mouse
GNU General Public License v3.0
102 stars 6 forks source link

app interferes with home app / launcher selection #19

Closed Lanchon closed 4 months ago

Lanchon commented 4 months ago

hi,

thanks for the app!

in android, if there is more than one launcher app installed, hitting the home button will cause the system to ask which app will handle the "home" intent. in that situation, you can select a launcher and hit "always" and have the system store your preference and not ask again (while the home intent receiver list stays the same).

in at least lineageos 20, at least in some versions, the presence of this app causes the system to misbehave. when this app is installed along side more than one launcher app, then the home app selection menu will pop up every time the home button in hit, even if you select "always", even if you configure the home app in settings.

for whatever reason, this app makes the system ignore the home app preference and ask every time. this bug makes the app unusable if you use a 3rd party launcher. (btw, i suppose the bug is in android, but i image it can be worked around in the app.)

steps to repro:

notes

please tell me if you are able to repro.

thanks again!

VirtCode commented 4 months ago

Thanks a lot for such a detailed bug report!

It looks like this is the same problem as #15, which was fixed on main. Could you try building from main (or downloading the prebuilt apk from the other issue), and see whether that also fixes the issue on your end?

Lanchon commented 4 months ago

thanks!

very sorry for not having found that :( yes, master fixes the issue for me too.

on the other hand, i can't connect to my pc. probably for the best, as i would have ended contributing to the motion estimation and i really don't have time for that, lol.

thank you!

VirtCode commented 4 months ago

Thanks for testing, I'll probably pin this other issue until I create a new release with that fix some time soon (after I have gotten some basic touchpad functionality working on windows).

Also feel free to open an issue for your connectivity problems, if you have time for that (unless they are caused by lack of support for the HID device profile). You are also very welcome to have a look at the position estimation any time in the future, as I have hit a bit of a roadblock there.