-
Notifications
You must be signed in to change notification settings - Fork 28
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
Unexpected Keycombo #686
Comments
Hello @JD5623, thanks for reporting your issue. YouTube Music itself interprets keys Do you use Xorg or Wayland? |
@fenryxo I'm currently on Xorg, I get my session through lightdm. |
VALACEF_DEBUG_KEYS=yes G_MESSAGES_DEBUG=all make run Issue: tiliado/nuvolaplayer#686
Hello @JD5623, could you help me with debugging? You need to install the latest development version of Nuvola and then post logged keys - see section Debugging in the issue description. |
Only section Arch Linux/Spectrwm/Xorg is for you, the rest are notes from my testing. |
@fenryxo Recently tested with a fresh flatpak install, already updated the Arch section. |
I think I have a working idea of what's going on: I suspect that since my desktop window manager forces windows to "grab" onto the side/top/bottom It seems to me that the app does not update to the new X,Y positions on the screen, Though not ideal, letting the youtube app float so it can be moved freely seems to do the trick, |
This only fixes half of the problem, the keystroke timing issue still remains. |
I'm afraid there is nothing I can do in Nuvola. It seems that your window manager somehow leaks keys from global keyboard shortcuts to application windows. We may revisit the issue once Nuvola is ported to QtWebEngine. |
I'm closing this ticket as Nuvola Player has discontinued active development. We are going to provide only integration bug fixes on a best-effort basis until the final End-of-Life on December 31, 2022. I'm sorry that I haven't managed to resolve this ticket in time. |
Basic information
Your Linux distribution and its version: Arch Linux
Your desktop environment: Spectrwm
Nuvola Runtime version: 4.19.0
The web app you use and its version: Youtube Music 1.5.0
Describe the bug
My desktop has binded the key-combo WinLogo+j or WinLogo+k
for switching between windows, however the app
seems to interpret these combinations and scrolls through
the album layout.
Global keybindings are not enabled (no service installed as shown below), and I couldn't find any reference to these combinations in the app's default keybindings.
As a side note, I also logged in to my youtube account prior to experimenting this UI bug.
Expected behavior
The app shouldn't consume my keybinding.
Debugging log
Attach the debug log here:
youtubeMusic.log
Debugging
It is necessary to install the latest development version of Nuvola:
Fedora 33 with GNOME 3.38.2 on Wayland:
Win+K
to launch commandnotify-send test
- it shows a test notification.Win+K
.test
notification is shown.flatpak run --env=VALACEF_DEBUG_KEYS=yes eu.tiliado.NuvolaAppYoutubeMusic//master -D
.k
.test
notification is not shown.j
.test
notification is not shown,Win+K
test
notification is shown.Win+J
test
notification is not shown.Fedora 33 with GNOME 3.38.2 on Xorg:
Win+K
to launch commandnotify-send test
- it shows a test notification.Win+K
.test
notification is shown.flatpak run --env=VALACEF_DEBUG_KEYS=yes eu.tiliado.NuvolaAppYoutubeMusic//master -D
.k
.test
notification is not shown.j
.test
notification is not shown,Win+K
test
notification is shown.Win+J
test
notification is not shown.Arch Linux/Spectrwm/Xorg
Launch
flatpak run --env=VALACEF_DEBUG_KEYS=yes eu.tiliado.NuvolaAppYoutubeMusic//mater -D
.Press 'Win'.
what's the result?
✅ YouTube music does nothing.
Runner: [DEBUG Δ04s595975us CefGtk] WebView.vala:583: Key event KEYEVENT_RAWKEYDOWN: modifiers=0= win_code=91 native_code=133 character=''|''
Runner: [DEBUG Δ062913us CefGtk] WebView.vala:583: Key event KEYEVENT_KEYUP: modifiers=128=COMMAND_DOWN win_code=91 native_code=133 character=''|''
Press
j
.k
.Win+j
, also test with Press 'Win+k':This was when I pressed the Win + j or Win+k (this one event happened at random, not consistent)
Runner: [DEBUG Δ17s119074us CefGtk] WebView.vala:583: Key event KEYEVENT_KEYUP: modifiers=128=COMMAND_DOWN win_code=91 native_code=133 character=''|''
Sometimes it can return both the events from Win Key and a normal j/k key press,
or when I press the combo slightly faster it can return nothing,
or at times it can just return the event from the Win Key.
The text was updated successfully, but these errors were encountered: