Skip to content

Edge-Drop is a clipboard shelf on the edge of your screen. Hover to open it. Drag files and images into any app, click to copy text and links. Free and open-source for Windows.

multiple monitor support + left/Right edge switching

Deepender25e6d11da3036a
diff --git a/drag_debug.txt b/drag_debug.txt
index 9530099..daa29b3 100644
--- a/drag_debug.txt
+++ b/drag_debug.txt
@@ -3487,3 +3487,233 @@
[2026-07-16T07:59:02.458Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
[2026-07-16T07:59:02.459Z] createFileStackDragIcon calling Resvg for count=1
[2026-07-16T07:59:03.131Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T10:57:50.615Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T10:57:50.769Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T10:57:50.770Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T10:57:50.903Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T10:57:50.903Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T10:57:51.044Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T11:21:43.936Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T11:21:44.259Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T11:21:44.260Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T11:21:44.397Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T11:21:44.398Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T11:21:44.524Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T11:37:04.567Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T11:37:04.726Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T11:37:04.726Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T11:37:04.877Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T11:37:04.877Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T11:37:05.013Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:00:59.899Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:01:00.068Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:01:00.069Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:01:00.212Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:01:00.213Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:01:00.348Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:10:22.299Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:10:22.448Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:10:22.449Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:10:22.582Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:10:22.582Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:10:22.720Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:22:29.876Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:22:30.026Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:22:30.027Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:22:30.160Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:22:30.161Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:22:30.302Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:36:35.815Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:36:36.157Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:36:36.157Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:36:36.312Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:36:36.313Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:36:36.445Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:41:03.055Z] startDragOut called for kind=image
+[2026-07-17T12:41:03.057Z] staged: file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrowrvbd-zar4nyi3.png, files=undefined
+[2026-07-17T12:41:03.057Z] dragIcon called for kind=image
+[2026-07-17T12:41:03.058Z] image drag requested: count=1. Returning custom image card stack icon!
+[2026-07-17T12:41:03.058Z] createFileStackDragIcon returning cached for stack|solid-black|image|1
+[2026-07-17T12:41:03.059Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:41:03.059Z] calling sender.startDrag with item.file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrowrvbd-zar4nyi3.png, item.files=undefined
+[2026-07-17T12:46:17.455Z] startDragOut called for kind=files
+[2026-07-17T12:46:17.456Z] staged: file=C:\Users\yadav\Downloads\Logo (5).png, files=["C:\\Users\\yadav\\Downloads\\Logo (5).png"]
+[2026-07-17T12:46:17.457Z] dragIcon called for kind=files
+[2026-07-17T12:46:17.458Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\Logo (5).png"]
+[2026-07-17T12:46:17.459Z] createFileStackDragIcon returning cached for stack|solid-black|image|1
+[2026-07-17T12:46:17.459Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:46:17.459Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\Logo (5).png, item.files=["C:\\Users\\yadav\\Downloads\\Logo (5).png"]
+[2026-07-17T12:50:55.340Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:50:55.706Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:50:55.707Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:50:55.854Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:50:55.854Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:50:56.026Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:51:26.276Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:51:26.420Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:51:26.420Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:51:26.562Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T12:51:26.563Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T12:51:26.707Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:16:44.923Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T13:16:45.303Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:16:45.304Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T13:16:45.445Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:16:45.445Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T13:16:45.583Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:17:18.154Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T13:17:18.301Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:17:18.302Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T13:17:18.437Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:17:18.438Z] createFileStackDragIcon calling Resvg for count=1
+[2026-07-17T13:17:18.583Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:37:30.423Z] startDragOut called for kind=files
+[2026-07-17T13:37:30.425Z] staged: file=C:\Users\yadav\Downloads\Logo (5).png, files=["C:\\Users\\yadav\\Downloads\\Logo (5).png"]
+[2026-07-17T13:37:30.425Z] dragIcon called for kind=files
+[2026-07-17T13:37:30.426Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\Logo (5).png"]
+[2026-07-17T13:37:30.426Z] createFileStackDragIcon returning cached for stack|solid-black|image|1
+[2026-07-17T13:37:30.427Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:37:30.428Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\Logo (5).png, item.files=["C:\\Users\\yadav\\Downloads\\Logo (5).png"]
+[2026-07-17T13:43:11.921Z] startDragOut called for kind=files
+[2026-07-17T13:43:11.926Z] staged: file=C:\Users\yadav\Downloads\windows-11-365-purple-abstract-background-4k-wallpaper-uhdpaper.com-551@[email protected], files=["C:\\Users\\yadav\\Downloads\\windows-11-365-purple-abstract-background-4k-wallpaper-uhdpaper.com-551@[email protected]","C:\\Users\\yadav\\Downloads\\wallpapers","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22674.jpg","C:\\Users\\yadav\\Downloads\\macos-catalina-mountains-island-daytime-stock-5k-6016x6016-188.jpg","C:\\Users\\yadav\\Downloads\\macos-27-golden-4480x3088-26625.png","C:\\Users\\yadav\\Downloads\\vector-art-colorful-8140x8140-12144.jpg","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22675.jpg","C:\\Users\\yadav\\Downloads\\macos-sequoia-forest-3840x2160-24082.jpg","C:\\Users\\yadav\\Downloads\\iphone-14-abstract-ios-16-blue-4k-wallpaper-uhdpaper.com-39@[email protected]"]
+[2026-07-17T13:43:11.926Z] dragIcon called for kind=files
+[2026-07-17T13:43:11.927Z] files check: count=9, paths=["C:\\Users\\yadav\\Downloads\\windows-11-365-purple-abstract-background-4k-wallpaper-uhdpaper.com-551@[email protected]","C:\\Users\\yadav\\Downloads\\wallpapers","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22674.jpg","C:\\Users\\yadav\\Downloads\\macos-catalina-mountains-island-daytime-stock-5k-6016x6016-188.jpg","C:\\Users\\yadav\\Downloads\\macos-27-golden-4480x3088-26625.png","C:\\Users\\yadav\\Downloads\\vector-art-colorful-8140x8140-12144.jpg","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22675.jpg","C:\\Users\\yadav\\Downloads\\macos-sequoia-forest-3840x2160-24082.jpg","C:\\Users\\yadav\\Downloads\\iphone-14-abstract-ios-16-blue-4k-wallpaper-uhdpaper.com-39@[email protected]"]
+[2026-07-17T13:43:11.927Z] createFileStackDragIcon calling Resvg for count=9
+[2026-07-17T13:43:12.352Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:43:12.353Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:43:12.353Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\windows-11-365-purple-abstract-background-4k-wallpaper-uhdpaper.com-551@[email protected], item.files=["C:\\Users\\yadav\\Downloads\\windows-11-365-purple-abstract-background-4k-wallpaper-uhdpaper.com-551@[email protected]","C:\\Users\\yadav\\Downloads\\wallpapers","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22674.jpg","C:\\Users\\yadav\\Downloads\\macos-catalina-mountains-island-daytime-stock-5k-6016x6016-188.jpg","C:\\Users\\yadav\\Downloads\\macos-27-golden-4480x3088-26625.png","C:\\Users\\yadav\\Downloads\\vector-art-colorful-8140x8140-12144.jpg","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22675.jpg","C:\\Users\\yadav\\Downloads\\macos-sequoia-forest-3840x2160-24082.jpg","C:\\Users\\yadav\\Downloads\\iphone-14-abstract-ios-16-blue-4k-wallpaper-uhdpaper.com-39@[email protected]"]
+[2026-07-17T13:43:50.261Z] startDragOut called for kind=files
+[2026-07-17T13:43:50.263Z] staged: file=C:\Users\yadav\Downloads\macos-tahoe-beach-6016x3384-24081.jpg, files=["C:\\Users\\yadav\\Downloads\\macos-tahoe-beach-6016x3384-24081.jpg","C:\\Users\\yadav\\Downloads\\windows-11-365-purple-abstract-background-4k-wallpaper-uhdpaper.com-551@[email protected]","C:\\Users\\yadav\\Downloads\\wallpapers","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22674.jpg","C:\\Users\\yadav\\Downloads\\macos-catalina-mountains-island-daytime-stock-5k-6016x6016-188.jpg","C:\\Users\\yadav\\Downloads\\macos-27-golden-4480x3088-26625.png","C:\\Users\\yadav\\Downloads\\vector-art-colorful-8140x8140-12144.jpg","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22675.jpg","C:\\Users\\yadav\\Downloads\\macos-sequoia-forest-3840x2160-24082.jpg","C:\\Users\\yadav\\Downloads\\iphone-14-abstract-ios-16-blue-4k-wallpaper-uhdpaper.com-39@[email protected]"]
+[2026-07-17T13:43:50.265Z] dragIcon called for kind=files
+[2026-07-17T13:43:50.265Z] files check: count=10, paths=["C:\\Users\\yadav\\Downloads\\macos-tahoe-beach-6016x3384-24081.jpg","C:\\Users\\yadav\\Downloads\\windows-11-365-purple-abstract-background-4k-wallpaper-uhdpaper.com-551@[email protected]","C:\\Users\\yadav\\Downloads\\wallpapers","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22674.jpg","C:\\Users\\yadav\\Downloads\\macos-catalina-mountains-island-daytime-stock-5k-6016x6016-188.jpg","C:\\Users\\yadav\\Downloads\\macos-27-golden-4480x3088-26625.png","C:\\Users\\yadav\\Downloads\\vector-art-colorful-8140x8140-12144.jpg","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22675.jpg","C:\\Users\\yadav\\Downloads\\macos-sequoia-forest-3840x2160-24082.jpg","C:\\Users\\yadav\\Downloads\\iphone-14-abstract-ios-16-blue-4k-wallpaper-uhdpaper.com-39@[email protected]"]
+[2026-07-17T13:43:50.266Z] createFileStackDragIcon calling Resvg for count=10
+[2026-07-17T13:43:50.434Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:43:50.435Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:43:50.436Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\macos-tahoe-beach-6016x3384-24081.jpg, item.files=["C:\\Users\\yadav\\Downloads\\macos-tahoe-beach-6016x3384-24081.jpg","C:\\Users\\yadav\\Downloads\\windows-11-365-purple-abstract-background-4k-wallpaper-uhdpaper.com-551@[email protected]","C:\\Users\\yadav\\Downloads\\wallpapers","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22674.jpg","C:\\Users\\yadav\\Downloads\\macos-catalina-mountains-island-daytime-stock-5k-6016x6016-188.jpg","C:\\Users\\yadav\\Downloads\\macos-27-golden-4480x3088-26625.png","C:\\Users\\yadav\\Downloads\\vector-art-colorful-8140x8140-12144.jpg","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22675.jpg","C:\\Users\\yadav\\Downloads\\macos-sequoia-forest-3840x2160-24082.jpg","C:\\Users\\yadav\\Downloads\\iphone-14-abstract-ios-16-blue-4k-wallpaper-uhdpaper.com-39@[email protected]"]
+[2026-07-17T13:44:15.675Z] startDragOut called for kind=files
+[2026-07-17T13:44:15.676Z] staged: file=C:\Users\yadav\Downloads\macos-tahoe-beach-6016x3384-24081.jpg, files=["C:\\Users\\yadav\\Downloads\\macos-tahoe-beach-6016x3384-24081.jpg"]
+[2026-07-17T13:44:15.676Z] dragIcon called for kind=files
+[2026-07-17T13:44:15.676Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\macos-tahoe-beach-6016x3384-24081.jpg"]
+[2026-07-17T13:44:15.677Z] createFileStackDragIcon returning cached for stack|solid-black|image|1
+[2026-07-17T13:44:15.677Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:44:15.678Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\macos-tahoe-beach-6016x3384-24081.jpg, item.files=["C:\\Users\\yadav\\Downloads\\macos-tahoe-beach-6016x3384-24081.jpg"]
+[2026-07-17T13:44:27.584Z] startDragOut called for kind=files
+[2026-07-17T13:44:27.589Z] staged: file=C:\Users\yadav\Downloads\macos-tahoe-beach-6016x3384-24081.jpg, files=["C:\\Users\\yadav\\Downloads\\macos-tahoe-beach-6016x3384-24081.jpg","C:\\Users\\yadav\\Downloads\\windows-11-365-purple-abstract-background-4k-wallpaper-uhdpaper.com-551@[email protected]","C:\\Users\\yadav\\Downloads\\wallpapers","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22674.jpg","C:\\Users\\yadav\\Downloads\\macos-catalina-mountains-island-daytime-stock-5k-6016x6016-188.jpg","C:\\Users\\yadav\\Downloads\\macos-27-golden-4480x3088-26625.png","C:\\Users\\yadav\\Downloads\\vector-art-colorful-8140x8140-12144.jpg","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22675.jpg","C:\\Users\\yadav\\Downloads\\macos-sequoia-forest-3840x2160-24082.jpg","C:\\Users\\yadav\\Downloads\\iphone-14-abstract-ios-16-blue-4k-wallpaper-uhdpaper.com-39@[email protected]"]
+[2026-07-17T13:44:27.591Z] dragIcon called for kind=files
+[2026-07-17T13:44:27.593Z] files check: count=10, paths=["C:\\Users\\yadav\\Downloads\\macos-tahoe-beach-6016x3384-24081.jpg","C:\\Users\\yadav\\Downloads\\windows-11-365-purple-abstract-background-4k-wallpaper-uhdpaper.com-551@[email protected]","C:\\Users\\yadav\\Downloads\\wallpapers","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22674.jpg","C:\\Users\\yadav\\Downloads\\macos-catalina-mountains-island-daytime-stock-5k-6016x6016-188.jpg","C:\\Users\\yadav\\Downloads\\macos-27-golden-4480x3088-26625.png","C:\\Users\\yadav\\Downloads\\vector-art-colorful-8140x8140-12144.jpg","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22675.jpg","C:\\Users\\yadav\\Downloads\\macos-sequoia-forest-3840x2160-24082.jpg","C:\\Users\\yadav\\Downloads\\iphone-14-abstract-ios-16-blue-4k-wallpaper-uhdpaper.com-39@[email protected]"]
+[2026-07-17T13:44:27.595Z] createFileStackDragIcon returning cached for stack|solid-black|image-image-file|10
+[2026-07-17T13:44:27.595Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:44:27.595Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\macos-tahoe-beach-6016x3384-24081.jpg, item.files=["C:\\Users\\yadav\\Downloads\\macos-tahoe-beach-6016x3384-24081.jpg","C:\\Users\\yadav\\Downloads\\windows-11-365-purple-abstract-background-4k-wallpaper-uhdpaper.com-551@[email protected]","C:\\Users\\yadav\\Downloads\\wallpapers","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22674.jpg","C:\\Users\\yadav\\Downloads\\macos-catalina-mountains-island-daytime-stock-5k-6016x6016-188.jpg","C:\\Users\\yadav\\Downloads\\macos-27-golden-4480x3088-26625.png","C:\\Users\\yadav\\Downloads\\vector-art-colorful-8140x8140-12144.jpg","C:\\Users\\yadav\\Downloads\\macos-tahoe-26-5120x2880-22675.jpg","C:\\Users\\yadav\\Downloads\\macos-sequoia-forest-3840x2160-24082.jpg","C:\\Users\\yadav\\Downloads\\iphone-14-abstract-ios-16-blue-4k-wallpaper-uhdpaper.com-39@[email protected]"]
+[2026-07-17T13:47:55.672Z] startDragOut called for kind=image
+[2026-07-17T13:47:55.677Z] staged: file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrozqz0e-x008y6t3.png, files=undefined
+[2026-07-17T13:47:55.678Z] dragIcon called for kind=image
+[2026-07-17T13:47:55.679Z] image drag requested: count=1. Returning custom image card stack icon!
+[2026-07-17T13:47:55.680Z] createFileStackDragIcon returning cached for stack|solid-black|image|1
+[2026-07-17T13:47:55.680Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:47:55.681Z] calling sender.startDrag with item.file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrozqz0e-x008y6t3.png, item.files=undefined
+[2026-07-17T13:50:48.556Z] startDragOut called for kind=files
+[2026-07-17T13:50:48.557Z] staged: file=C:\Users\yadav\Downloads\Programming_and_Code\smart-agri-advisor.zip, files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\smart-agri-advisor.zip"]
+[2026-07-17T13:50:48.558Z] dragIcon called for kind=files
+[2026-07-17T13:50:48.558Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\smart-agri-advisor.zip"]
+[2026-07-17T13:50:48.561Z] createFileStackDragIcon returning cached for stack|solid-black|archive|1
+[2026-07-17T13:50:48.562Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:50:48.562Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\Programming_and_Code\smart-agri-advisor.zip, item.files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\smart-agri-advisor.zip"]
+[2026-07-17T13:50:53.696Z] startDragOut called for kind=files
+[2026-07-17T13:50:53.697Z] staged: file=C:\Users\yadav\Downloads\Programming_and_Code\smart-agri-advisor.zip, files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\smart-agri-advisor.zip"]
+[2026-07-17T13:50:53.698Z] dragIcon called for kind=files
+[2026-07-17T13:50:53.698Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\smart-agri-advisor.zip"]
+[2026-07-17T13:50:53.698Z] createFileStackDragIcon returning cached for stack|solid-black|archive|1
+[2026-07-17T13:50:53.699Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:50:53.699Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\Programming_and_Code\smart-agri-advisor.zip, item.files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\smart-agri-advisor.zip"]
+[2026-07-17T13:51:26.552Z] startDragOut called for kind=files
+[2026-07-17T13:51:26.553Z] staged: file=C:\Users\yadav\Downloads\Programming_and_Code\Readme-Architect-AI-main.zip, files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Readme-Architect-AI-main.zip"]
+[2026-07-17T13:51:26.554Z] dragIcon called for kind=files
+[2026-07-17T13:51:26.554Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Readme-Architect-AI-main.zip"]
+[2026-07-17T13:51:26.555Z] createFileStackDragIcon returning cached for stack|solid-black|archive|1
+[2026-07-17T13:51:26.555Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:51:26.556Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\Programming_and_Code\Readme-Architect-AI-main.zip, item.files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Readme-Architect-AI-main.zip"]
+[2026-07-17T13:51:49.882Z] startDragOut called for kind=image
+[2026-07-17T13:51:49.885Z] staged: file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrozxzi1-52gptauq.png, files=undefined
+[2026-07-17T13:51:49.886Z] dragIcon called for kind=image
+[2026-07-17T13:51:49.887Z] image drag requested: count=1. Returning custom image card stack icon!
+[2026-07-17T13:51:49.889Z] createFileStackDragIcon returning cached for stack|solid-black|image|1
+[2026-07-17T13:51:49.890Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:51:49.890Z] calling sender.startDrag with item.file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrozxzi1-52gptauq.png, item.files=undefined
+[2026-07-17T13:56:41.303Z] startDragOut called for kind=files
+[2026-07-17T13:56:41.304Z] staged: file=C:\Users\yadav\Downloads\Programming_and_Code\EdgeDrop.zip, files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\EdgeDrop.zip"]
+[2026-07-17T13:56:41.304Z] dragIcon called for kind=files
+[2026-07-17T13:56:41.305Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\EdgeDrop.zip"]
+[2026-07-17T13:56:41.307Z] createFileStackDragIcon returning cached for stack|solid-black|archive|1
+[2026-07-17T13:56:41.308Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:56:41.308Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\Programming_and_Code\EdgeDrop.zip, item.files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\EdgeDrop.zip"]
+[2026-07-17T13:56:55.236Z] startDragOut called for kind=files
+[2026-07-17T13:56:55.237Z] staged: file=C:\Users\yadav\Downloads\Programming_and_Code\smart-agri-advisor.zip, files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\smart-agri-advisor.zip"]
+[2026-07-17T13:56:55.237Z] dragIcon called for kind=files
+[2026-07-17T13:56:55.238Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\smart-agri-advisor.zip"]
+[2026-07-17T13:56:55.238Z] createFileStackDragIcon returning cached for stack|solid-black|archive|1
+[2026-07-17T13:56:55.238Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T13:56:55.239Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\Programming_and_Code\smart-agri-advisor.zip, item.files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\smart-agri-advisor.zip"]
+[2026-07-17T14:06:09.407Z] startDragOut called for kind=files
+[2026-07-17T14:06:09.408Z] staged: file=C:\Users\yadav\Downloads\Programming_and_Code\Readme-Architect-AI-main.zip, files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Readme-Architect-AI-main.zip"]
+[2026-07-17T14:06:09.408Z] dragIcon called for kind=files
+[2026-07-17T14:06:09.409Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Readme-Architect-AI-main.zip"]
+[2026-07-17T14:06:09.409Z] createFileStackDragIcon returning cached for stack|solid-black|archive|1
+[2026-07-17T14:06:09.409Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T14:06:09.410Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\Programming_and_Code\Readme-Architect-AI-main.zip, item.files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Readme-Architect-AI-main.zip"]
+[2026-07-17T14:06:30.372Z] startDragOut called for kind=files
+[2026-07-17T14:06:30.373Z] staged: file=C:\Users\yadav\Downloads\Programming_and_Code\Language-Agnostic-Chatbot-master.zip, files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Language-Agnostic-Chatbot-master.zip"]
+[2026-07-17T14:06:30.373Z] dragIcon called for kind=files
+[2026-07-17T14:06:30.374Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Language-Agnostic-Chatbot-master.zip"]
+[2026-07-17T14:06:30.375Z] createFileStackDragIcon returning cached for stack|solid-black|archive|1
+[2026-07-17T14:06:30.375Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T14:06:30.376Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\Programming_and_Code\Language-Agnostic-Chatbot-master.zip, item.files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Language-Agnostic-Chatbot-master.zip"]
+[2026-07-17T14:07:06.555Z] startDragOut called for kind=files
+[2026-07-17T14:07:06.556Z] staged: file=C:\Users\yadav\Downloads\Programming_and_Code\Language-Agnostic-Chatbot-master.zip, files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Language-Agnostic-Chatbot-master.zip"]
+[2026-07-17T14:07:06.557Z] dragIcon called for kind=files
+[2026-07-17T14:07:06.557Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Language-Agnostic-Chatbot-master.zip"]
+[2026-07-17T14:07:06.558Z] createFileStackDragIcon returning cached for stack|solid-black|archive|1
+[2026-07-17T14:07:06.558Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T14:07:06.559Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\Programming_and_Code\Language-Agnostic-Chatbot-master.zip, item.files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\Language-Agnostic-Chatbot-master.zip"]
+[2026-07-17T14:07:11.247Z] startDragOut called for kind=files
+[2026-07-17T14:07:11.247Z] staged: file=C:\Users\yadav\Downloads\Programming_and_Code\EdgeDrop.zip, files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\EdgeDrop.zip"]
+[2026-07-17T14:07:11.248Z] dragIcon called for kind=files
+[2026-07-17T14:07:11.249Z] files check: count=1, paths=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\EdgeDrop.zip"]
+[2026-07-17T14:07:11.249Z] createFileStackDragIcon returning cached for stack|solid-black|archive|1
+[2026-07-17T14:07:11.250Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T14:07:11.251Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\Programming_and_Code\EdgeDrop.zip, item.files=["C:\\Users\\yadav\\Downloads\\Programming_and_Code\\EdgeDrop.zip"]
+[2026-07-17T14:09:27.633Z] startDragOut called for kind=image
+[2026-07-17T14:09:27.635Z] staged: file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrp0ktpt-28ar9bag.png, files=undefined
+[2026-07-17T14:09:27.635Z] dragIcon called for kind=image
+[2026-07-17T14:09:27.636Z] image drag requested: count=1. Returning custom image card stack icon!
+[2026-07-17T14:09:27.637Z] createFileStackDragIcon returning cached for stack|solid-black|image|1
+[2026-07-17T14:09:27.637Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T14:09:27.638Z] calling sender.startDrag with item.file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrp0ktpt-28ar9bag.png, item.files=undefined
+[2026-07-17T14:09:30.225Z] startDragOut called for kind=image
+[2026-07-17T14:09:30.227Z] staged: file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrp0kcdu-o5bltqlq.png, files=undefined
+[2026-07-17T14:09:30.227Z] dragIcon called for kind=image
+[2026-07-17T14:09:30.228Z] image drag requested: count=1. Returning custom image card stack icon!
+[2026-07-17T14:09:30.228Z] createFileStackDragIcon returning cached for stack|solid-black|image|1
+[2026-07-17T14:09:30.229Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T14:09:30.230Z] calling sender.startDrag with item.file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrp0kcdu-o5bltqlq.png, item.files=undefined
+[2026-07-17T14:09:36.984Z] startDragOut called for kind=image
+[2026-07-17T14:09:36.985Z] staged: file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrp0kcdu-o5bltqlq.png, files=undefined
+[2026-07-17T14:09:36.986Z] dragIcon called for kind=image
+[2026-07-17T14:09:36.987Z] image drag requested: count=1. Returning custom image card stack icon!
+[2026-07-17T14:09:36.987Z] createFileStackDragIcon returning cached for stack|solid-black|image|1
+[2026-07-17T14:09:36.988Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T14:09:36.989Z] calling sender.startDrag with item.file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrp0kcdu-o5bltqlq.png, item.files=undefined
+[2026-07-17T14:10:22.246Z] startDragOut called for kind=image-collection
+[2026-07-17T14:10:22.249Z] staged: file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrp0kzdm-6yuavfxy.png, files=["C:\\Users\\yadav\\AppData\\Roaming\\edge-drop\\temp\\mrp0kzdm-6yuavfxy.png","C:\\Users\\yadav\\AppData\\Roaming\\edge-drop\\temp\\mrp0ktpt-28ar9bag.png"]
+[2026-07-17T14:10:22.250Z] dragIcon called for kind=image-collection
+[2026-07-17T14:10:22.251Z] image drag requested: count=2. Returning custom image card stack icon!
+[2026-07-17T14:10:22.252Z] createFileStackDragIcon calling Resvg for count=2
+[2026-07-17T14:10:22.667Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T14:10:22.668Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T14:10:22.670Z] calling sender.startDrag with item.file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrp0kzdm-6yuavfxy.png, item.files=["C:\\Users\\yadav\\AppData\\Roaming\\edge-drop\\temp\\mrp0kzdm-6yuavfxy.png","C:\\Users\\yadav\\AppData\\Roaming\\edge-drop\\temp\\mrp0ktpt-28ar9bag.png"]
+[2026-07-17T14:10:23.945Z] startDragOut called for kind=image
+[2026-07-17T14:10:23.948Z] staged: file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrp0jimh-m2zojuay.png, files=undefined
+[2026-07-17T14:10:23.949Z] dragIcon called for kind=image
+[2026-07-17T14:10:23.950Z] image drag requested: count=1. Returning custom image card stack icon!
+[2026-07-17T14:10:23.951Z] createFileStackDragIcon returning cached for stack|solid-black|image|1
+[2026-07-17T14:10:23.952Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}
+[2026-07-17T14:10:23.952Z] calling sender.startDrag with item.file=C:\Users\yadav\AppData\Roaming\edge-drop\temp\mrp0jimh-m2zojuay.png, item.files=undefined
diff --git a/electron/main/geometry.ts b/electron/main/geometry.ts
index 99655e8..0f934cb 100644
--- a/electron/main/geometry.ts
+++ b/electron/main/geometry.ts
@@ -1,4 +1,4 @@
-export type StickPosition = 'left' | 'right' | 'top'
+export type StickPosition = 'left' | 'right'
export interface DisplayInfo {
id: number
@@ -23,7 +23,7 @@ export interface StickBoundsResult {
}
export function computeStickBounds(params: StickBoundsParams): StickBoundsResult {
- const { position, displays, displayId, windowWidth, windowHeight, currentBounds } = params
+ const { position, displays, displayId, windowWidth, currentBounds } = params
let display: DisplayInfo | undefined
@@ -58,11 +58,7 @@ export function computeStickBounds(params: StickBoundsParams): StickBoundsResult
y = wa.y
height = wa.height
break
- case 'top':
- x = wa.x + Math.floor((wa.width - windowWidth) / 2)
- y = wa.y
- height = Math.min(Math.max(windowHeight, 320), wa.height)
- break
+
}
return { x, y, width, height, displayId: display.id }
diff --git a/electron/main/window.ts b/electron/main/window.ts
index 847f21c..041f4b3 100644
--- a/electron/main/window.ts
+++ b/electron/main/window.ts
@@ -28,7 +28,7 @@ import { APP_CONFIG } from './config'
import { runtime } from './config'
import { PATHS } from '../store/paths'
import { computeStickBounds } from './geometry'
-import { loadSettings, saveSettings } from '../store/settings'
+import { loadSettings } from '../store/settings'
export const PANEL_WIDTH = 384
/** Visual width of the blade when collapsed (only used by the renderer). */
@@ -129,34 +129,32 @@ export function startCursorPoll(): void {
if (runtime.quitting || !mainWindow || mainWindow.isDestroyed() || !mainWindow.isVisible()) return
const settings = loadSettings()
-
const pt = screen.getCursorScreenPoint()
- const display = screen.getDisplayNearestPoint(pt)
- // Only respond on the configured stick display (or any if none set).
- if (currentStickDisplayId !== undefined && display.id !== currentStickDisplayId) return
+ // Find the stick display (or fallback to primary)
+ const allDisplays = screen.getAllDisplays()
+ let stickDisplay = allDisplays.find(d => d.id === currentStickDisplayId)
+ if (!stickDisplay) {
+ stickDisplay = screen.getPrimaryDisplay()
+ }
- const wa = display.workArea
+ const wa = stickDisplay.workArea
- // Translate screen coords → window-client coords.
- // getCursorScreenPoint() returns physical pixels on Windows; workArea is
- // already in physical pixels when scaleFactor > 1 in Electron's screen API.
+ // Translate screen coords → stick display client coords.
const clientX = pt.x - wa.x
const clientY = pt.y - wa.y
// Guard against garbage values that Windows occasionally sends.
- if (clientX < -1000 || clientX > 10000 || clientY < -1000 || clientY > 10000) return
+ if (clientX < -5000 || clientX > 15000 || clientY < -5000 || clientY > 15000) return
let inEdge = false
switch (settings.stickPosition) {
case 'left':
- inEdge = clientX <= currentHotZoneWidth
+ inEdge = clientX >= -30 && clientX <= currentHotZoneWidth
break
case 'right':
- inEdge = (wa.width - clientX) <= currentHotZoneWidth
- break
- case 'top':
- inEdge = clientY <= currentHotZoneWidth && Math.abs(clientX - wa.width / 2) <= PANEL_WIDTH / 2
+ const distFromRight = wa.width - clientX
+ inEdge = distFromRight >= -30 && distFromRight <= currentHotZoneWidth
break
}
@@ -164,11 +162,9 @@ export function startCursorPoll(): void {
// Stream cursor position while near the edge (opening), while open (closing),
// or when edge state changes. The near-edge check adapts to stick position.
- const nearEdge = settings.stickPosition === 'top'
- ? clientY <= 450
- : settings.stickPosition === 'right'
- ? (wa.width - clientX) <= 450
- : clientX <= 450
+ const nearEdge = settings.stickPosition === 'right'
+ ? (wa.width - clientX) <= 450
+ : clientX <= 450
if (nearEdge || interactive || newState !== lastEdgeState) {
lastEdgeState = newState
if (!mainWindow.webContents.isDestroyed()) {
@@ -201,9 +197,7 @@ function getStickGeometry(): { x: number; y: number; width: number; height: numb
}))
const primaryHeight = screen.getPrimaryDisplay().workArea.height
- const windowHeight = settings.stickPosition === 'top'
- ? Math.max(320, Math.round(settings.panelHeight * primaryHeight))
- : primaryHeight
+ const windowHeight = primaryHeight
const result = computeStickBounds({
position: settings.stickPosition,
@@ -214,10 +208,6 @@ function getStickGeometry(): { x: number; y: number; width: number; height: numb
currentBounds: getMainWindow()?.getBounds()
})
- if (result.displayId !== settings.stickDisplayId) {
- saveSettings({ stickDisplayId: result.displayId })
- }
-
currentStickDisplayId = result.displayId
return { x: result.x, y: result.y, width: result.width, height: result.height }
}
@@ -259,32 +249,9 @@ export function createWindow(): BrowserWindow {
mainWindow.setIgnoreMouseEvents(true, { forward: false })
// Keep the panel glued to the primary display if the work area changes.
- screen.on('display-metrics-changed', () => {
- if (!mainWindow?.isVisible()) return
- const g = getStickGeometry()
- mainWindow.setBounds({ ...g })
- if (detectorWindow && !detectorWindow.isDestroyed()) {
- detectorWindow.setBounds(getDetectorBounds(g, loadSettings().stickPosition))
- }
- })
-
- screen.on('display-added', () => {
- if (!mainWindow?.isVisible()) return
- const g = getStickGeometry()
- mainWindow.setBounds({ ...g })
- if (detectorWindow && !detectorWindow.isDestroyed()) {
- detectorWindow.setBounds(getDetectorBounds(g, loadSettings().stickPosition))
- }
- })
-
- screen.on('display-removed', () => {
- if (!mainWindow?.isVisible()) return
- const g = getStickGeometry()
- mainWindow.setBounds({ ...g })
- if (detectorWindow && !detectorWindow.isDestroyed()) {
- detectorWindow.setBounds(getDetectorBounds(g, loadSettings().stickPosition))
- }
- })
+ screen.on('display-metrics-changed', repositionWindow)
+ screen.on('display-added', () => setTimeout(repositionWindow, 500))
+ screen.on('display-removed', () => setTimeout(repositionWindow, 500))
// Respect OS-level always-on-top reordering.
mainWindow.on('focus', () => {
diff --git a/public/E_d_Black logo.png b/public/E_d_Black logo.png
deleted file mode 100644
index d20897f..0000000
Binary files a/public/E_d_Black logo.png and /dev/null differ
diff --git a/public/E_d_White logo.png b/public/E_d_White logo.png
deleted file mode 100644
index 8ea700c..0000000
Binary files a/public/E_d_White logo.png and /dev/null differ
diff --git a/shared/types.ts b/shared/types.ts
index c3cc44f..b4ef805 100644
--- a/shared/types.ts
+++ b/shared/types.ts
@@ -61,7 +61,7 @@ export interface ClipboardItemDto extends Omit<ClipboardItem, 'data'> {
/** Section the renderer groups items into. */
export type ItemSection = 'pinned' | 'shelf'
-export type StickPosition = 'left' | 'right' | 'top'
+export type StickPosition = 'left' | 'right'
export interface DisplayInfo {
id: number
diff --git a/src/components/Panel.tsx b/src/components/Panel.tsx
index ff23e0f..5be582c 100644
--- a/src/components/Panel.tsx
+++ b/src/components/Panel.tsx
@@ -159,11 +159,9 @@ export function Panel() {
}
const isRight = settings.stickPosition === 'right'
- const isTop = settings.stickPosition === 'top'
let containerClass = 'blade-container'
if (isRight) containerClass += ' blade-right'
- if (isTop) containerClass += ' blade-top'
const containerStyle: Record<string, unknown> = {
position: 'absolute',
@@ -173,14 +171,7 @@ export function Panel() {
let originX = 0
let originY = 0.5
- if (isTop) {
- containerStyle.top = 0
- containerStyle.left = 0
- containerStyle.right = 0
- containerStyle.y = 0
- originX = 0.5
- originY = 0
- } else if (isRight) {
+ if (isRight) {
containerStyle.top = topOffset
containerStyle.y = '-50%'
containerStyle.right = 0
@@ -193,17 +184,12 @@ export function Panel() {
containerStyle.originX = originX
containerStyle.originY = originY
- const PANEL_WIDE = 270
- const panelHalfW = PANEL_WIDE / 2
+
// Set clipPath via style (not animate) to avoid Framer Motion's broken
// calc() interpolation — CSS transitions handle it correctly.
let clipPath: string
- if (isTop) {
- clipPath = open
- ? 'inset(calc(0% - 100px) calc(0% - 100px) calc(0% - 100px) calc(0% - 100px) round 0px 0px 24px 24px)'
- : `inset(0px calc(50% - ${panelHalfW}px) calc(100% - ${settings.hotZoneWidth || 3}px) calc(50% - ${panelHalfW}px) round 0px 0px 24px 24px)`
- } else if (isRight) {
+ if (isRight) {
clipPath = open
? 'inset(calc(0% - 100px) 0px calc(0% - 100px) calc(0% - 100px) round 24px 0px 0px 24px)'
: `inset(calc(50% - ${halfTrigger}px) 0px calc(50% - ${halfTrigger}px) calc(100% - ${settings.hotZoneWidth || 3}px) round 24px 0px 0px 24px)`
@@ -239,35 +225,33 @@ export function Panel() {
}
}}
>
- {!isTop ? (
- isRight ? (
- <>
- <div className="flare-top flare-right">
- <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M 30 0 L 30 30 L 0 30 A 30 30 0 0 0 30 0 Z" fill="#000000" />
- </svg>
- </div>
- <div className="flare-bottom flare-right">
- <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M 30 30 L 30 0 L 0 0 A 30 30 0 0 1 30 30 Z" fill="#000000" />
- </svg>
- </div>
- </>
- ) : (
- <>
- <div className="flare-top">
- <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M 0 0 L 0 30 L 30 30 A 30 30 0 0 1 0 0 Z" fill="#000000" />
- </svg>
- </div>
- <div className="flare-bottom">
- <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M 0 30 L 0 0 L 30 0 A 30 30 0 0 0 0 30 Z" fill="#000000" />
- </svg>
- </div>
- </>
- )
- ) : null}
+ {isRight ? (
+ <>
+ <div className="flare-top flare-right">
+ <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M 30 0 L 30 30 L 0 30 A 30 30 0 0 0 30 0 Z" fill="#000000" />
+ </svg>
+ </div>
+ <div className="flare-bottom flare-right">
+ <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M 30 30 L 30 0 L 0 0 A 30 30 0 0 1 30 30 Z" fill="#000000" />
+ </svg>
+ </div>
+ </>
+ ) : (
+ <>
+ <div className="flare-top">
+ <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M 0 0 L 0 30 L 30 30 A 30 30 0 0 1 0 0 Z" fill="#000000" />
+ </svg>
+ </div>
+ <div className="flare-bottom">
+ <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M 0 30 L 0 0 L 30 0 A 30 30 0 0 0 0 30 Z" fill="#000000" />
+ </svg>
+ </div>
+ </>
+ )}
<div
ref={bladeRef}
className="blade"
@@ -280,9 +264,9 @@ export function Panel() {
{settingsOpen ? (
<motion.div
key="settings"
- initial={{ opacity: 0, [isTop ? 'y' : 'x']: isTop ? -10 : (isRight ? -10 : 10) }}
+ initial={{ opacity: 0, x: isRight ? -10 : 10 }}
animate={{ opacity: 1, x: 0, y: 0 }}
- exit={{ opacity: 0, [isTop ? 'y' : 'x']: isTop ? 10 : (isRight ? 10 : -10) }}
+ exit={{ opacity: 0, x: isRight ? 10 : -10 }}
transition={{ duration: 0.15 }}
style={{ flex: 1, display: 'flex', flexDirection: 'column', overflow: 'hidden', position: 'relative' }}
>
@@ -293,9 +277,9 @@ export function Panel() {
) : (
<motion.div
key="list"
- initial={{ opacity: 0, [isTop ? 'y' : 'x']: isTop ? 10 : (isRight ? 10 : -10) }}
+ initial={{ opacity: 0, x: isRight ? 10 : -10 }}
animate={{ opacity: 1, x: 0, y: 0 }}
- exit={{ opacity: 0, [isTop ? 'y' : 'x']: isTop ? -10 : (isRight ? -10 : 10) }}
+ exit={{ opacity: 0, x: isRight ? -10 : 10 }}
transition={{ duration: 0.15 }}
style={{ flex: 1, display: 'flex', flexDirection: 'column', overflow: 'hidden', position: 'relative' }}
>
@@ -323,7 +307,7 @@ export function Panel() {
)}
</AnimatePresence>
<DropOverlay />
- <SplitDropZone isRight={isRight} isTop={isTop} />
+ <SplitDropZone isRight={isRight} />
</div>
</motion.div>
</div>
@@ -411,7 +395,7 @@ function DropOverlay() {
)
}
-function SplitDropZone({ isRight = false, isTop = false }: { isRight?: boolean; isTop?: boolean }) {
+function SplitDropZone({ isRight = false }: { isRight?: boolean }) {
const internalDragReq = useStore((s) => s.internalDragReq)
const isSubitemDragging = !!(
internalDragReq &&
@@ -437,11 +421,15 @@ function SplitDropZone({ isRight = false, isTop = false }: { isRight?: boolean;
onDragOver={(e) => e.preventDefault()}
onDragEnter={handleDragEnter}
onDragLeave={handleDragLeave}
- initial={{ opacity: 0, [isTop ? 'y' : 'x']: isTop ? -15 : (isRight ? 15 : -15) }}
- animate={{ opacity: 1, x: 0, y: 0 }}
- exit={{ opacity: 0, [isTop ? 'y' : 'x']: isTop ? -15 : (isRight ? 15 : -15) }}
+ initial={{ opacity: 0, x: isRight ? 15 : -15 }}
+ animate={{ opacity: 1, x: 0 }}
+ exit={{ opacity: 0, x: isRight ? 15 : -15 }}
transition={{ type: 'spring', stiffness: 350, damping: 25 }}
- style={isTop ? {} : { y: '-50%' }}
+ style={{
+ left: isRight ? 'auto' : 0,
+ right: isRight ? 0 : 'auto',
+ justifyContent: isRight ? 'flex-end' : 'flex-start'
+ }}
>
<div className="glow-line" />
</motion.div>
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index e7beb74..86f38ae 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -184,8 +184,7 @@ export function Settings() {
<div className="setting-pills">
{[
{ label: 'Left', val: 'left' as const },
- { label: 'Right', val: 'right' as const },
- { label: 'Top', val: 'top' as const }
+ { label: 'Right', val: 'right' as const }
].map((opt) => (
<button
key={opt.label}
diff --git a/src/hooks/useEdgeHover.ts b/src/hooks/useEdgeHover.ts
index 40e4964..50cdf73 100644
--- a/src/hooks/useEdgeHover.ts
+++ b/src/hooks/useEdgeHover.ts
@@ -36,6 +36,7 @@ const PANEL_WIDE = 270 // blade is 270px (var(--panel-width))
*/
const KEEP_OPEN_PX = PANEL_WIDE - 15 // 255 — clearly inside blade
const START_CLOSE_PX = PANEL_WIDE + 20 // 290 — 20px buffer outside the visual boundary
+const BUFFER_PX = 30 // 30px overshoot buffer across adjacent monitors
export const PANEL_LEAVE_EVENT = 'panel:leave'
export const PANEL_ENTER_EVENT = 'panel:enter'
@@ -151,17 +152,14 @@ export function useEdgeHover(): void {
// if the last known pointer position is genuinely outside the blade.
const isInsideBlade = () => {
const { x, y } = lastClient.current
- if (x < 0 || y < 0) return true // unknown — be conservative, don't close
+ if (x < -BUFFER_PX || y < 0) return true // unknown — be conservative, don't close
const s = settingsRef.current
- if (s.stickPosition === 'top') {
- const bladeH = (s.panelHeight || 0.5) * window.innerHeight
- return y <= bladeH && x >= (window.innerWidth - PANEL_WIDE) / 2 && x <= (window.innerWidth + PANEL_WIDE) / 2
- }
+
if (s.stickPosition === 'right') {
- return x >= window.innerWidth - PANEL_WIDE
+ return x >= window.innerWidth - PANEL_WIDE - BUFFER_PX && x <= window.innerWidth + BUFFER_PX
}
// left
- return x <= PANEL_WIDE
+ return x >= -BUFFER_PX && x <= PANEL_WIDE + BUFFER_PX
}
const onPanelLeave = () => {
@@ -184,13 +182,12 @@ export function useEdgeHover(): void {
lastClient.current = { x: data.x, y: data.y }
const { stickPosition, displayWidth } = data
const { top, bottom, midY, panelHalfH } = zone.current
- const centerX = displayWidth / 2
- const panelHalfW = PANEL_WIDE / 2
+
switch (stickPosition) {
case 'right': {
const distFromRight = displayWidth - data.x
- const inEdge = distFromRight <= TRIGGER_PX
+ const inEdge = distFromRight >= -BUFFER_PX && distFromRight <= TRIGGER_PX
const inZone = data.y >= top && data.y <= bottom
if (inEdge && inZone && !openRef.current) {
@@ -219,64 +216,22 @@ export function useEdgeHover(): void {
const insideY = data.y >= midY - panelHalfH && data.y <= midY + panelHalfH
- if (distFromRight <= KEEP_OPEN_PX && insideY) {
+ if (distFromRight >= -BUFFER_PX && distFromRight <= KEEP_OPEN_PX && insideY) {
cancelClose()
return
}
- if (distFromRight > START_CLOSE_PX || !insideY) {
+ if (distFromRight > START_CLOSE_PX || distFromRight < -BUFFER_PX || !insideY) {
scheduleClose()
}
break
}
- case 'top': {
- const inEdge = data.y <= TRIGGER_PX
- const inZone = data.x >= centerX - panelHalfW && data.x <= centerX + panelHalfW
-
- if (inEdge && inZone && !openRef.current) {
- cancelClose()
- if (dwellTimer === undefined) {
- dwellTimer = window.setTimeout(() => {
- dwellTimer = undefined
- openPanel()
- }, DWELL_MS)
- }
- return
- }
-
- if (dwellTimer !== undefined) {
- window.clearTimeout(dwellTimer)
- dwellTimer = undefined
- }
-
- if (!openRef.current) return
-
- const now = Date.now()
- if (now - lastSetInteractiveRef.current > 2000) {
- lastSetInteractiveRef.current = now
- edge.setInteractive(true)
- }
-
- const insideX = data.x >= centerX - panelHalfW && data.x <= centerX + panelHalfW
- const bladeH = (settingsRef.current.panelHeight || 0.5) * data.displayHeight
- const keepOpenY = bladeH - 15
- const startCloseY = bladeH + 20
-
- if (data.y <= keepOpenY && insideX) {
- cancelClose()
- return
- }
- if (data.y > startCloseY || !insideX) {
- scheduleClose()
- }
- break
- }
// left
default: {
- const inEdge = data.x <= TRIGGER_PX
+ const inEdge = data.x >= -BUFFER_PX && data.x <= TRIGGER_PX
const inZone = data.y >= top && data.y <= bottom
if (inEdge && inZone && !openRef.current) {
@@ -305,12 +260,12 @@ export function useEdgeHover(): void {
const insideY = data.y >= midY - panelHalfH && data.y <= midY + panelHalfH
- if (data.x <= KEEP_OPEN_PX && insideY) {
+ if (data.x >= -BUFFER_PX && data.x <= KEEP_OPEN_PX && insideY) {
cancelClose()
return
}
- if (data.x > START_CLOSE_PX || !insideY) {
+ if (data.x > START_CLOSE_PX || data.x < -BUFFER_PX || !insideY) {
scheduleClose()
}
break
diff --git a/src/styles/item.css b/src/styles/item.css
index 8293535..b4ef739 100644
--- a/src/styles/item.css
+++ b/src/styles/item.css
@@ -501,11 +501,9 @@
.split-dropzone {
position: absolute;
- left: 0;
- top: 50%;
- transform: translateY(-50%);
+ top: 0;
+ bottom: 0;
width: 80px;
- height: 360px;
z-index: 110;
display: flex;
align-items: center;
@@ -515,7 +513,8 @@
.split-dropzone .glow-line {
width: 2px;
- height: 280px;
+ height: 60%;
+ max-height: 280px;
background: linear-gradient(to bottom, transparent, rgba(249, 115, 22, 0.85), transparent);
border-radius: 9999px;
box-shadow: 0 0 16px rgba(249, 115, 22, 0.4);
@@ -530,7 +529,8 @@
.split-dropzone.active .glow-line {
width: 3.5px;
- height: 330px;
+ height: 72%;
+ max-height: 340px;
background: linear-gradient(to bottom, transparent, #f97316, transparent);
box-shadow: 0 0 24px rgba(249, 115, 22, 0.9), 0 0 40px rgba(249, 115, 22, 0.5);
}
diff --git a/tests/geometry.test.ts b/tests/geometry.test.ts
index 78e55d8..4a52afb 100644
--- a/tests/geometry.test.ts
+++ b/tests/geometry.test.ts
@@ -43,16 +43,7 @@ describe('computeStickBounds', () => {
expect(result).toEqual({ x: -384, y: 0, width: 384, height: 1080, displayId: 3 })
})
- it('sticks to top edge of display with negative y', () => {
- const result = computeStickBounds({
- position: 'top',
- displays: [primary, secondaryNegY],
- displayId: 4,
- windowWidth: 384,
- windowHeight: 600
- })
- expect(result).toEqual({ x: 768, y: -1080, width: 384, height: 600, displayId: 4 })
- })
+
it('falls back to nearest display when saved display is missing', () => {
const result = computeStickBounds({