linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.46k stars 731 forks source link

Cinnamon menu crashes when I type Hebrew text in the search bar #12248

Open hezy opened 1 month ago

hezy commented 1 month ago

When I type Hebrew in the search bar of Cinnamon menu, I first get suggestions for saved document names that fit the search pattern. But once my typed text produces no result, the Cinnamon menu crashes, and a window pops suggesting going to fallback mode. This doesn't seem to happen with other languages, including Arabic (which like Hebrew is RTL). I replicated this behavior in various computers with Mint 21.3 or older.

janso3 commented 3 weeks ago

I was able to replicate this, I've condensed the errors that are printed to this:

(cinnamon:1559): GLib-GObject-WARNING **: invalid uninstantiatable type '(null)' in cast to 'GObject'
(cinnamon:1559): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed
(cinnamon:1559): GLib-GObject-WARNING **: invalid uninstantiatable type '(null)' in cast to 'GObject'
(cinnamon:1559): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion 'G_IS_OBJECT (object)' failed
(cinnamon:1559): CRITICAL **: cogl_pango_ensure_glyph_cache_for_layout: assertion 'PANGO_IS_LAYOUT (layout)' failed
(cinnamon:1559): Pango-CRITICAL **: pango_renderer_draw_layout: assertion 'PANGO_IS_LAYOUT (layout)' failed
(cinnamon:1559): Pango-CRITICAL **: pango_layout_context_changed: assertion 'PANGO_IS_LAYOUT (layout)' failed
Pango:ERROR:../pango/itemize.c:955:itemize_state_process_run: assertion failed: (state->run_end != state->run_start)
Bail out!
Aborted (core dumped)