Disable Tauri OS drag-drop so panes can be rearranged in standalone#39
Merged
Disable Tauri OS drag-drop so panes can be rearranged in standalone#39
Conversation
Tauri 2's default `dragDropEnabled: true` captures OS drag-drop natively and blocks HTML5 drag events on Windows, which broke Dockview pane reordering in the standalone app. Setting it to false restores pane drag at the cost of file/image-drop-to-paste, which is now tracked at #38 (blocked on tauri-apps/tauri#14373). The file-drop wiring is left in place as inert stubs so re-enabling is a small change once upstream offers a way to receive paths without blocking webview drag events. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Deploying mouseterm with
|
| Latest commit: |
3b73f3f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://127e62ef.mouseterm.pages.dev |
| Branch Preview URL: | https://disable-tauri-os-drag-drop.mouseterm.pages.dev |
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.
Summary
dragDropEnabled: falseon the standalone window so HTML5 drag events flow to the webview, restoring Dockview pane rearrangement (which was broken in the standalone build).dragDropEnabledis confusingly named, the entire drag-and-drop feature not documented enough tauri-apps/tauri#14373.Closes nothing — tracked at #38, blocked on tauri-apps/tauri#14373.
Test plan
pnpm dev:standalonelaunches cleanly.onFilesDroppedinterface method stays optional and the VS Code adapter never implemented it, so behavior there is unchanged).🤖 Generated with Claude Code