virresh / matvt

Virtual Mouse for Android TV that can be controlled via remote itself.
GNU General Public License v3.0
229 stars 37 forks source link

Tivo stream 4k - Main menu issues #15

Closed Son-Vegitto closed 3 years ago

Son-Vegitto commented 3 years ago

Hello,

I just installed the following version on a Tivo Stream 4k device. Mostly seems to work great - thanks!!

https://github.com/virresh/matvt/releases/tag/v1.03

I did notice that on the main Android TV screen, I cannot click left on the remote and highlight/select the circles (i.e. Apps, Play Next, etc.). It just seems to stay focused on the first item of each row.

Is this a known issue?

Thank you

Son-Vegitto commented 3 years ago

Update: I also noticed that when I try and select a highlighted app on the main Android TV screen, it acts as if I am long pressing the enter button (or right click with mouse) and gives the menu to move, uninstall, info.

virresh commented 3 years ago

Hi @Son-Vegitto , Thanks for trying the app.

I assume you're referring the Apps / Play Next / other buttons in that column [Attribution: Image taken from the internet as I don't have one of the TiVO stream boxes]

image

It's possible that focus remains on first item (there are issues with focus), but clicking on the button should execute whatever action the button is supposed to have. E.g on my Sony TV, clicking with the mouse on Apps button opens a side drawer from the right side which is same as D-Pad. Also, can you try with multiple clicks?

I also noticed that when I try and select a highlighted app on the main Android TV screen, it acts as if I am long pressing the enter button (or right click with mouse) and gives the menu to move, uninstall, info.

Yes, this is known behavior and I see this on my device also. Unfortunately I haven't been able to get to it's root cause. All I could deduce was that because the Android TV launcher doesn't support touch input, it doesn't register the difference between short and long clicks accurately and almost always ends up with long clicking on Home screen.

In case you're not able to trigger the apps side drawer from the mouse, please report the Android TV version and TV launcher package name (if possible).

Son-Vegitto commented 3 years ago

For the first item, I can access the apps drawer, but if I try and click on an app (after the Play Next row), it does not open.

For the second item, I'm glad this is known and not specific to my device.

This may not be a valid suggestion, but would it be possible to enable accessibility permissions in tandem with enabling the mouse mode (via info button) and disabling accessibility permissions in tandem with enabling d pad mode? It seems like the home screen functionality works like normal (using remote d pad) when I set accessibility to off.

virresh commented 3 years ago

Ah I see. I'll see if I can get this to reproduce on any of my setups. I am guessing it's due to a conflict with accessibility category.

enable accessibility permissions in tandem with enabling the mouse mode

Unfortunately, this would not be possible. I can turn off accessibility when mouse mode is disabled, but I can't turn it on, because once the accessibility is set to off, my app will no longer receive any inputs. I do believe there is a fix possible to allow you to work on your home screen normally. Will try to get it in the next couple of weeks.

Son-Vegitto commented 3 years ago

Awesome! Thank you

For now, I have my Accessibility Shortcut set up with MATVT, so I can enable/disable Accessibility, when needed.

virresh commented 3 years ago

@Son-Vegitto , released a new version with some fixes. Please check with v1.04 once https://github.com/virresh/matvt/releases/tag/v1.0.4

I hope this would help. please let me know here if it still doesn't work with main menu.

Son-Vegitto commented 3 years ago

@virresh - the new release solves the main menu issue I was experiencing. Thank you!

virresh commented 3 years ago

Great. Closing this issue then. Feel free to comment/reopen if required