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

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/commit/
                   |                            |c0b8f6871e75bbc268165844ad5
                   |                            |780f13a5f88ac
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #22 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit c0b8f6871e75bbc268165844ad5780f13a5f88ac by Fushan Wen.
Committed on 20/11/2021 at 10:46.
Pushed by fusionfuture into branch 'master'.

systemtray: Check if a service is already added before processing QDBusReply

Due to async nature of QDBusPendingReply, services could be already
registered by QDBusServiceWatcher when the pending reply takes a long
time to finish, so it's possible that QDBusServiceWatcher::serviceRegistered
signal is emitted before the pending reply emits
QDBusPendingCallWatcher::finished,
which will make the same service added twice and crash plasmashell.

We need to check if a service is already added in m_sniServices before
processing registered items in QDBusReply.

M  +3    -1    applets/systemtray/statusnotifieritemhost.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/c0b8f6871e75bbc268165844ad5780f13a5f88ac

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

Reply via email to