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 |https://invent.kde.org/plas
                   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
                   |c0b8f6871e75bbc268165844ad5 |931a5441746daf10d9476409f34
                   |780f13a5f88ac               |7263719ef6c63

--- Comment #23 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 931a5441746daf10d9476409f347263719ef6c63 by Fushan Wen.
Committed on 20/11/2021 at 13:17.
Pushed by fusionfuture into branch 'Plasma/5.23'.

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.


(cherry picked from commit c0b8f6871e75bbc268165844ad5780f13a5f88ac)

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

https://invent.kde.org/plasma/plasma-workspace/commit/931a5441746daf10d9476409f347263719ef6c63

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

Reply via email to