huynhsontung / Screenbox

LibVLC-based media player for the Universal Windows Platform
GNU General Public License v3.0
781 stars 34 forks source link

The spacebar does not work correctly the first time you return to the window #391

Open quietrobot opened 2 weeks ago

quietrobot commented 2 weeks ago

Describe the bug When you go back to the screenbox window and use the space bar to play/stop, it seems to activate x2 (play/pause)

How To Reproduce open mdia in screenbox > switch window > return to screenbox > use spacebar

Expected behavior apply the function only once

Environment PC Windows 11 22631.3593

United600 commented 2 days ago

I can't reproduce it. Do you have the Tap anywhere to play or pause gesture setting enabled?

quietrobot commented 1 day ago

Yes, I have that option enabled. Today I tried to reproduce the bug and I couldn't either, maybe it's a random WinUI bug.

United600 commented 1 day ago

Today I tried to reproduce the bug and I couldn't either, maybe it's a random WinUI bug.

Nah, I don't think so. We propably should ignore the first Tap anywhere to play or pause gesture whenever we activate (from inactive) the window.

quietrobot commented 1 day ago

Don't know, that bug happened to me using the space bar, I didn't try it by clicking on the window.