pragha-music-player / pragha

Pragha is a Lightweight Music Player for GNU/Linux.
GNU General Public License v3.0
178 stars 35 forks source link

pragha does not launch under wayland #118

Open nonamedotc opened 7 years ago

nonamedotc commented 7 years ago

Here is the link to the downstream bug report -

https://bugzilla.redhat.com/show_bug.cgi?id=1397942

Bug report was from running pragha on Fedora 25.

Version-Release number of selected component:
pragha-1.3.3-4.fc25

Additional info:
reporter:       libreport-2.8.0
backtrace_rating: 4
cmdline:        pragha
crash_function: XkbGetUpdatedMap
executable:     /usr/bin/pragha
global_pid:     2143
kernel:         4.8.8-300.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 XkbGetUpdatedMap at XKBGetMap.c:580
 #1 XkbGetMap at XKBGetMap.c:603
 #2 grab_ungrab at bind.c:203
 #3 do_grab_key at bind.c:326
 #4 keybinder_bind_full at bind.c:586
 #5 keybinder_bind at bind.c:551
 #6 pragha_plugin_activate at pragha-keybinder-plugin.c:111
 #15 peas_engine_load_plugin at peas-engine.c:1192
 #16 peas_gtk_plugin_manager_store_set_enabled at peas-gtk-plugin-manager-store.c:406
 #17 peas_gtk_plugin_manager_store_toggle_enabled at peas-gtk-plugin-manager-store.c:495

Please let me know if any other info is needed.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41783923-pragha-does-not-launch-under-wayland?utm_campaign=plugin&utm_content=tracker%2F352350&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F352350&utm_medium=issues&utm_source=github).
matiasdelellis commented 7 years ago

Please.. Then I make a proper fix, but meantime you can edit the file ~/.config/pragha/config and remove "keybinder" from [PLUGIN] activated secction.. :wink:

matiasdelellis commented 7 years ago

Hi @nonamedotc Can you try this patch? Thank for all.! 😄

nonamedotc commented 7 years ago

I will try it and report back.

nonamedotc commented 7 years ago

Unfortunately, this seems to kill my GNOME session ... :(

This is the package built for Fedora 25 with the attached patch.

https://koji.fedoraproject.org/koji/taskinfo?taskID=17680901

Here is the trace from the crash.

strace_log_pragha.txt

matiasdelellis commented 7 years ago

Unfortunately, this seems to kill my GNOME session ... :(

Ohh,, 😞 I'm still in Fedora 24 and Xfce. Tomorrow do an installation with Fedora 25 with gnome on some computer to test..

nonamedotc commented 7 years ago

I use Xfce as well. But, I fired up a GNOME VM since I wanted to test wayland which is where this crash seems to happen ..

Thanks for the quick responses! Much appreciated.

matiasdelellis commented 7 years ago

Hi agian, I was able to reproduce the bug .. I'll see how to fix it next week .. 😉 EDIT: Just test your package with the proposed patch and it seems to work ... Can you test again?

I use Xfce as well. But, I fired up a GNOME VM since I wanted to test

I know ... I follow the list. It's a shame I can not participate much .. 😞

Something to improve in the official package, it install dependencies of gstreamer 0.10, and this is not necessary .. 😉

Thanks for the quick responses! Much appreciated.

Thanks to you. Regards, Matias.

glaubersm commented 7 years ago

I use 1.3.3 on Arch, it crashes my Gnome Wayland session when I uncheck "Minimize Pragha when closing window" in preferences. The same crash happens on Ubuntu 17.10 running Gnome Wayland on VirtualBox.

matiasdelellis commented 6 years ago

Hi @nonamedotc @glaubersm Just test Pragha 1.3.91 on Fedora 28 Workstation and everything seems to work correctly..

You can test?? Thanks for all... :smiley:

kalikiana commented 5 years ago

Works smoothly for me on Ubuntu 18.04/ GNOME/ Wayland so long as I don't touch any Appearance settings (which crash the app or freeze the session).

matiasdelellis commented 5 years ago

Hi, I do not use wayland on any computer, but I'll do the test with some live...