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

            Bug ID: 428817
           Summary: org.kde.KWin is not unregistered properly on logout
           Product: kwin
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-x11-standalone
          Assignee: kwin-bugs-n...@kde.org
          Reporter: shng...@gmail.com
  Target Milestone: ---

SUMMARY


STEPS TO REPRODUCE
1. Use Xrdp to connect to Fedora 33, starting KDE
2. use `busctl --user monitor org.kde.KWin`
3. in plasma-workspace-5.19.5/startkde/startplasma.cpp, in function
startPlasmaSession(), add one line
`serviceWatcher.addWatchedService(QStringLiteral("org.kde.KWin"));` to make
startplasma won't quit till org.kde.KWin is unregistered.
4. click "log out" in KDE
5. busctl process ends, last message is org.freedesktop.DBus.Local.Disconnected

OBSERVED RESULT

startkde (actually startplasma_x11) doesn't exit at all, as org.kde.KWin is
*never* unregistered. `busctl --usr list` won't find any org.kde.KWin service.

EXPECTED RESULT

Unregistration of org.kde.KWin is properly called and startkde properly exits.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 33/plasma-workspace-5.19.5
(available in About System)
KDE Plasma Version: plasma-workspace-5.19.5
KDE Frameworks Version: 5.75.0-1.fc33
Qt Version: 5.15.1-5.fc3

ADDITIONAL INFORMATION

I am debugging it for the past week. I still cannot figure out
org.freedesktop.DBus.Local.Disconnected is signalled before unregistration. I
can keep digging into this issue, but I need some help to understand this part.

Thank you!

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

Reply via email to