https://bugs.kde.org/show_bug.cgi?id=475687
--- Comment #3 from Mike FABIAN <mfab...@redhat.com> --- It is a Qt bug actually, this commit fixed it: $ git show e68a0da0b90 commit e68a0da0b907af7980481a3cf30f6b4b97c06b6e Author: Alexander Volkov <avol...@astralinux.ru> Date: Mon Mar 6 18:10:34 2023 +0300 Avoid crash when keysymToQtKey(keysym, Qt::ControlModifier) is called For example when Ctrl+Home is sent by virtual keyboard on Wayland. Pick-to: 6.6 6.5 6.2 5.15 Change-Id: I41f1d2a28c9091efa621d5826a3b9e3e0e481ceb Reviewed-by: Liang Qi <liang...@qt.io> diff --git a/src/gui/platform/unix/qxkbcommon.cpp b/src/gui/platform/unix/qxkbcommon.cpp index d254aeecdc..162ba90efe 100644 --- a/src/gui/platform/unix/qxkbcommon.cpp +++ b/src/gui/platform/unix/qxkbcommon.cpp @@ -731,6 +731,8 @@ xkb_keysym_t QXkbCommon::lookupLatinKeysym(xkb_state *state, xkb_keycode_t keyco { xkb_layout_index_t layout; xkb_keysym_t sym = XKB_KEY_NoSymbol; + if (!state) + return sym; xkb_keymap *keymap = xkb_state_get_keymap(state); const xkb_layout_index_t layoutCount = xkb_keymap_num_layouts_for_key(keymap, keycode); // Look at user layouts in the order in which they are defined in system -- You are receiving this mail because: You are watching all bug changes.