Changing language in gnome-control-center doesn't work
Describe your issue
Changing language through gnome-control-center doesn't work.
What's the expected behaviour?
Changing language in gnome-control-center works or shows a dialog box with a link to the wiki.
What's the current behaviour?
First time I tried this, I got a prompt to restart Phosh when I changed the language. The button didn't do anything and after manually restarting Phosh, the language was not changed, so I had to follow the wiki page.
Second time I tried setting the language back to US English. The Settings crashed with the following backtrace:
warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing
warning: core file may not match specified executable file.
Core was generated by `gnome-control-center'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 wl_proxy_get_user_data (proxy=proxy@entry=0x0) at src/wayland-client.c:2040
2040 src/wayland-client.c: No such file or directory.
[Current thread is 1 (LWP 801)]
#0 wl_proxy_get_user_data (proxy=proxy@entry=0x0) at src/wayland-client.c:2040
#1 0x0000ffff872dd258 in wl_surface_get_user_data (wl_surface=0x0) at /usr/include/wayland-client-protocol.h:3538
#2 gdk_wayland_seat_add_touch (surface=0x0, id=0, seat=0xffff7d9d8030 [GdkWaylandSeat]) at ../gdk/wayland/gdkdevice-wayland.c:2346
#3 touch_handle_down (data=0xffff7d9d8030, wl_touch=<optimized out>, serial=844, time=69788088, wl_surface=0x0, id=0, x=61312, y=136576) at ../gdk/wayland/gdkdevice-wayland.c:2463
#4 0x0000ffff86586678 in () at /usr/lib/libffi.so.7
#5 0x0000ffff86585df4 in () at /usr/lib/libffi.so.7
#6 0x0000ffff8611542c in wl_closure_invoke (closure=0xffff7e0134a0, flags=1, target=<optimized out>, opcode=0, data=<optimized out>) at src/connection.c:1018
#7 0x0000ffff86112a38 in dispatch_event (display=display@entry=0xffff87f77460, queue=0xffff87f77530, queue=<optimized out>) at src/wayland-client.c:1445
#8 0x0000ffff86113c50 in dispatch_queue (queue=0xffff87f77530, display=0xffff87f77460) at src/wayland-client.c:1591
#9 wl_display_dispatch_queue_pending (display=0xffff87f77460, queue=0xffff87f77530) at src/wayland-client.c:1833
#10 0x0000ffff86113c7c in wl_display_dispatch_pending (display=<optimized out>) at src/wayland-client.c:1896
#11 0x0000ffff872e3cf8 in _gdk_wayland_display_queue_events (display=<optimized out>) at ../gdk/wayland/gdkeventsource.c:201
#12 0x0000ffff872b10e0 in gdk_display_get_event (display=display@entry=0xffff7e2c20e0 [GdkWaylandDisplay]) at ../gdk/gdkdisplay.c:442
#13 0x0000ffff872e3a2c in gdk_event_source_dispatch (base=<optimized out>, callback=<optimized out>, data=<optimized out>) at ../gdk/wayland/gdkeventsource.c:120
#14 0x0000ffff87bce7b8 in g_main_dispatch (context=0xffff86847ea0) at ../glib/gmain.c:3325
#15 g_main_context_dispatch (context=context@entry=0xffff86847ea0) at ../glib/gmain.c:4043
#16 0x0000ffff87bcea18 in g_main_context_iterate (context=context@entry=0xffff86847ea0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4119
#17 0x0000ffff87bceb00 in g_main_context_iteration (context=context@entry=0xffff86847ea0, may_block=may_block@entry=1) at ../glib/gmain.c:4184
#18 0x0000ffff87de4ff4 in g_application_run (application=0xffff781b85c0 [CcApplication], argc=<optimized out>, argv=0xfffff5ea47e8) at ../gio/gapplication.c:2559
#19 0x0000aaaacb1c1454 in main ()
How to reproduce your issue?
change language in phosh settings
What device are you using?
pine64-pinephone (postmarketOS CE 3GB)
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
stable ( v20.05
branch)
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
Additional information
it could be relevant to the backtrace, that I downgraded gtk+3.0 using MR !1835 (closed)
Edited by Michal Vasilek