Bug 481075

Summary: System settings segfaults (and/or gets visually corrupted) while typing in the shortcuts filtering input widget
Product: [Applications] systemsettings Reporter: Adam Fontenot <adam.m.fontenot+kde>
Component: kcm_keysAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fanzhuyifan, kde
Priority: NOR    
Version: 5.93.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: crash traceback
screenshot of visual corruption issue

Description Adam Fontenot 2024-02-08 18:46:05 UTC
Created attachment 165678 [details]
crash traceback

SUMMARY
I tried and failed to reproduce an issue with the shortcuts module reported at [1] but in the process got a segfault.

STEPS TO REPRODUCE
1. Open System Settings, and navigate to the the shortcuts module.
2. Keysmash (??) in the search box, while also intermittently pressing ctrl-backspace to get rid of typed text. The point is to rapidly change the search results in the hope of hitting a crash condition by chance.

OBSERVED RESULT
Segfault. See backtrace.

On a second attempt, I reproduced the original issue. See screenshot for that.

EXPECTED RESULT
No crash, no visual corruption.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

[1] https://www.reddit.com/r/kde/comments/1alutt7/one_week_with_plasma_6_rc2/
Comment 1 Adam Fontenot 2024-02-08 18:46:35 UTC
Created attachment 165679 [details]
screenshot of visual corruption issue
Comment 2 fanzhuyifan 2024-02-08 19:24:24 UTC
Fixed in latest qqc2-desktop-style

*** This bug has been marked as a duplicate of bug 480594 ***