Bug 434489 - kwin_wayland --replace shows splash screen
Summary: kwin_wayland --replace shows splash screen
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-16 12:00 UTC by David Edmundson
Modified: 2021-07-27 12:19 UTC (History)
0 users

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


Attachments

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