[stable-34.0] fix(socketapi): defer move item dialog out of socket read loop. - #10578
Merged
Conversation
backportbot
Bot
requested review from
claucambra,
mgallien and
nilsding
as code owners
August 11, 2026 08:43
camilasan
approved these changes
Aug 11, 2026
camilasan
force-pushed
the
backport/10552/stable-34.0
branch
from
August 11, 2026 10:29
b60ccba to
4e1797a
Compare
Contributor
|
Artifact containing the AppImage: nextcloud-appimage-pr-10578.zip Digest: To test this change/fix you can download the above artifact file, unzip it, and run it. Please make sure to quit your existing Nextcloud app and backup your data. |
claucambra
approved these changes
Aug 11, 2026
Fixes #10519 Running ConflictDialog::exec() from the Qt::DirectConnection socket dispatch spun a nested modal loop inside slotReadSocket. If the socket disconnected while the dialog was open, the QLocalSocket was freed and the read loop dereferenced it again at socketapi.cpp:385, crashing with an access violation. Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Camila Ayres <hello@camilasan.com>
command_MOVE_ITEM showed QFileDialog::getSaveFileUrl as a nested modal loop from the Qt::DirectConnection socket dispatch, the same reentrancy that can free the socket underneath the handler causing a crash. Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Camila Ayres <hello@camilasan.com>
…cked. Clicking a conflict entry brought the user to the activity log. Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Camila Ayres <hello@camilasan.com>
…als. SocketApi built the conflict and move dialogs inline inside the socket read loop. This keeps UI out of SocketApi and removes the modal loop that ran under slotReadSocket. Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Camila Ayres <hello@camilasan.com>
camilasan
force-pushed
the
backport/10552/stable-34.0
branch
from
August 12, 2026 13:20
4e1797a to
ec45815
Compare
|
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this pull request
Aug 20, 2026
https://build.opensuse.org/request/show/1372114 by user stacheldrahtje + anag_factory - Update to version 34.0.2: * [stable-34.0] fix(file-provider): Deletion of server-side item for items excluded from sync (gh#nextcloud/desktop#10540) * [stable-34.0] fix(tray): activate tray window also on right click (macOS) (gh#nextcloud/desktop#10542) * [stable-34.0] fix(file-provider): preserve special characters in chunked upload paths (gh#nextcloud/desktop#10544) * [stable-34.0] fix(discovery): use QString to avoid dangling QStringBuilder. (gh#nextcloud/desktop#10557) * [stable-34.0] fix(socketapi): defer move item dialog out of socket read loop. (gh#nextcloud/desktop#10578) * [stable-34.0] fix(windows): Prevent reupload of placeholder dirs deleted remotely (gh#nextcloud/desktop#10585) * [stable-34.0] fix(macOS): present
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Backport of PR #10552