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

--- Comment #4 from Andreas Hartmetz <[email protected]> ---
Git commit 27c77220ea19688ff4f204df1e3092f69f183f03 by Andreas Hartmetz.
Committed on 30/11/2025 at 14:16.
Pushed by ahartmetz into branch 'master'.

Work around QLocalSocket::waitForBytesWritten() problem on Unix

It can emit readyRead(), and handlers of that signal may end up
writing out data, which may result in waitForBytesWritten() itself
not being able to write anymore and returning false (even though
data was written).
So far, the problem has only been observed to happen in
NotificationSubscriber, specifically in bogus connection timeouts
breaking message "read" status  updates. They should propagate
client -> server -> client, which broke at server -> client.

This should be updated and eventually removed as fixed Qt versions
become available.

M  +2    -0    src/server/CMakeLists.txt
A  +28   -0    src/server/localsocket.cpp     [License: LGPL(v2.0+)]
A  +46   -0    src/server/localsocket_p.h     [License: LGPL(v2.0+)]
M  +2    -2    src/server/notificationsubscriber.cpp
M  +2    -3    src/server/notificationsubscriber.h

https://invent.kde.org/pim/akonadi/-/commit/27c77220ea19688ff4f204df1e3092f69f183f03

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

Reply via email to