Closed Chiitoo closed 3 months ago
The crash is in kglobalacceld
, but it may be our fault. I have a wild guess; will make a PR later.
On wayland I can reproduce a similar thing when changing font, but I loose not all shortcuts, custom ones are working. No backtrace as it's intergrated in kwin somehow afaik.
EDIT: can't reproduce under X11, my missing alt+tab has another reason.
@Chiitoo, @stefonarch Please check https://github.com/lxqt/lxqt-qtplugin/pull/84. I think this issue is old because I'd seen a similar crash with Qt5.
Oh, and don't forget to restart kglobalacceld before testing.
Couldn't reproduce before because klobalacceld
doesn't autostart. Got the same crash, the fix looks working fine but only after session restart.
I had noticed my KWin shortcuts start go missing for a while now on qt5 as well, or well, alt-tab at least, which is pretty hard to miss.
They would always come back when I went to the KWin task switcher settings I believe it was, so maybe there was a crash in the background, and going to that menu restarted it for me.
The fix seems to have made the crash go away for me (interesting to see the fix too).
Thank you again!
the fix looks working fine but only after session restart.
Because klobalacceld should "see" it.
The fix seems to have made the crash go away for me
We had a similar issue with QML apps years ago, and it was fixed exactly in the same way. Strange that we didn't generalize the fix in that time!
I'm not sure where to go with this one: here, Qt, KDE, or other. : ]
I first noticed something was wrong when my 'alt-tab' was not working, and eventually found out 'kglobalacceld' wasn't running, and then I noticed it was occasionally crashing.
Later I found out I can make it happen on demand by changing the appearance settings.
This very well could just be me at this time.
Expected Behavior
No segmentation fault in QCoreApplication.
Current Behavior
Possible Solution
Code will need to be amended, though not sure in which project.
Steps to Reproduce (for bugs)
Context
Loss of global hotkeys provided by KWin.
System Information
Thank you!