Repository navigation
Replies: 3 comments 1 reply
|
补充一例同版本实测,观察到与窗口焦点相关:
静态检查确认界面已有 |
|
Another reproduction on a second machine, plus confirmation of the blur workaround. Environment
What I verified
Blur workaround is realA human user on this machine confirmed it manually: click any other app first (e.g. Finder), then press-and-drag the top blank strip once — the window moves. Same observation as @wpk865147933. Caveat: I could not reproduce that with synthetic events in my environment (my CGEvent drags did not move a Finder window either), so the manual confirmation is the reliable data point, not my synthetic run. Immediate workaroundosascript -e 'tell application "System Events" to tell process "DeepSeek Harness" to set position of window 1 to {200, 150}'Still hoping for a fix that keeps at least one always-on drag band in the Electron shell, outside the |
|
Another failure mode found on this machine — worth recording so future reports are not all attributed to the core regression. Separate trigger: a third-party overlay swallowing the whole drag surface
Disabling /* dsh-pet <= 0.4.6, injected via document.body.appendChild */
#dsh-pet-baifan-root { position: fixed; inset: 0; pointer-events: none; -webkit-app-region: none !important; }Because the layer is a direct child of Verified fixed in Suggestion for the core sideThe Possible hardening:
Upstream references: PC2005-cloud/dsh-pet#324 (root cause) and #323 (verification against 0.4.7). |
Uh oh!
There was an error while loading. Please reload this page.
Summary
On macOS the DeepSeek Harness desktop window cannot be moved with the mouse after updating to
0.2.2-rc.1. It worked on0.2.1-rc.5. The window itself is not locked — AccessibilityAXPositioncan still be written — but there is no draggable region anywhere on the frameless window.Environment
0.2.2-rc.1(CFBundleShortVersionString), build 2026-11-04 17:16https://download.deepseek.com/dsh-desk/feeds/mac-arm64/)0.2.1-rc.5Update log excerpt (
~/Library/Caches/com.deepseek.dsh.ShipIt/ShipIt_stderr.log):Steps to reproduce
0.2.2-rc.1) on macOS.What I verified (rules out non-app causes)
AXPositionis settable (AXPosition settable: true); programmatic move from 511,160 → 551,190 succeeded, then restored.AXTitleBarand noAXTitleBarhit target — consistent withtitleBarStyle: "hidden" / "hiddenInset".AXGroup(web content), not a chrome/titlebar element.Code-level findings (from
app.asar)titleBarStyle: "hidden"/"hiddenInset", i.e. no native title bar, so dragging must come from CSS-webkit-app-region: drag.ui-webbase.css contains the drag mechanism:data-window-drag; ui-web base.css turns that mark into the single darwin drag region".@deepseek-ai/dsh-client-ui-dockkitsets that mark conditionally:floats.length === 0; there is also aMutationObserver-based recall mechanism (data-window-drag-recall).<webview>, whose style explicitly sets:Hypothesis (not yet verified at DOM level)
On macOS no
data-window-dragelement ends up outside the<webview>, or the mark is removed by the float/recall logic. Electron does not honor-webkit-app-regioninside<webview>/iframes, so the whole window ends up without any draggable area.Suggested fix
<webview>(≈28–32px tall, spanning the top), with-webkit-app-region: drag; setno-dragindividually on traffic-light area, tabs and buttons.<webview>own window dragging (known Electron limitation).floats.length === 0condition — losing all drag capability merely because a floating panel exists is a high cost; at minimum keep one always-on drag strip.getComputedStyle(el).webkitAppRegion === 'drag'exists in the top-level document.Workarounds (for other users hitting this)
Window → Center/Window → Move & Resize(arrow keys) /Fill/ZoomAXPosition) works, e.g. a small helper script.Additional note (possibly related)
Around the same time, the chat input box briefly stopped accepting typed input (recovered on its own). At that moment a third-party app's renderer was pegged at ~400% CPU on the same machine; unclear whether related — recorded only as a lead.
All reactions