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

            Bug ID: 512009
           Summary: kscmserver/X11 race condition on logout
    Classification: Plasma
           Product: plasmashell
      Version First 6.5.2
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Session Management
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

SUMMARY
there seems to be a race conditions at logout, which can lead to ~5sec
hangs/delays when logging out of kde on X11

STEPS TO REPRODUCE
1. add logout scripts in ~./.config/plasma-workspace/shutdown/ that run X11
apps
2. X11 apps through errors like
> The X11 connection broke (error 1). Did the X11 server die?

OBSERVED RESULT
there seems to be a race condition when logging out, X11 is (sometimes/most of
the time) killed before the ~./.config/plasma-workspace/shutdown/ scripts are
finished running

The same happens for background/tray apps like copyq

Which if it's triggered, it can lead to ~5sec hang times on logout

> org.kde.kf6.ksmserver: SmsDie timeout, client  "copyq"

EXPECTED RESULT
X11 exits after all tray apps exited, scripts are finished running in
~./.config/plasma-workspace/shutdown/ 

SOFTWARE/OS VERSIONS
Operating System: Linux 2.18
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.3
Kernel Version: 6.17.7 (64-bit)
Graphics Platform: X11

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

Reply via email to