Bug 477842 - drkonqi is activated when a non-KDE app crashes
Summary: drkonqi is activated when a non-KDE app crashes
Status: RESOLVED FIXED
Alias: None
Product: drkonqi
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.90.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-01 15:28 UTC by Patrick Silva
Modified: 2023-12-03 18:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Strawberry (46.15 KB, image/png)
2023-12-01 15:28 UTC, Patrick Silva
Details
Opera (43.53 KB, image/png)
2023-12-01 15:28 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
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