Bug 434489

Summary: kwin_wayland --replace shows splash screen
Product: [Plasma] kwin Reporter: David Edmundson <kde>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David Edmundson 2021-03-16 12:00:03 UTC
It resets the crash count, which sounds sensible, but we're using that env to trigger if the splash screen needs to be incorrectly reshown.
Comment 1 David Edmundson 2021-07-27 12:19:12 UTC
Git commit 0c6a8e7b88209551537bbf0ecb6582149e05c666 by David Edmundson.
Committed on 27/07/2021 at 12:18.
Pushed by davidedmundson into branch 'master'.

Avoid setting crash count to 0 when restarted

If kwin is explicitly restarted (kwin_wayland --replace) we reset the
crash count so that you can run it more than 10 times without exiting to
the logout screen.

Resetting to 0 causes a issue as that triggers ksplash to be shown
again.

M  +9    -11   src/helpers/wayland_wrapper/kwin_wrapper.cpp

https://invent.kde.org/plasma/kwin/commit/0c6a8e7b88209551537bbf0ecb6582149e05c666