ravachol / kew

A command-line music player
GNU General Public License v2.0
567 stars 21 forks source link

Kew doesn't accept inputs after selecting a song when using Hyprland #126

Closed Grott3 closed 6 months ago

Grott3 commented 6 months ago

I can open kew, navigate everything that is accessible without a song playing, but the moment I select a song to play it just plays the song but becomes unresponsive to any inputs.

I tested it on KDE plasma with X11 and Wayland, both worked fine. On Hyprland however, it does not.

I use Foot and my shell is Fish (both tested).

[My dotfiles.]https://github.com/end-4/dots-hyprland/tree/main?tab=readme-ov-filel)

A more knowledgeable friend of mine told me that the issue might be something related to a faulty dynamic link library on Hyprlands part but I don't know if this helps.

(Installed kew-git via yay on Arch)

I really like this project and hope that I can use it again soon.

xplshn commented 6 months ago

What does the WM have to do with the terminal? On KDE, did you use Konsole or Foot?

Grott3 commented 6 months ago

What does the WM have to do with the terminal? On KDE, did you use Konsole or Foot?

I used both on KDE and it worked fine. The only thing I changed was the WM (Konsole is not working on Hyprland either).

ravachol commented 6 months ago

Hi Grott3,

Thank you for reporting this bug. I have checked on hyprland/foot and it works fine for me. Could you try to installing kew-git again to see if it wasn't a problem with the previous commit? There was a build warning there that I have since removed. For a more stable experience choose, kew instead of kew-git.

ravachol commented 6 months ago

Btw, I fixed the rendering of the cover so that it is perfectly square on more terminals, including foot. So one more reason to update (kew-git). :D

Grott3 commented 6 months ago

Hi Grott3,

Thank you for reporting this bug. I have checked on hyprland/foot and it works fine for me. Could you try to installing kew-git again to see if it wasn't a problem with the previous commit? There was a build warning there that I have since removed. For a more stable experience choose, kew instead of kew-git.

Hey, thanks for answering. I reinstalled kew-git and tried kew, neither worked (sadly). I looked through my configs and nothing seemed out of order. I don't know where the issue could lie and would just seek it myself (since the problem seems to be very specific to me) and get back if I find a solution. One last question: How does kew receive keyboard inputs? Does it support fcitx and does the player handle things differently from the playlist/library view?

ravachol commented 6 months ago

It does not support Fcitx and it handles things the same way across all views.

ravachol commented 6 months ago

Hey Grott3, if you want you could try this:

  1. quit kew
  2. Set allowNotifications=0 in the file kewrc which is in your ~/.config directory (or ~/.config/kew/ if you have grabbed the latest version 2.4.3).
  3. Save kewrc
  4. Restart kew and see if the problem is still there on hyprland.

That's one of the things I can think of that could be causing a problem.

Grott3 commented 6 months ago

Hey Grott3, if you want you could try this:

  1. quit kew
  2. Set allowNotifications=0 in the file kewrc which is in your ~/.config directory (or ~/.config/kew/ if you have grabbed the latest version 2.4.3).
  3. Save kewrc
  4. Restart kew and see if the problem is still there on hyprland.

That's one of the things I can think of that could be causing a problem.

That absolutely worked, great! I hadn't troubleshooted kew itself yet because I thought I did something wrong in Hyprland but it just works now. Thanks for the support and for the great music player!