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.

feat(settings): hover Open Delay slider for edge activation

Deepender2562d30243779d
diff --git a/electron/store/settings.ts b/electron/store/settings.ts
index c619507..9bbe069 100644
--- a/electron/store/settings.ts
+++ b/electron/store/settings.ts
@@ -6,7 +6,7 @@
* defaults so a bad field never takes the whole app down.
*/
import { readFileSync, writeFileSync, existsSync } from 'node:fs'
-import { DEFAULT_SETTINGS, isUpdateMode, type Settings } from '../../shared/types'
+import { DEFAULT_SETTINGS, isUpdateMode, normalizeHoverOpenDelay, type Settings } from '../../shared/types'
import { PATHS } from './paths'
let cache: Settings | null = null
@@ -18,6 +18,7 @@ function merge(base: Settings, patch: Partial<Settings>): Settings {
out.historyLimit = Math.min(2000, Math.max(50, Math.round(out.historyLimit)))
out.autoDeleteHours = Math.max(0, Number(out.autoDeleteHours) || 0)
out.verticalOffset = Math.min(1.0, Math.max(0.0, typeof out.verticalOffset === 'number' ? out.verticalOffset : 0.5))
+ out.hoverOpenDelay = normalizeHoverOpenDelay(out.hoverOpenDelay)
if (out.uiStyle !== 'modern' && out.uiStyle !== 'compact') {
out.uiStyle = 'modern'
}
diff --git a/shared/types.ts b/shared/types.ts
index fa860a0..1d7757b 100644
--- a/shared/types.ts
+++ b/shared/types.ts
@@ -11,6 +11,21 @@
/** Maximum number of sub-items that may live in a single stack/bundle. */
export const MAX_STACK = 10
+/**
+ * Hover open-delay slider bounds (ms). 0 keeps today's behaviour; ~1s is the
+ * point where a hover response stops feeling connected to the gesture.
+ */
+export const HOVER_OPEN_DELAY_MIN = 0
+export const HOVER_OPEN_DELAY_MAX = 1000
+export const HOVER_OPEN_DELAY_STEP = 50
+
+/** Clamp and snap a stored delay to the slider grid; anything invalid becomes 0. */
+export function normalizeHoverOpenDelay(value: unknown): number {
+ const n = typeof value === 'number' && Number.isFinite(value) ? value : 0
+ const snapped = Math.round(n / HOVER_OPEN_DELAY_STEP) * HOVER_OPEN_DELAY_STEP
+ return Math.min(HOVER_OPEN_DELAY_MAX, Math.max(HOVER_OPEN_DELAY_MIN, snapped))
+}
+
/** Update behavior mode. See Settings.updateMode. */
export type UpdateMode = 'auto' | 'notify' | 'off'
@@ -195,6 +210,12 @@ export interface Settings {
lastSeenChangelogVersion?: string
/** When true, hovering cursor near edge activates the panel. When false, panel opens exclusively via Alt + C. Default: true. */
hoverActivation?: boolean
+ /**
+ * Extra wait (ms) at the edge before a hover opens the shelf, on top of the
+ * built-in 40ms dwell. Hover only — hotkey/tray stay instant.
+ * Range HOVER_OPEN_DELAY_MIN..MAX in HOVER_OPEN_DELAY_STEP steps. Default: 0.
+ */
+ hoverOpenDelay?: number
/** Font size scale multiplier (0.85 = Small, 1.00 = Normal, 1.15 = Large). Default: 1.0. */
fontSizeScale?: number
/** When true, automatically checks for and downloads app updates in background. Default: true. Legacy: kept in sync from updateMode for downgrade safety. */
@@ -244,6 +265,7 @@ export const DEFAULT_SETTINGS: Settings = {
soundEffects: true,
lastSeenChangelogVersion: undefined,
hoverActivation: true,
+ hoverOpenDelay: 0,
fontSizeScale: 1.0,
autoUpdates: true,
updateMode: 'auto',
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index f6940a0..ffcfb5c 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -2,7 +2,13 @@ import { useEffect, useState, useRef, useLayoutEffect } from 'react'
import { motion, AnimatePresence } from 'framer-motion'
import { useStore } from '../store/appStore'
import type { DisplayInfo, UpdateMode } from '../../shared/types'
-import { resolveUpdateMode } from '../../shared/types'
+import {
+ resolveUpdateMode,
+ normalizeHoverOpenDelay,
+ HOVER_OPEN_DELAY_MIN,
+ HOVER_OPEN_DELAY_MAX,
+ HOVER_OPEN_DELAY_STEP
+} from '../../shared/types'
import {
LogoIndicatorIcon,
TickIndicatorIcon,
@@ -129,6 +135,104 @@ export function Settings({
patch({ hotZoneWidth: clamped })
}
+ // ── Hover open delay (shared by both layouts) ──────────────────────────
+ const hoverOn = settings.hoverActivation ?? true
+ const hoverDelay = normalizeHoverOpenDelay(settings.hoverOpenDelay)
+ const formatHoverDelay = (ms: number) =>
+ ms === 0 ? (t('behaviour.hoverDelayInstant') || 'Instant') : `${ms} ms`
+
+ const handleHoverDelayInput = (rawVal: number) => {
+ const next = normalizeHoverOpenDelay(rawVal)
+ if (next !== normalizeHoverOpenDelay(useStore.getState().settings.hoverOpenDelay)) {
+ playDialTickSound()
+ useStore.setState((s) => ({
+ settings: { ...s.settings, hoverOpenDelay: next }
+ }))
+ }
+ }
+
+ const handleHoverDelayRelease = (rawVal: number) => {
+ setSliderActive(false)
+ playDialTickSound()
+ patch({ hoverOpenDelay: normalizeHoverOpenDelay(rawVal) })
+ }
+
+ const renderHoverDelayCard = (layout: 'shelf' | 'stack') => {
+ const isShelf = layout === 'shelf'
+ return (
+ <div
+ className={isShelf ? 'settings-shelf-card hover-delay-card behaviour-col' : 'setting-card'}
+ style={{ opacity: hoverOn ? 1 : 0.45, transition: 'opacity 0.2s ease' }}
+ >
+ <div className="shelf-card-top">
+ <div className="setting-group-label">{t('groups.hoverDelay') || 'HOVER DELAY'}</div>
+ <div className="setting-slider-header" style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', width: '100%' }}>
+ <div>
+ <div className="setting-title">{t('behaviour.hoverDelayTitle') || 'Open Delay'}</div>
+ <div className="setting-desc">
+ {hoverOn ? (t('behaviour.hoverDelayDesc') || 'Wait this long at the edge before the shelf slides open') : t('behaviour.disabledHoverOff')}
+ </div>
+ </div>
+ <div
+ className="setting-slider-val"
+ style={isShelf ? { flexShrink: 0, padding: '2px 8px', fontSize: 11, fontWeight: 600, borderRadius: 6 } : { flexShrink: 0 }}
+ >
+ {formatHoverDelay(hoverDelay)}
+ </div>
+ </div>
+ </div>
+ <div className="shelf-card-bottom">
+ <div className="setting-slider-wrap" style={isShelf ? { gap: 4, padding: '2px 0' } : undefined}>
+ <WakeSlider
+ ariaLabel={t('behaviour.hoverDelayTitle') || 'Open Delay'}
+ min={HOVER_OPEN_DELAY_MIN}
+ max={HOVER_OPEN_DELAY_MAX}
+ step={HOVER_OPEN_DELAY_STEP}
+ bars={28}
+ height={28}
+ restHeight={8}
+ gap={3}
+ value={hoverDelay}
+ disabled={!hoverOn}
+ onStart={() => {
+ void window.edge.setInteractive(true)
+ setSliderActive(true)
+ }}
+ onRelease={(val) => {
+ handleHoverDelayRelease(val)
+ }}
+ onChange={(val) => {
+ handleHoverDelayInput(val)
+ }}
+ />
+ <div className="setting-slider-labels" style={isShelf ? { marginTop: 2 } : undefined}>
+ {[HOVER_OPEN_DELAY_MIN, 500, HOVER_OPEN_DELAY_MAX].map((ms) => {
+ const active = hoverDelay === ms
+ return (
+ <button
+ key={ms}
+ type="button"
+ disabled={!hoverOn}
+ className={`slider-label-btn${active ? ' active' : ''}`}
+ style={isShelf ? { fontSize: 10, padding: '2px 8px' } : undefined}
+ onClick={() => {
+ if (hoverOn && !active) {
+ playDialTickSound()
+ patch({ hoverOpenDelay: ms })
+ }
+ }}
+ >
+ {formatHoverDelay(ms)}
+ </button>
+ )
+ })}
+ </div>
+ </div>
+ </div>
+ </div>
+ )
+ }
+
const [localInlineOpen, setLocalInlineOpen] = useState(false)
const isTutorial = inlineIndicatorStyle || (typeof window !== 'undefined' && window.location.hash.includes('onboarding'))
const isFlyoutActive = isTutorial ? localInlineOpen : styleFlyoutOpen
@@ -1015,6 +1119,9 @@ export function Settings({
</div>
</div>
+ {/* Card 4b: Hover Open Delay */}
+ {renderHoverDelayCard('shelf')}
+
{/* Card 5: Global Toggle Shortcut */}
<div className="settings-shelf-card hotkey-card behaviour-col">
<div className="shelf-card-top">
@@ -1742,6 +1849,9 @@ export function Settings({
</div>
</div>
+ {/* Card 4b: Hover Open Delay */}
+ {renderHoverDelayCard('stack')}
+
{/* Card 5: Global Toggle Shortcut */}
<div className="setting-card">
<div className="shelf-card-top">
diff --git a/src/hooks/useEdgeHover.ts b/src/hooks/useEdgeHover.ts
index 2f3d4cf..835ad0a 100644
--- a/src/hooks/useEdgeHover.ts
+++ b/src/hooks/useEdgeHover.ts
@@ -23,9 +23,10 @@
import { useEffect, useRef } from 'react'
import { edge } from '../lib/edge'
import { useStore } from '../store/appStore'
+import { normalizeHoverOpenDelay } from '../../shared/types'
const TRIGGER_PX = 3 // leftmost px that count as "the edge"
-const DWELL_MS = 40 // cursor must linger this long to open
+const DWELL_MS = 40 // cursor must linger this long to open (base; user delay adds on top)
const GRACE_MS = 250 // close delay after leaving
const PANEL_WIDE = 270 // blade is 270px (var(--panel-width))
/** Hysteresis thresholds for closing the panel.
@@ -39,6 +40,11 @@ const START_CLOSE_PX = PANEL_WIDE + 20 // 290 — 20px buffer outside the visual
const BUFFER_PX = 30 // 30px overshoot buffer across adjacent monitors
const PREVIEW_WIDE = 740 // Extended width when preview flyout is active
+/** Total dwell before a hover opens the shelf: base + the user's Open Delay setting. */
+function dwellMsFor(state: { settings: { hoverOpenDelay?: number } }): number {
+ return DWELL_MS + normalizeHoverOpenDelay(state.settings.hoverOpenDelay)
+}
+
export const PANEL_LEAVE_EVENT = 'panel:leave'
export const PANEL_ENTER_EVENT = 'panel:enter'
@@ -465,7 +471,7 @@ export function useEdgeHover(): void {
dwellTimer = window.setTimeout(() => {
dwellTimer = undefined
openPanel()
- }, DWELL_MS)
+ }, dwellMsFor(state))
}
return
}
@@ -533,7 +539,7 @@ export function useEdgeHover(): void {
dwellTimer = window.setTimeout(() => {
dwellTimer = undefined
openPanel()
- }, DWELL_MS)
+ }, dwellMsFor(state))
}
return
}
@@ -595,7 +601,7 @@ export function useEdgeHover(): void {
dwellTimer = window.setTimeout(() => {
dwellTimer = undefined
openPanel()
- }, DWELL_MS)
+ }, dwellMsFor(state))
}
return
}
diff --git a/src/i18n/translations.ts b/src/i18n/translations.ts
index e2c4b52..f0e5d4f 100644
--- a/src/i18n/translations.ts
+++ b/src/i18n/translations.ts
@@ -35,6 +35,9 @@ export interface TranslationKeys {
hoverActivationTitle: string
hoverActivationDescOn: string
hoverActivationDescOff: string
+ hoverDelayTitle?: string
+ hoverDelayDesc?: string
+ hoverDelayInstant?: string
toggleHotkeyTitle?: string
toggleHotkeyDesc?: string
hotkeyEdit?: string
@@ -329,6 +332,7 @@ export interface TranslationKeys {
startup?: string
privacy?: string
hoverActivation?: string
+ hoverDelay?: string
keyboardShortcut?: string
fullscreenProtection?: string
clipboardBehaviour?: string
@@ -580,6 +584,9 @@ export const en: TranslationKeys = {
"hoverActivationTitle": "Hover Activation",
"hoverActivationDescOn": "Slide open shelf when hovering cursor near screen edge",
"hoverActivationDescOff": "Hover trigger paused. Use {shortcut} to open",
+ "hoverDelayTitle": "Open Delay",
+ "hoverDelayDesc": "Wait this long at the edge before the shelf slides open",
+ "hoverDelayInstant": "Instant",
"toggleHotkeyTitle": "Global Toggle Shortcut",
"toggleHotkeyDesc": "Set custom key combination to open or close shelf from anywhere",
"disabledHoverOff": "Disabled because Hover Activation is turned off",
@@ -889,6 +896,7 @@ export const en: TranslationKeys = {
"startup": "STARTUP",
"privacy": "PRIVACY",
"hoverActivation": "HOVER ACTIVATION",
+ "hoverDelay": "HOVER DELAY",
"keyboardShortcut": "KEYBOARD SHORTCUT",
"fullscreenProtection": "FULLSCREEN PROTECTION",
"clipboardBehaviour": "CLIPBOARD BEHAVIOUR",
@@ -962,6 +970,9 @@ export const es: TranslationKeys = {
"hoverActivationTitle": "Activación al pasar el cursor",
"hoverActivationDescOn": "Deslizar para abrir el panel al acercar el cursor al borde de la pantalla",
"hoverActivationDescOff": "Activación en pausa. Usa Alt + C para abrir",
+ "hoverDelayTitle": "Retraso de apertura",
+ "hoverDelayDesc": "Tiempo de espera en el borde antes de que se abra el panel",
+ "hoverDelayInstant": "Instantáneo",
"disabledHoverOff": "Deshabilitado porque Activación al pasar el cursor está desactivada",
"fullscreenProtectionTitle": "Protección de pantalla completa",
"fullscreenProtectionDesc": "Pausar automáticamente el borde al jugar o ver vídeos a pantalla completa",
@@ -1259,6 +1270,7 @@ export const es: TranslationKeys = {
"startup": "INICIO",
"privacy": "PRIVACIDAD",
"hoverActivation": "ACTIVACIÓN POR DESPLAZAMIENTO",
+ "hoverDelay": "RETRASO AL PASAR EL CURSOR",
"keyboardShortcut": "ATAJO DE TECLADO",
"fullscreenProtection": "PROTECCIÓN DE PANTALLA COMPLETA",
"clipboardBehaviour": "COMPORTAMIENTO DEL PORTAPAPELES",
@@ -1332,6 +1344,9 @@ export const fr: TranslationKeys = {
"hoverActivationTitle": "Activation au survol",
"hoverActivationDescOn": "Faire glisser le panneau au survol du bord de l'écran",
"hoverActivationDescOff": "Déclencheur au survol en pause. Utiliser Alt + C pour ouvrir",
+ "hoverDelayTitle": "Délai d'ouverture",
+ "hoverDelayDesc": "Temps d'attente sur le bord avant l'ouverture du panneau",
+ "hoverDelayInstant": "Instantané",
"disabledHoverOff": "Désactivé car l'Activation au survol est désactivée",
"fullscreenProtectionTitle": "Protection plein écran",
"fullscreenProtectionDesc": "Suspendre automatiquement le survol du bord pendant les jeux ou les vidéos en plein écran",
@@ -1629,6 +1644,7 @@ export const fr: TranslationKeys = {
"startup": "DÉMARRAGE",
"privacy": "CONFIDENTIALITÉ",
"hoverActivation": "ACTIVATION AU SURVOL",
+ "hoverDelay": "DÉLAI DE SURVOL",
"keyboardShortcut": "RACCOURCI CLAVIER",
"fullscreenProtection": "PROTECTION PLEIN ÉCRAN",
"clipboardBehaviour": "COMPORTEMENT DU PRESSE-PAPIERS",
@@ -1702,6 +1718,9 @@ export const de: TranslationKeys = {
"hoverActivationTitle": "Aktivierung beim Darüberfahren",
"hoverActivationDescOn": "Ablage beim Darüberfahren am Bildschirmrand öffnen",
"hoverActivationDescOff": "Darüberfahren-Aktivierung pausiert. Alt + C zum Öffnen verwenden",
+ "hoverDelayTitle": "Öffnungsverzögerung",
+ "hoverDelayDesc": "So lange am Rand verweilen, bevor sich das Panel öffnet",
+ "hoverDelayInstant": "Sofort",
"disabledHoverOff": "Deaktiviert, weil Aktivierung beim Darüberfahren ausgeschaltet ist",
"fullscreenProtectionTitle": "Vollbildschutz",
"fullscreenProtectionDesc": "Rand-Hover bei Spielen oder Vollbildvideos automatisch pausieren",
@@ -1999,6 +2018,7 @@ export const de: TranslationKeys = {
"startup": "START",
"privacy": "DATENSCHUTZ",
"hoverActivation": "HOVER-AKTIVIERUNG",
+ "hoverDelay": "HOVER-VERZÖGERUNG",
"keyboardShortcut": "TASTATURKÜRZEL",
"fullscreenProtection": "VOLLBILDSCHUTZ",
"clipboardBehaviour": "ZWISCHENABLAGEVERHALTEN",
@@ -2072,6 +2092,9 @@ export const it: TranslationKeys = {
"hoverActivationTitle": "Attivazione al passaggio",
"hoverActivationDescOn": "Apri lo scaffale scorrendo col cursore vicino al bordo dello schermo",
"hoverActivationDescOff": "Attivazione al passaggio in pausa. Usa Alt + C per aprire",
+ "hoverDelayTitle": "Ritardo di apertura",
+ "hoverDelayDesc": "Tempo di attesa sul bordo prima che il pannello si apra",
+ "hoverDelayInstant": "Immediato",
"disabledHoverOff": "Disabilitato perché Attivazione al passaggio è disattivata",
"fullscreenProtectionTitle": "Protezione schermo intero",
"fullscreenProtectionDesc": "Sospendi automaticamente l'hover del bordo durante i giochi o i video a schermo intero",
@@ -2369,6 +2392,7 @@ export const it: TranslationKeys = {
"startup": "AVVIO",
"privacy": "PRIVACY",
"hoverActivation": "ATTIVAZIONE AL PASSAGGIO",
+ "hoverDelay": "RITARDO AL PASSAGGIO",
"keyboardShortcut": "SCORCIATOIA DA TASTIERA",
"fullscreenProtection": "PROTEZIONE SCHERMO INTERO",
"clipboardBehaviour": "COMPORTAMENTO DEGLI APPUNTI",
@@ -2442,6 +2466,9 @@ export const pt: TranslationKeys = {
"hoverActivationTitle": "Ativação ao passar o mouse",
"hoverActivationDescOn": "Abrir a prateleira deslizando ao passar o mouse perto da borda da tela",
"hoverActivationDescOff": "Ativação por hover em pausa. Use Alt + C para abrir",
+ "hoverDelayTitle": "Atraso de abertura",
+ "hoverDelayDesc": "Tempo de espera na borda antes de o painel abrir",
+ "hoverDelayInstant": "Instantâneo",
"disabledHoverOff": "Desativado porque Ativação ao passar o mouse está desligada",
"fullscreenProtectionTitle": "Proteção de tela cheia",
"fullscreenProtectionDesc": "Pausar automaticamente o hover da borda ao jogar ou assistir vídeos em tela cheia",
@@ -2739,6 +2766,7 @@ export const pt: TranslationKeys = {
"startup": "INICIALIZAÇÃO",
"privacy": "PRIVACIDADE",
"hoverActivation": "ATIVAÇÃO AO PASSAR O CURSOR",
+ "hoverDelay": "ATRASO AO PASSAR O CURSOR",
"keyboardShortcut": "ATALHO DE TECLADO",
"fullscreenProtection": "PROTEÇÃO DE TELA CHEIA",
"clipboardBehaviour": "COMPORTAMENTO DA ÁREA DE TRANSFERÊNCIA",
@@ -2812,6 +2840,9 @@ export const ru: TranslationKeys = {
"hoverActivationTitle": "Активация при наведении",
"hoverActivationDescOn": "Открывать полку при наведении курсора у края экрана",
"hoverActivationDescOff": "Активация наведением приостановлена. Нажмите Alt + C, чтобы открыть",
+ "hoverDelayTitle": "Задержка открытия",
+ "hoverDelayDesc": "Время ожидания у края экрана перед открытием панели",
+ "hoverDelayInstant": "Мгновенно",
"disabledHoverOff": "Отключено, поскольку активация при наведении выключена",
"fullscreenProtectionTitle": "Защита полноэкранного режима",
"fullscreenProtectionDesc": "Автоматически приостанавливать наведение у края во время игр или полноэкранных видео",
@@ -3109,6 +3140,7 @@ export const ru: TranslationKeys = {
"startup": "ЗАПУСК",
"privacy": "КОНФИДЕНЦИАЛЬНОСТЬ",
"hoverActivation": "АКТИВАЦИЯ ПРИ НАВЕДЕНИИ",
+ "hoverDelay": "ЗАДЕРЖКА НАВЕДЕНИЯ",
"keyboardShortcut": "СОЧЕТАНИЕ КЛАВИШ",
"fullscreenProtection": "ЗАЩИТА ПОЛНОЭКРАННОГО РЕЖИМА",
"clipboardBehaviour": "ПОВЕДЕНИЕ БУФЕРА ОБМЕНА",
@@ -3182,6 +3214,9 @@ export const ja: TranslationKeys = {
"hoverActivationTitle": "ホバーで開く",
"hoverActivationDescOn": "画面端にカーソルを合わせるとスライドして開きます",
"hoverActivationDescOff": "ホバートリガーは一時停止中です。開くには {shortcut} を使用してください",
+ "hoverDelayTitle": "開くまでの遅延",
+ "hoverDelayDesc": "画面端でこの時間待ってからパネルを開きます",
+ "hoverDelayInstant": "即時",
"toggleHotkeyTitle": "グローバルショートカット",
"toggleHotkeyDesc": "どこからでもシェルフを開閉できるカスタムキーの組み合わせを設定します",
"disabledHoverOff": "ホバーで開くが無効のため無効",
@@ -3479,6 +3514,7 @@ export const ja: TranslationKeys = {
"startup": "起動",
"privacy": "プライバシー",
"hoverActivation": "ホバーでの起動",
+ "hoverDelay": "ホバー遅延",
"keyboardShortcut": "キーボードショートカット",
"fullscreenProtection": "フルスクリーン保護",
"clipboardBehaviour": "クリップボードの動作",
@@ -3552,6 +3588,9 @@ export const ko: TranslationKeys = {
"hoverActivationTitle": "호버 활성화",
"hoverActivationDescOn": "화면 가장자리에 커서를 가까이 대면 선반이 열립니다",
"hoverActivationDescOff": "호버 트리거가 일시정지됨. Alt + C로 열기",
+ "hoverDelayTitle": "열림 지연",
+ "hoverDelayDesc": "가장자리에서 이 시간만큼 머문 후 패널이 열립니다",
+ "hoverDelayInstant": "즉시",
"disabledHoverOff": "호버 활성화가 꺼져 있어 비활성화됨",
"fullscreenProtectionTitle": "전체화면 보호",
"fullscreenProtectionDesc": "게임 중이거나 전체화면 영상 시청 시 가장자리 호버 자동 일시정지",
@@ -3849,6 +3888,7 @@ export const ko: TranslationKeys = {
"startup": "시작",
"privacy": "개인정보 보호",
"hoverActivation": "호버 활성화",
+ "hoverDelay": "호버 지연",
"keyboardShortcut": "키보드 단축키",
"fullscreenProtection": "전체 화면 보호",
"clipboardBehaviour": "클립보드 동작",
@@ -3922,6 +3962,9 @@ export const zhCN: TranslationKeys = {
"hoverActivationTitle": "悬停激活",
"hoverActivationDescOn": "光标靠近屏幕边缘时滑出打开搁架",
"hoverActivationDescOff": "悬停触发已暂停。使用 Alt + C 打开",
+ "hoverDelayTitle": "打开延迟",
+ "hoverDelayDesc": "在屏幕边缘停留此时长后再打开面板",
+ "hoverDelayInstant": "立即",
"disabledHoverOff": "已禁用,因为悬停激活已关闭",
"fullscreenProtectionTitle": "全屏保护",
"fullscreenProtectionDesc": "玩游戏或观看全屏视频时自动暂停边缘悬停",
@@ -4219,6 +4262,7 @@ export const zhCN: TranslationKeys = {
"startup": "启动",
"privacy": "隐私",
"hoverActivation": "悬停激活",
+ "hoverDelay": "悬停延迟",
"keyboardShortcut": "键盘快捷键",
"fullscreenProtection": "全屏保护",
"clipboardBehaviour": "剪贴板行为",
@@ -4292,6 +4336,9 @@ export const zhTW: TranslationKeys = {
"hoverActivationTitle": "懸停啟用",
"hoverActivationDescOn": "游標靠近螢幕邊緣時滑出開啟層架",
"hoverActivationDescOff": "懸停觸發已暫停。使用 Alt + C 開啟",
+ "hoverDelayTitle": "開啟延遲",
+ "hoverDelayDesc": "在螢幕邊緣停留此時長後再開啟面板",
+ "hoverDelayInstant": "立即",
"disabledHoverOff": "已停用,因為懸停啟用已關閉",
"fullscreenProtectionTitle": "全螢幕保護",
"fullscreenProtectionDesc": "玩遊戲或觀看全螢幕影片時自動暫停邊緣懸停",
@@ -4589,6 +4636,7 @@ export const zhTW: TranslationKeys = {
"startup": "啟動",
"privacy": "隱私",
"hoverActivation": "懸停啟動",
+ "hoverDelay": "懸停延遲",
"keyboardShortcut": "鍵盤快速鍵",
"fullscreenProtection": "全螢幕保護",
"clipboardBehaviour": "剪貼簿行為",
@@ -4662,6 +4710,9 @@ export const hi: TranslationKeys = {
"hoverActivationTitle": "होवर सक्रियण",
"hoverActivationDescOn": "स्क्रीन किनारे पर कर्सर होवर करने पर शेल्फ़ स्लाइड से खुले",
"hoverActivationDescOff": "होवर ट्रिगर रुका हुआ है। खोलने के लिए Alt + C दबाएँ",
+ "hoverDelayTitle": "खुलने में देरी",
+ "hoverDelayDesc": "पैनल खुलने से पहले किनारे पर इतनी देर रुकें",
+ "hoverDelayInstant": "तुरंत",
"disabledHoverOff": "अक्षम क्योंकि होवर सक्रियण बंद है",
"fullscreenProtectionTitle": "फुलस्क्रीन सुरक्षा",
"fullscreenProtectionDesc": "गेम खेलते समय या फुलस्क्रीन वीडियो देखते समय स्वचालित रूप से एज होवर रोकें",
@@ -4959,6 +5010,7 @@ export const hi: TranslationKeys = {
"startup": "स्टार्टअप",
"privacy": "गोपनीयता",
"hoverActivation": "होवर सक्रियण",
+ "hoverDelay": "होवर विलंब",
"keyboardShortcut": "कीबोर्ड शॉर्टकट",
"fullscreenProtection": "फ़ुलस्क्रीन सुरक्षा",
"clipboardBehaviour": "क्लिपबोर्ड व्यवहार",
@@ -5032,6 +5084,9 @@ export const ar: TranslationKeys = {
"hoverActivationTitle": "التنشيط بالتحويم",
"hoverActivationDescOn": "انزلاق الرف عند تحويم المؤشر قرب حافة الشاشة",
"hoverActivationDescOff": "تم إيقاف تشغيل التحويم. استخدم Alt + C للفتح",
+ "hoverDelayTitle": "تأخير الفتح",
+ "hoverDelayDesc": "مدة الانتظار عند الحافة قبل فتح اللوحة",
+ "hoverDelayInstant": "فوري",
"disabledHoverOff": "معطّل لأن التنشيط بالتحويم مطفأ",
"fullscreenProtectionTitle": "حماية ملء الشاشة",
"fullscreenProtectionDesc": "إيقاف تحويم الحافة تلقائياً أثناء الألعاب أو مقاطع الفيديو بملء الشاشة",
@@ -5329,6 +5384,7 @@ export const ar: TranslationKeys = {
"startup": "بدء التشغيل",
"privacy": "الخصوصية",
"hoverActivation": "التنشيط عند التمرير",
+ "hoverDelay": "تأخير التمرير",
"keyboardShortcut": "اختصار لوحة المفاتيح",
"fullscreenProtection": "حماية ملء الشاشة",
"clipboardBehaviour": "سلوك الحافظة",
@@ -5402,6 +5458,9 @@ export const fa: TranslationKeys = {
"hoverActivationTitle": "باز شدن با بردن ماوس به لبه",
"hoverActivationDescOn": "ماوس رو نزدیک لبه صفحه ببر تا قفسه باز بشه",
"hoverActivationDescOff": "باز شدن با ماوس خاموشه. با Alt + C بازش کن",
+ "hoverDelayTitle": "تأخیر باز شدن",
+ "hoverDelayDesc": "مدت توقف روی لبه پیش از باز شدن پنل",
+ "hoverDelayInstant": "فوری",
"disabledHoverOff": "چون باز شدن با ماوس خاموشه، این گزینه هم غیرفعاله",
"fullscreenProtectionTitle": "محافظت توی حالت تمام‌صفحه",
"fullscreenProtectionDesc": "موقع بازی یا دیدن ویدیوی تمام‌صفحه، باز شدن از لبه خودکار متوقف بشه",
@@ -5699,6 +5758,7 @@ export const fa: TranslationKeys = {
"startup": "راه‌اندازی",
"privacy": "حریم خصوصی",
"hoverActivation": "فعال‌سازی با شناور شدن",
+ "hoverDelay": "تأخیر شناوری",
"keyboardShortcut": "میانبر صفحه‌کلید",
"fullscreenProtection": "محافظت از تمام‌صفحه",
"clipboardBehaviour": "رفتار کلیپ‌بورد",
@@ -5772,6 +5832,9 @@ export const bn: TranslationKeys = {
"hoverActivationTitle": "হোভার অ্যাক্টিভেশন",
"hoverActivationDescOn": "স্ক্রিন প্রান্তে কার্সার হোভার করলে শেলফ স্লাইড করে খুলবে",
"hoverActivationDescOff": "হোভার ট্রিগার বিরতিতে। খুলতে Alt + C চাপুন",
+ "hoverDelayTitle": "খোলার বিলম্ব",
+ "hoverDelayDesc": "প্যানেল খোলার আগে প্রান্তে এতক্ষণ অপেক্ষা করুন",
+ "hoverDelayInstant": "তাৎক্ষণিক",
"disabledHoverOff": "অক্ষম কারণ হোভার অ্যাক্টিভেশন বন্ধ আছে",
"fullscreenProtectionTitle": "ফুলস্ক্রিন সুরক্ষা",
"fullscreenProtectionDesc": "গেম খেলা বা ফুলস্ক্রিন ভিডিও দেখার সময় স্বয়ংক্রিয়ভাবে এজ হোভার বিরতি দিন",
@@ -6069,6 +6132,7 @@ export const bn: TranslationKeys = {
"startup": "স্টার্টআপ",
"privacy": "গোপনীয়তা",
"hoverActivation": "হোভার সক্রিয়করণ",
+ "hoverDelay": "হোভার বিলম্ব",
"keyboardShortcut": "কীবোর্ড শর্টকাট",
"fullscreenProtection": "ফুলস্ক্রিন সুরক্ষা",
"clipboardBehaviour": "ক্লিপবোর্ড আচরণ",
@@ -6142,6 +6206,9 @@ export const tr: TranslationKeys = {
"hoverActivationTitle": "Üzerine Gelme Etkinleştirmesi",
"hoverActivationDescOn": "İmleç ekran kenarına yaklaşınca rafı kaydırarak aç",
"hoverActivationDescOff": "Üzerine gelme tetikleyicisi duraklatıldı. Açmak için Alt + C",
+ "hoverDelayTitle": "Açılma gecikmesi",
+ "hoverDelayDesc": "Panel açılmadan önce kenarda bu kadar bekleyin",
+ "hoverDelayInstant": "Anında",
"disabledHoverOff": "Üzerine Gelme Etkinleştirmesi kapalı olduğundan devre dışı",
"fullscreenProtectionTitle": "Tam Ekran Koruması",
"fullscreenProtectionDesc": "Oynarken veya tam ekran video izlerken kenar üzerinde gezinmeyi otomatik durdur",
@@ -6439,6 +6506,7 @@ export const tr: TranslationKeys = {
"startup": "BAŞLANGIÇ",
"privacy": "GİZLİLİK",
"hoverActivation": "ÜZERİNE GELMEYLE ETKİNLİK",
+ "hoverDelay": "ÜZERİNE GELME GECİKMESİ",
"keyboardShortcut": "KLAVYE KISAYOLU",
"fullscreenProtection": "TAM EKRAN KORUMASI",
"clipboardBehaviour": "PANO DAVRANIŞI",
@@ -6512,6 +6580,9 @@ export const vi: TranslationKeys = {
"hoverActivationTitle": "Kích hoạt khi di chuột",
"hoverActivationDescOn": "Trượt mở giá khi di chuột gần mép màn hình",
"hoverActivationDescOff": "Trình kích hoạt di chuột đã tạm dừng. Dùng Alt + C để mở",
+ "hoverDelayTitle": "Độ trễ mở",
+ "hoverDelayDesc": "Thời gian chờ ở cạnh màn hình trước khi bảng mở ra",
+ "hoverDelayInstant": "Tức thì",
"disabledHoverOff": "Đã tắt vì Kích hoạt khi di chuột đang tắt",
"fullscreenProtectionTitle": "Bảo vệ toàn màn hình",
"fullscreenProtectionDesc": "Tự động tạm dừng di chuột ở mép khi đang chơi game hoặc xem video toàn màn hình",
@@ -6809,6 +6880,7 @@ export const vi: TranslationKeys = {
"startup": "KHỞI ĐỘNG",
"privacy": "QUYỀN RIÊNG TƯ",
"hoverActivation": "KÍCH HOẠT KHI DI CHUỘT",
+ "hoverDelay": "ĐỘ TRỄ KHI DI CHUỘT",
"keyboardShortcut": "PHÍM TẮT BÀN PHÍM",
"fullscreenProtection": "BẢO VỆ TOÀN MÀN HÌNH",
"clipboardBehaviour": "HÀNH VI BẢNG NHỚ TẠM",
@@ -6882,6 +6954,9 @@ export const pl: TranslationKeys = {
"hoverActivationTitle": "Aktywacja najechaniem",
"hoverActivationDescOn": "Wysuń półkę po najechaniu kursorem blisko krawędzi ekranu",
"hoverActivationDescOff": "Wyzwalacz najechania wstrzymany. Użyj Alt + C, aby otworzyć",
+ "hoverDelayTitle": "Opóźnienie otwarcia",
+ "hoverDelayDesc": "Czas oczekiwania przy krawędzi przed otwarciem panelu",
+ "hoverDelayInstant": "Natychmiast",
"disabledHoverOff": "Wyłączone, ponieważ Aktywacja najechaniem jest wyłączona",
"fullscreenProtectionTitle": "Ochrona pełnego ekranu",
"fullscreenProtectionDesc": "Automatycznie wstrzymuj najechanie na krawędź podczas grania lub oglądania filmów na pełnym ekranie",
@@ -7179,6 +7254,7 @@ export const pl: TranslationKeys = {
"startup": "URUCHAMIANIE",
"privacy": "PRYWATNOŚĆ",
"hoverActivation": "AKTYWACJA PRZY NAJECHANIU",
+ "hoverDelay": "OPÓŹNIENIE NAJECHANIA",
"keyboardShortcut": "SKRÓT KLAWIATUROWY",
"fullscreenProtection": "OCHRONA PEŁNEGO EKRANU",
"clipboardBehaviour": "ZACHOWANIE SCHOWKA",
@@ -7252,6 +7328,9 @@ export const nl: TranslationKeys = {
"hoverActivationTitle": "Hover-activering",
"hoverActivationDescOn": "Plank openschuiven wanneer cursor dicht bij schermrand komt",
"hoverActivationDescOff": "Hover-trigger gepauzeerd. Gebruik Alt + C om te openen",
+ "hoverDelayTitle": "Openingsvertraging",
+ "hoverDelayDesc": "Zo lang aan de rand wachten voordat het paneel opent",
+ "hoverDelayInstant": "Direct",
"disabledHoverOff": "Uitgeschakeld omdat Hover-activering uit staat",
"fullscreenProtectionTitle": "Volledig scherm-bescherming",
"fullscreenProtectionDesc": "Rand-hover automatisch pauzeren tijdens games of volledig scherm-video's",
@@ -7549,6 +7628,7 @@ export const nl: TranslationKeys = {
"startup": "OPSTARTEN",
"privacy": "PRIVACY",
"hoverActivation": "ACTIVERING BIJ HOVEREN",
+ "hoverDelay": "ZWEEFVERTRAGING",
"keyboardShortcut": "TOETSENBORDSNELTOETS",
"fullscreenProtection": "VOLLEDIGSCHERMBESCHERMING",
"clipboardBehaviour": "KLEMBORDGEDRAG",
@@ -7622,6 +7702,9 @@ export const sv: TranslationKeys = {
"hoverActivationTitle": "Aktivering vid svävning",
"hoverActivationDescOn": "Skjut ut hyllan när markören svävar nära skärmkanten",
"hoverActivationDescOff": "Svävningsutlösare pausad. Använd Alt + C för att öppna",
+ "hoverDelayTitle": "Öppningsfördröjning",
+ "hoverDelayDesc": "Vänta så här länge vid kanten innan panelen öppnas",
+ "hoverDelayInstant": "Direkt",
"disabledHoverOff": "Inaktiverad eftersom Aktivering vid svävning är avstängt",
"fullscreenProtectionTitle": "Fullskärmskydd",
"fullscreenProtectionDesc": "Pausa automatiskt kantsvävning vid spel eller fullskärmsvideo",
@@ -7919,6 +8002,7 @@ export const sv: TranslationKeys = {
"startup": "START",
"privacy": "INTEGRITET",
"hoverActivation": "HOVRINGSAKTIVERING",
+ "hoverDelay": "HOVRINGSFÖRDRÖJNING",
"keyboardShortcut": "TANGENTBORDSGENVÄG",
"fullscreenProtection": "HELSKÄRMSSKYDD",
"clipboardBehaviour": "URKLIPPSBETEENDE",
@@ -7992,6 +8076,9 @@ export const id: TranslationKeys = {
"hoverActivationTitle": "Aktivasi Hover",
"hoverActivationDescOn": "Geser rak terbuka saat kursor hover di dekat tepi layar",
"hoverActivationDescOff": "Pemicu hover dijeda. Gunakan Alt + C untuk membuka",
+ "hoverDelayTitle": "Jeda pembukaan",
+ "hoverDelayDesc": "Lama menunggu di tepi layar sebelum panel terbuka",
+ "hoverDelayInstant": "Instan",
"disabledHoverOff": "Dinonaktifkan karena Aktivasi Hover dimatikan",
"fullscreenProtectionTitle": "Proteksi Layar Penuh",
"fullscreenProtectionDesc": "Jeda hover tepi secara otomatis saat bermain game atau menonton video layar penuh",
@@ -8289,6 +8376,7 @@ export const id: TranslationKeys = {
"startup": "STARTUP",
"privacy": "PRIVASI",
"hoverActivation": "AKTIVASI HOVER",
+ "hoverDelay": "JEDA ARAHKAN KURSOR",
"keyboardShortcut": "PINTASAN KEYBOARD",
"fullscreenProtection": "PERLINDUNGAN LAYAR PENUH",
"clipboardBehaviour": "PERILAKU CLIPBOARD",
@@ -8362,6 +8450,9 @@ export const uk: TranslationKeys = {
"hoverActivationTitle": "Активація при наведенні",
"hoverActivationDescOn": "Висувати полицю при наведенні курсора біля краю екрана",
"hoverActivationDescOff": "Тригер наведення призупинено. Натисніть Alt + C, щоб відкрити",
+ "hoverDelayTitle": "Затримка відкриття",
+ "hoverDelayDesc": "Час очікування біля краю екрана перед відкриттям панелі",
+ "hoverDelayInstant": "Миттєво",
"disabledHoverOff": "Вимкнено, оскільки активацію при наведенні вимкнено",
"fullscreenProtectionTitle": "Захист повного екрана",
"fullscreenProtectionDesc": "Автоматично призупиняти наведення на край під час ігор або перегляду повноекранних відео",
@@ -8659,6 +8750,7 @@ export const uk: TranslationKeys = {
"startup": "ЗАПУСК",
"privacy": "КОНФІДЕНЦІЙНІСТЬ",
"hoverActivation": "АКТИВАЦІЯ ПРИ НАВЕДЕННІ",
+ "hoverDelay": "ЗАТРИМКА НАВЕДЕННЯ",
"keyboardShortcut": "КЛАВІАТУРНИЙ ЯРЛИК",
"fullscreenProtection": "ЗАХИСТ ПОВНОЕКРАННОГО РЕЖИМУ",
"clipboardBehaviour": "ПОВЕДІНКА БУФЕРА ОБМІНУ",
@@ -8732,6 +8824,9 @@ export const el: TranslationKeys = {
"hoverActivationTitle": "Ενεργοποίηση με αιώρηση",
"hoverActivationDescOn": "Ολίσθηση ραφιού όταν ο κέρσορας αιωρείται κοντά στην άκρη της οθόνης",
"hoverActivationDescOff": "Η ενεργοποίηση με αιώρηση τέθηκε σε παύση. Πατήστε Alt + C για άνοιγμα",
+ "hoverDelayTitle": "Καθυστέρηση ανοίγματος",
+ "hoverDelayDesc": "Χρόνος αναμονής στην άκρη πριν ανοίξει ο πίνακας",
+ "hoverDelayInstant": "Άμεσα",
"disabledHoverOff": "Απενεργοποιημένο επειδή η Ενεργοποίηση με αιώρηση είναι κλειστή",
"fullscreenProtectionTitle": "Προστασία πλήρους οθόνης",
"fullscreenProtectionDesc": "Αυτόματη παύση αιώρησης άκρης κατά τη διάρκεια παιχνιδιών ή βίντεο πλήρους οθόνης",
@@ -9029,6 +9124,7 @@ export const el: TranslationKeys = {
"startup": "ΕΚΚΙΝΗΣΗ",
"privacy": "ΑΠΟΡΡΗΤΟ",
"hoverActivation": "ΕΝΕΡΓΟΠΟΙΗΣΗ ΜΕ ΑΙΩΡΗΣΗ",
+ "hoverDelay": "ΚΑΘΥΣΤΕΡΗΣΗ ΑΙΩΡΗΣΗΣ",
"keyboardShortcut": "ΣΥΝΤΟΜΕΥΣΗ ΠΛΗΚΤΡΟΛΟΓΙΟΥ",
"fullscreenProtection": "ΠΡΟΣΤΑΣΙΑ ΠΛΗΡΟΥΣ ΟΘΟΝΗΣ",
"clipboardBehaviour": "ΣΥΜΠΕΡΙΦΟΡΑ ΠΡΟΧΕΙΡΟΥ",
@@ -9102,6 +9198,9 @@ export const cs: TranslationKeys = {
"hoverActivationTitle": "Aktivace najetím",
"hoverActivationDescOn": "Vysunout policii při najetí kurzoru blízko okraje obrazovky",
"hoverActivationDescOff": "Spouštěč najetí pozastaven. Použijte Alt + C pro otevření",
+ "hoverDelayTitle": "Zpoždění otevření",
+ "hoverDelayDesc": "Jak dlouho čekat u okraje, než se panel otevře",
+ "hoverDelayInstant": "Okamžitě",
"disabledHoverOff": "Zakázáno, protože Aktivace najetím je vypnutá",
"fullscreenProtectionTitle": "Ochrana celé obrazovky",
"fullscreenProtectionDesc": "Automaticky pozastavit najíždění na okraj při hrách nebo sledování videa na celou obrazovku",
@@ -9399,6 +9498,7 @@ export const cs: TranslationKeys = {
"startup": "SPUŠTĚNÍ",
"privacy": "SOUKROMÍ",
"hoverActivation": "AKTIVACE NAJETÍM",
+ "hoverDelay": "ZPOŽDĚNÍ NAJETÍ",
"keyboardShortcut": "KLÁVESOVÁ ZKRATKA",
"fullscreenProtection": "OCHRANA CELOOBRAZOVKOVÉHO REŽIMU",
"clipboardBehaviour": "CHOVÁNÍ SCHRÁNKY",
@@ -9472,6 +9572,9 @@ export const ro: TranslationKeys = {
"hoverActivationTitle": "Activare la survol",
"hoverActivationDescOn": "Glisează raftul când cursorul survolează aproape de marginea ecranului",
"hoverActivationDescOff": "Declanșatorul de survol este în pauză. Folosește Alt + C pentru a deschide",
+ "hoverDelayTitle": "Întârziere la deschidere",
+ "hoverDelayDesc": "Timp de așteptare la margine înainte de deschiderea panoului",
+ "hoverDelayInstant": "Instantaneu",
"disabledHoverOff": "Dezactivat pentru că Activarea la survol este oprită",
"fullscreenProtectionTitle": "Protecție ecran complet",
"fullscreenProtectionDesc": "Pauzează automat survolul marginii în timpul jocurilor sau al videoclipurilor pe ecran complet",
@@ -9769,6 +9872,7 @@ export const ro: TranslationKeys = {
"startup": "PORNIRE",
"privacy": "CONFIDENȚIALITATE",
"hoverActivation": "ACTIVARE LA TRECERE",
+ "hoverDelay": "ÎNTÂRZIERE LA SURVOLARE",
"keyboardShortcut": "COMANDĂ RAPIDĂ DE LA TASTATURĂ",
"fullscreenProtection": "PROTECȚIE ECRAN COMPLET",
"clipboardBehaviour": "COMPORTAMENT CLIPBOARD",
@@ -9842,6 +9946,9 @@ export const hu: TranslationKeys = {
"hoverActivationTitle": "Hover aktiválás",
"hoverActivationDescOn": "Polc kinyitása, ha a kurzor a képernyő széle közelébe ér",
"hoverActivationDescOff": "Hover-esemény szüneteltetve. Használja az Alt + C billentyűt a megnyitáshoz",
+ "hoverDelayTitle": "Megnyitási késleltetés",
+ "hoverDelayDesc": "Ennyi ideig kell a szélen időzni a panel megnyílása előtt",
+ "hoverDelayInstant": "Azonnal",
"disabledHoverOff": "Letiltva, mert a Hover aktiválás ki van kapcsolva",
"fullscreenProtectionTitle": "Teljes képernyős védelem",
"fullscreenProtectionDesc": "Játékok vagy teljes képernyős videók alatt automatikusan szüneteltesse az él-hoverelést",
@@ -10139,6 +10246,7 @@ export const hu: TranslationKeys = {
"startup": "INDÍTÁS",
"privacy": "ADATVÉDELEM",
"hoverActivation": "RÁMUTATÁSOS AKTIVÁLÁS",
+ "hoverDelay": "RÁMUTATÁSI KÉSLELTETÉS",
"keyboardShortcut": "BILLENTYŰPARANCS",
"fullscreenProtection": "TELJES KÉPERNYŐS VÉDELEM",
"clipboardBehaviour": "VÁGÓLAP VISELKEDÉSE",
@@ -10212,6 +10320,9 @@ export const da: TranslationKeys = {
"hoverActivationTitle": "Hover-aktivering",
"hoverActivationDescOn": "Glid hylde frem når markøren svæver nær skærmkanten",
"hoverActivationDescOff": "Hover-udløser sat på pause. Brug Alt + C for at åbne",
+ "hoverDelayTitle": "Åbningsforsinkelse",
+ "hoverDelayDesc": "Vent så længe ved kanten, før panelet åbner",
+ "hoverDelayInstant": "Øjeblikkelig",
"disabledHoverOff": "Deaktiveret fordi Hover-aktivering er slukket",
"fullscreenProtectionTitle": "Fuldskærmsbeskyttelse",
"fullscreenProtectionDesc": "Sæt automatisk hover ved kant på pause under spil eller fuldskærmsvideo",
@@ -10509,6 +10620,7 @@ export const da: TranslationKeys = {
"startup": "OPSTART",
"privacy": "PRIVATLIV",
"hoverActivation": "AKTIVERING VED HOVER",
+ "hoverDelay": "HOVER-FORSINKELSE",
"keyboardShortcut": "TASTATURGENVEJ",
"fullscreenProtection": "FULD SKÆRM-BESKYTTELSE",
"clipboardBehaviour": "UDKLIPSHOLDERADFÆRD",
@@ -10582,6 +10694,9 @@ export const fi: TranslationKeys = {
"hoverActivationTitle": "Hover-aktivointi",
"hoverActivationDescOn": "Liuku hylly auki kun osoitin hovering lähellä näytön reunaa",
"hoverActivationDescOff": "Hover-laukaisin keskeytetty. Avaa Alt + C",
+ "hoverDelayTitle": "Avautumisviive",
+ "hoverDelayDesc": "Odota näin kauan reunalla ennen kuin paneeli avautuu",
+ "hoverDelayInstant": "Heti",
"disabledHoverOff": "Poistettu käytöstä koska Hover-aktivointi on pois päältä",
"fullscreenProtectionTitle": "Koko näytön suojaus",
"fullscreenProtectionDesc": "Keskeytä automaattisesti reunan hover pelien tai koko näytön videoiden aikana",
@@ -10879,6 +10994,7 @@ export const fi: TranslationKeys = {
"startup": "KÄYNNISTYS",
"privacy": "YKSITYISYYS",
"hoverActivation": "AKTIVOINTI OSOITTAMALLA",
+ "hoverDelay": "OSOITUSVIIVE",
"keyboardShortcut": "NÄPPÄIMISTÖPIKAKUVAKKE",
"fullscreenProtection": "KOKO NÄYTÖN SUOJAUS",
"clipboardBehaviour": "LEIKEPÖYDÄN TOIMINTA",
@@ -10952,6 +11068,9 @@ export const th: TranslationKeys = {
"hoverActivationTitle": "การเปิดใช้เมื่อโฮเวอร์",
"hoverActivationDescOn": "เลื่อนเปิดชั้นวางเมื่อเคอร์เซอร์โฮเวอร์ใกล้ขอบจอ",
"hoverActivationDescOff": "ตัวกระตุ้นการโฮเวอร์ถูกหยุดชั่วคราว ใช้ Alt + C เพื่อเปิด",
+ "hoverDelayTitle": "ความหน่วงก่อนเปิด",
+ "hoverDelayDesc": "รอที่ขอบจอเป็นเวลานี้ก่อนที่แผงจะเปิด",
+ "hoverDelayInstant": "ทันที",
"disabledHoverOff": "ถูกปิดใช้งานเพราะการเปิดใช้เมื่อโฮเวอร์ถูกปิดอยู่",
"fullscreenProtectionTitle": "การป้องกันเต็มหน้าจอ",
"fullscreenProtectionDesc": "หยุดโฮเวอร์ขอบอัตโนมัติขณะเล่นเกมหรือดูวิดีโอเต็มหน้าจอ",
@@ -11249,6 +11368,7 @@ export const th: TranslationKeys = {
"startup": "การเริ่มต้น",
"privacy": "ความเป็นส่วนตัว",
"hoverActivation": "การเปิดใช้งานเมื่อโฮเวอร์",
+ "hoverDelay": "ความหน่วงเมื่อชี้",
"keyboardShortcut": "แป้นพิมพ์ลัด",
"fullscreenProtection": "การป้องกันเต็มหน้าจอ",
"clipboardBehaviour": "พฤติกรรมคลิปบอร์ด",
@@ -11322,6 +11442,9 @@ export const he: TranslationKeys = {
"hoverActivationTitle": "הפעלה בריחוף",
"hoverActivationDescOn": "החלק פתח מדף בריחוף הסמן ליד קצה המסך",
"hoverActivationDescOff": "מפעיל הריחוף הושהה. השתמש ב-Alt + C לפתיחה",
+ "hoverDelayTitle": "השהיית פתיחה",
+ "hoverDelayDesc": "משך ההמתנה בקצה המסך לפני שהלוח נפתח",
+ "hoverDelayInstant": "מיידי",
"disabledHoverOff": "מנוטרל כי הפעלה בריחוף כבויה",
"fullscreenProtectionTitle": "הגנת מסך מלא",
"fullscreenProtectionDesc": "השהה אוטומטית ריחוף קצה בעת משחק משחקים או צפייה בסרטונים במסך מלא",
@@ -11619,6 +11742,7 @@ export const he: TranslationKeys = {
"startup": "הפעלה",
"privacy": "פרטיות",
"hoverActivation": "הפעלה בריחוף",
+ "hoverDelay": "השהיית ריחוף",
"keyboardShortcut": "קיצור מקלדת",
"fullscreenProtection": "הגנת מסך מלא",
"clipboardBehaviour": "התנהגות לוח הגזירים",
@@ -11692,6 +11816,9 @@ export const no: TranslationKeys = {
"hoverActivationTitle": "Hover-aktivering",
"hoverActivationDescOn": "Skyv ut hyllen når markøren holdes nær skjermkanten",
"hoverActivationDescOff": "Hover-utløser på pause. Bruk Alt + C for å åpne",
+ "hoverDelayTitle": "Åpningsforsinkelse",
+ "hoverDelayDesc": "Vent så lenge ved kanten før panelet åpnes",
+ "hoverDelayInstant": "Umiddelbart",
"disabledHoverOff": "Deaktivert fordi Hover-aktivering er av",
"fullscreenProtectionTitle": "Fullskjerm-beskyttelse",
"fullscreenProtectionDesc": "Sett kant-hover automatisk på pause under spill eller fullskjermvideo",
@@ -11989,6 +12116,7 @@ export const no: TranslationKeys = {
"startup": "OPPSTART",
"privacy": "PERSONVERN",
"hoverActivation": "AKTIVERING VED PEKING",
+ "hoverDelay": "HOVER-FORSINKELSE",
"keyboardShortcut": "TASTATURSNARVEI",
"fullscreenProtection": "FULLSKJERMBESKYTTELSE",
"clipboardBehaviour": "UTKLIPPSATFERD",
diff --git a/src/styles/settings.css b/src/styles/settings.css
index 55baf04..acb277f 100644
--- a/src/styles/settings.css
+++ b/src/styles/settings.css
@@ -1893,6 +1893,11 @@
width: 240px;
}
+/* Measured: 310px keeps the longest translations (ro) inside the 146px card. */
+.settings-shelf-card.hover-delay-card {
+ width: 310px;
+}
+
.settings-shelf-card.fullscreen-card {
width: 250px;
}
diff --git a/tests/hoverOpenDelay.test.ts b/tests/hoverOpenDelay.test.ts
new file mode 100644
index 0000000..ad0be29
--- /dev/null
+++ b/tests/hoverOpenDelay.test.ts
@@ -0,0 +1,111 @@
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
+import { mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs'
+import { join } from 'node:path'
+import { tmpdir } from 'node:os'
+
+const paths = vi.hoisted(() => ({ settingsFile: '' }))
+
+vi.mock('../electron/store/paths', () => ({
+ PATHS: { settingsFile: () => paths.settingsFile }
+}))
+
+import {
+ DEFAULT_SETTINGS,
+ HOVER_OPEN_DELAY_MAX,
+ HOVER_OPEN_DELAY_MIN,
+ HOVER_OPEN_DELAY_STEP,
+ normalizeHoverOpenDelay
+} from '../shared/types'
+import { loadSettings, resetSettingsCache, saveSettings } from '../electron/store/settings'
+
+const read = (p: string) => readFileSync(join(__dirname, '..', p), 'utf8')
+
+describe('hover open delay — value contract', () => {
+ it('defaults to 0 so existing users keep today’s instant hover', () => {
+ expect(DEFAULT_SETTINGS.hoverOpenDelay).toBe(0)
+ expect(HOVER_OPEN_DELAY_MIN).toBe(0)
+ expect(HOVER_OPEN_DELAY_MAX).toBe(1000)
+ expect(HOVER_OPEN_DELAY_STEP).toBe(50)
+ })
+
+ it('clamps to the slider range', () => {
+ expect(normalizeHoverOpenDelay(-200)).toBe(0)
+ expect(normalizeHoverOpenDelay(5000)).toBe(1000)
+ expect(normalizeHoverOpenDelay(1000)).toBe(1000)
+ })
+
+ it('snaps to the 50ms grid', () => {
+ expect(normalizeHoverOpenDelay(73)).toBe(50)
+ expect(normalizeHoverOpenDelay(75)).toBe(100)
+ expect(normalizeHoverOpenDelay(500)).toBe(500)
+ })
+
+ it('treats anything invalid as 0', () => {
+ expect(normalizeHoverOpenDelay(undefined)).toBe(0)
+ expect(normalizeHoverOpenDelay(Number.NaN)).toBe(0)
+ expect(normalizeHoverOpenDelay(Number.POSITIVE_INFINITY)).toBe(0)
+ expect(normalizeHoverOpenDelay('300')).toBe(0)
+ expect(normalizeHoverOpenDelay(null)).toBe(0)
+ })
+})
+
+describe('hover open delay — persisted settings', () => {
+ let dir: string
+
+ beforeEach(() => {
+ dir = join(tmpdir(), `ed-hoverdelay-${Date.now()}-${Math.random().toString(16).slice(2)}`)
+ mkdirSync(dir, { recursive: true })
+ paths.settingsFile = join(dir, 'settings.json')
+ resetSettingsCache()
+ })
+
+ afterEach(() => {
+ resetSettingsCache()
+ try { rmSync(dir, { recursive: true, force: true }) } catch { /* ignore */ }
+ })
+
+ it('loads 0 for settings files written before the option existed', () => {
+ writeFileSync(paths.settingsFile, JSON.stringify({ hoverActivation: true }))
+ expect(loadSettings().hoverOpenDelay).toBe(0)
+ })
+
+ it('heals corrupt stored values on load', () => {
+ writeFileSync(paths.settingsFile, JSON.stringify({ hoverOpenDelay: 'slow' }))
+ expect(loadSettings().hoverOpenDelay).toBe(0)
+ resetSettingsCache()
+ writeFileSync(paths.settingsFile, JSON.stringify({ hoverOpenDelay: 99999 }))
+ expect(loadSettings().hoverOpenDelay).toBe(1000)
+ })
+
+ it('saves a clamped, snapped value', () => {
+ expect(saveSettings({ hoverOpenDelay: 333 }).hoverOpenDelay).toBe(350)
+ expect(JSON.parse(readFileSync(paths.settingsFile, 'utf8')).hoverOpenDelay).toBe(350)
+ })
+})
+
+describe('hover open delay — wiring', () => {
+ it('every hover dwell timer (top, right, left) uses base dwell + user delay', () => {
+ const src = read('src/hooks/useEdgeHover.ts')
+ expect(src.match(/\}, dwellMsFor\(state\)\)/g)?.length).toBe(3)
+ expect(src).not.toMatch(/\}, DWELL_MS\)/)
+ expect(src).toContain('return DWELL_MS + normalizeHoverOpenDelay(state.settings.hoverOpenDelay)')
+ })
+
+ it('renders the slider in both the horizontal and vertical settings layouts', () => {
+ const src = read('src/components/Settings.tsx')
+ expect(src).toContain("{renderHoverDelayCard('shelf')}")
+ expect(src).toContain("{renderHoverDelayCard('stack')}")
+ expect(src).toContain('min={HOVER_OPEN_DELAY_MIN}')
+ expect(src).toContain('max={HOVER_OPEN_DELAY_MAX}')
+ expect(src).toContain('step={HOVER_OPEN_DELAY_STEP}')
+ })
+
+ it('has its strings in every language', () => {
+ const src = read('src/i18n/translations.ts')
+ const dictionaries = src.match(/export const \w+: TranslationKeys = \{/g)?.length ?? 0
+ expect(dictionaries).toBe(31)
+ for (const key of ['"hoverDelayTitle"', '"hoverDelayDesc"', '"hoverDelayInstant"', '"hoverDelay"']) {
+ expect(src.split(`${key}:`).length - 1).toBe(dictionaries)
+ }
+ })
+})