Bug 477842

Summary: drkonqi is activated when a non-KDE app crashes
Product: [Applications] drkonqi Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, sitter
Priority: NOR Keywords: qt6
Version First Reported In: 5.90.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Strawberry
Opera

Description Patrick Silva 2023-12-01 15:28:19 UTC
Created attachment 163704 [details]
Strawberry

SUMMARY
On my system, drkonqi is activated when Strawberry music player or Opera browser crashes.
Please see the attached screenshots.

EXPECTED RESULT
drkonqi is only activated when a KDE app crashes.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Graphics Platform: Wayland
Comment 1 Patrick Silva 2023-12-01 15:28:34 UTC
Created attachment 163705 [details]
Opera
Comment 2 Nate Graham 2023-12-01 19:48:56 UTC
I think this might be intentional? Harald?
Comment 3 Bug Janitor Service 2023-12-01 22:16:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kcrash/-/merge_requests/51
Comment 4 Harald Sitter 2023-12-03 18:22:22 UTC
Git commit 65ef768964e0b884a560a74cbbf054a833af38fe by Harald Sitter.
Committed on 01/12/2023 at 23:22.
Pushed by cullmann into branch 'master'.

remove the automatic kcrash init

it
a) doesn't work when built with as-needed
b) is therefore superseded by the explicit ::initialize
c) is probably behind drkonqi sometimes starting for non-KDE apps (if
implicit init runs on startup because it was pulled in by some library
the app may end up with kcrash even though it shouldn't)

M  +2    -0    autotests/test_crasher.cpp
M  +0    -38   src/kcrash.cpp

https://invent.kde.org/frameworks/kcrash/-/commit/65ef768964e0b884a560a74cbbf054a833af38fe