pragha icon indicating copy to clipboard operation
pragha copied to clipboard

pragha does not launch under wayland

Open nonamedotc opened this issue 7 years ago • 11 comments

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! We accept bounties via Bountysource.

nonamedotc avatar Feb 08 '17 02:02 nonamedotc

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 avatar Feb 08 '17 12:02 matiasdelellis

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

matiasdelellis avatar Feb 08 '17 23:02 matiasdelellis

I will try it and report back.

nonamedotc avatar Feb 08 '17 23:02 nonamedotc

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

nonamedotc avatar Feb 09 '17 01:02 nonamedotc

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..

matiasdelellis avatar Feb 09 '17 01:02 matiasdelellis

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.

nonamedotc avatar Feb 09 '17 02:02 nonamedotc

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.

matiasdelellis avatar Feb 10 '17 21:02 matiasdelellis

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.

glaubersm avatar Aug 28 '17 16:08 glaubersm

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:

matiasdelellis avatar May 09 '18 15:05 matiasdelellis

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).

kalikiana avatar Nov 08 '18 10:11 kalikiana

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

matiasdelellis avatar Nov 16 '18 12:11 matiasdelellis