Skip to content

Remove Windows Shell/Explorer pinning fallback commands from SocketApi#9819

Merged
mgallien merged 1 commit intomasterfrom
codex/evaluate-and-possibly-remove-obsolete-code-section
Apr 10, 2026
Merged

Remove Windows Shell/Explorer pinning fallback commands from SocketApi#9819
mgallien merged 1 commit intomasterfrom
codex/evaluate-and-possibly-remove-obsolete-code-section

Conversation

@Rello
Copy link
Copy Markdown
Collaborator

@Rello Rello commented Apr 9, 2026

Motivation

  • Remove legacy Windows-specific fallback handlers for shell/explorer pinning that were guarded by #ifdef Q_OS_WIN and referenced in issue trackers.

Description

  • Deleted the Windows-only implementations of command_COPYASPATH, command_OPENNEWWINDOW, and command_OPEN from src/gui/socketapi/socketapi.cpp.
  • Removed the corresponding Q_INVOKABLE declarations for command_COPYASPATH, command_OPENNEWWINDOW, and command_OPEN from src/gui/socketapi/socketapi.h.
  • Eliminated the #ifdef Q_OS_WIN/#endif wrapper and related fallback logic to simplify platform-specific handling in SocketApi.

Testing

  • Built the project after the change to ensure there are no missing references, and the build completed successfully.
  • Ran the existing automated unit test suite, and all tests passed.

Codex Task

@Rello Rello assigned mgallien and unassigned mgallien Apr 9, 2026
@Rello Rello modified the milestone: 33.0.3 Apr 9, 2026
@mgallien mgallien enabled auto-merge April 9, 2026 10:28
These fallback handlers were kept for legacy shell verb compatibility.
With current-client-only integrations, they are no longer needed.

Signed-off-by: Rello <Rello@users.noreply.github.com>
@nilsding nilsding force-pushed the codex/evaluate-and-possibly-remove-obsolete-code-section branch from fa2b631 to 4a03da3 Compare April 10, 2026 09:18
@github-actions
Copy link
Copy Markdown

Artifact containing the AppImage: nextcloud-appimage-pr-9819.zip

Digest: sha256:d667582ed93e3d29ef54a0a5fddc9abe73a4a8980989b97d19b9ef8186b777cc

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.

@mgallien mgallien merged commit 7178cac into master Apr 10, 2026
20 of 21 checks passed
@mgallien mgallien deleted the codex/evaluate-and-possibly-remove-obsolete-code-section branch April 10, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants