https://bugs.kde.org/show_bug.cgi?id=362975
Bug ID: 362975 Summary: socket loses data if payload is too big Product: Purpose Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: major Priority: NOR Component: general Assignee: aleix...@kde.org Reporter: sit...@kde.org When making a 1920x1080 screenshot with spectacle and attempting to share it to imgur via purpose the posting never works. Smaller screenshots work. Reason being that the lib will serialize the png into json and then send it over the socket, but that will more than likely exceed buffer limits of the socket, so writing happens not all at once but rather needs to be done sequentially as FIFO read. The pruproseprocess reading side however uses readAll() which only reads all bytes available for read, it does not wait for additional bytes! The only way I found to make it work reliably is to have a readyReadWait and then readAll until the wait times out. Reproducible: Always -- You are receiving this mail because: You are watching all bug changes.