moneytoo / Player

▶ Simple and lightweight, yet polished and powerful Android video player based on ExoPlayer
https://play.google.com/store/apps/details?id=com.brouken.player
The Unlicense
1.57k stars 182 forks source link

UI appearing randomly on landscape mode #427

Closed VasilisKos closed 1 year ago

VasilisKos commented 1 year ago

The UI appears on my device randomly while playing videos on landscape mode, without touching the screen at all, even when the screen is locked (the lock icon appearing on the center of the screen). This happens only when I hold the device on my hands, not when it's completely still, like e.g. on a table. By the moment I move the device the UI appears. This doesn't happen on portrait mode.

Device:

VasilisKos commented 1 year ago

The issue is not happening on my wife's Xiaomi Redmi 9C... 🤔 Looks like it doesn't happen so frequently on my phone when I lock the orientation of the screen, through the respective button of the app...

moneytoo commented 1 year ago

Sound like a faulty touchscreen.

VasilisKos commented 1 year ago

Sound like a faulty touchscreen.

Faulty only with this app? 😁

moneytoo commented 1 year ago

I guess it's possible. As a video player, it may use the phone resources and draw power in a special way that triggers some (touchscreen) problem. Just Player already ignores taps near the edges of the screen to prevent accidental touches. Try enabling "Pointer location" in phone's "Developer options" to see if it's really something like this.

VasilisKos commented 1 year ago

I guess it's possible. As a video player, it may use the phone resources and draw power in a special way that triggers some (touchscreen) problem. Just Player already ignores taps near the edges of the screen to prevent accidental touches. Try enabling "Pointer location" in phone's "Developer options" to see if it's really something like this.

Unfortunately, "pointer location" doesn't show any "accidental" taps. So, that's not the case...

minh3339 commented 1 year ago

My newly purchased Lenovo P11 Pro Gen 2 tablet has the same problem as you. That proves that the player is having problems

VasilisKos commented 1 year ago

By the way, Next Player which is also Exoplayer based, doesn't have that bug on my device, so it's certainly a bug.

moneytoo commented 1 year ago

Are you able to replicate it? The UI is only triggered at media end, by touchscreen or any unknown key event. I Would you be able to capture a bug report (or logcat output only) if I provide a debug build?

VasilisKos commented 1 year ago

Are you able to replicate it? The UI is only triggered at media end, by touchscreen or any unknown key event. I Would you be able to capture a bug report (or logcat output only) if I provide a debug build?

It's always replicated. Give a debug built, and I'll probably be able to send a report.

moneytoo commented 1 year ago

Try this version: Just.Player.v0.146-controller-debug.apk Does anything (what text?) pop up on the screen when the UI appears?

VasilisKos commented 1 year ago

Try this version: Just.Player.v0.146-controller-debug.apk Does anything (what text?) pop up on the screen when the UI appears?

Yes. A message "Key: 0" pops up. On the contrary, when I do tap the screen the message "Tap" appears.

moneytoo commented 1 year ago

In this case this should fix it: Just.Player.v0.147.apk

VasilisKos commented 1 year ago

In this case this should fix it: Just.Player.v0.147.apk

Yes! Bug killed! So, it actually was a bug.