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.
TypeScript clipboardclipboard-managerdesktop-appdrag-and-dropelectronopen-sourceproductivityproductivity-toolwindows
include monitor model name in display labels
Khiem Nguyenac1bb7286de5
diff --git a/drag_debug.txt b/drag_debug.txtindex bffc5a2..2480864 100644--- a/drag_debug.txt+++ b/drag_debug.txt@@ -3475,3 +3475,9 @@[2026-07-16T07:43:56.022Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}[2026-07-16T07:43:56.022Z] createFileStackDragIcon calling Resvg for count=1[2026-07-16T07:43:56.766Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}+[2026-07-16T07:45:44.275Z] createFileStackDragIcon calling Resvg for count=1+[2026-07-16T07:45:44.956Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}+[2026-07-16T07:45:44.957Z] createFileStackDragIcon calling Resvg for count=1+[2026-07-16T07:45:45.606Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}+[2026-07-16T07:45:45.606Z] createFileStackDragIcon calling Resvg for count=1+[2026-07-16T07:45:46.216Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}diff --git a/electron/main/ipc.ts b/electron/main/ipc.tsindex fc12603..4091dc4 100644--- a/electron/main/ipc.ts+++ b/electron/main/ipc.ts@@ -458,14 +458,17 @@ export function registerIpc(): void {handle('displays:list', () => {const all = screen.getAllDisplays()const primary = screen.getPrimaryDisplay()- return all.map((d, i) => ({- id: d.id,- bounds: { x: d.bounds.x, y: d.bounds.y, width: d.bounds.width, height: d.bounds.height },- isPrimary: d.id === primary.id,- label: d.id === primary.id- ? `Screen ${i + 1} (Primary) ${d.bounds.width}×${d.bounds.height}`- : `Screen ${i + 1} ${d.bounds.width}×${d.bounds.height}`- }))+ return all.map((d) => {+ const name = (d as any).label || (d.id === primary.id ? 'Primary' : `Display #${d.id}`)+ return {+ id: d.id,+ bounds: { x: d.bounds.x, y: d.bounds.y, width: d.bounds.width, height: d.bounds.height },+ isPrimary: d.id === primary.id,+ label: d.id === primary.id+ ? `${name} (Primary) ${d.bounds.width}×${d.bounds.height}`+ : `${name} ${d.bounds.width}×${d.bounds.height}`+ }+ })})}diff --git a/electron/main/tray.ts b/electron/main/tray.tsindex 6aa69a6..5a55b2e 100644--- a/electron/main/tray.ts+++ b/electron/main/tray.ts@@ -60,18 +60,21 @@ export function createTray(): Tray {function buildDisplaySubmenu(currentId: number | undefined): Electron.MenuItemConstructorOptions[] {const all = screen.getAllDisplays()const primary = screen.getPrimaryDisplay()- return all.map((d, i) => ({- label: d.id === primary.id- ? `Screen ${i + 1} (Primary) ${d.bounds.width}×${d.bounds.height}`- : `Screen ${i + 1} ${d.bounds.width}×${d.bounds.height}`,- type: 'radio' as const,- checked: currentId === d.id,- click: () => {- const next = saveSettings({ stickDisplayId: d.id })- pushState.settings(next)- repositionWindow()+ return all.map((d) => {+ const name = (d as any).label || (d.id === primary.id ? 'Primary' : `Display #${d.id}`)+ return {+ label: d.id === primary.id+ ? `${name} (Primary) ${d.bounds.width}×${d.bounds.height}`+ : `${name} ${d.bounds.width}×${d.bounds.height}`,+ type: 'radio' as const,+ checked: currentId === d.id,+ click: () => {+ const next = saveSettings({ stickDisplayId: d.id })+ pushState.settings(next)+ repositionWindow()+ }}- }))+ })}function buildStickSubmenu(current: StickPosition): Electron.MenuItemConstructorOptions[] {