https://bugs.kde.org/show_bug.cgi?id=440529

            Bug ID: 440529
           Summary: Does not let DrKonqi know it restarted
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-x11-standalone
          Assignee: kwin-bugs-n...@kde.org
          Reporter: k...@privat.broulik.de
  Target Milestone: ---

When an application sets KCrash::Autorestart, when it crashes, just an SNI is
shown to not bother the user too much because the app automatically restarted
anyway.

However, KWin in its crashHandler calls system() to restart itself with
--crashes argument to keep track of how often it has crashed recently.

This means that DrKonqi shows a notification and offers to "Restart
application" which won't do anything as KWin auto-restarted.

STEPS TO REPRODUCE
1. killall -6 kwin_x11

OBSERVED RESULT
DrKonqi crash notification with "Restart application" appears

EXPECTED RESULT
No "Restart application" option as KWin auto-restarts

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: git master as of 2021-08-01
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to