RustDesk/flutter/lib/desktop/pages
lukecgg c403cd8440 Gate multi-edge docking behind a settings toggle; default = horizontal slide
Replaces the activation-zone approach with an explicit opt-in setting
in Settings -> Other ("Allow docking remote toolbar to any window
edge"). This addresses the concern that a low-intent horizontal drag
shouldn't be able to trigger a high-impact orientation change, while
still letting users who want multi-edge docking opt in cleanly.

Default (toggle off):
  - The original horizontal slide is preserved.
  - The bug fix from the first commit still applies: dragging the
    handle moves the whole toolbar, and the position persists across
    collapse/expand (no more re-center on re-open).
  - Draggable is axis-locked to horizontal so the feedback widget
    stays on the top line during drag.

Opt-in (toggle on):
  - Full nearest-edge wins with the live preview ghost and corner
    hysteresis; toolbar reflows vertically on left/right docks.
  - Draggable is unlocked for 2D drag.

Reads the option via mainGetLocalBoolOptionSync so the toolbar's
default state matches what the settings checkbox shows; the option
key uses the allow- prefix so unset defaults to off.

Takes effect on next session (setting is read at session init).

The setting key (allow-multi-edge-toolbar-dock) is read by the
existing local-options machinery and persists per-install without
needing to be registered in libs/hbb_common's KEYS_LOCAL_SETTINGS.
Can add that registration in a parallel hbb_common PR if preferred.
2026-05-18 10:15:22 +10:00
..
connection_page.dart show peer note (#13140) 2025-10-12 14:59:42 +08:00
desktop_home_page.dart refact(password): Store permanent password as hashed verifier (#14619) 2026-03-26 14:49:54 +08:00
desktop_setting_page.dart Gate multi-edge docking behind a settings toggle; default = horizontal slide 2026-05-18 10:15:22 +10:00
desktop_tab_page.dart always block desktop settings page if video connection exists (#10224) 2024-12-08 18:26:55 +08:00
file_manager_page.dart fix(desktop): wakelock issue with multiple tabs in same window (#13956) 2026-01-05 22:16:35 +08:00
file_manager_tab_page.dart ask for note at end of connection (#13499) 2025-11-13 23:35:40 +08:00
install_page.dart feat: remote printer (#11231) 2025-03-27 15:34:27 +08:00
port_forward_page.dart ask for note at end of connection (#13499) 2025-11-13 23:35:40 +08:00
port_forward_tab_page.dart fix: win10, border (#10753) 2025-02-10 13:50:28 +08:00
remote_page.dart Revert "fix web break introduced in 38f130071 fix(linux): enable mouse side buttons in remote sessions (#14848)" (#14973) 2026-05-06 20:20:17 +08:00
remote_tab_page.dart feat: Add relative mouse mode (#13928) 2026-01-09 10:03:14 +08:00
server_page.dart feat: option, enable-privacy-mode & enable-perm-change-in-accept-window (#14875) 2026-05-02 00:44:22 +08:00
terminal_connection_manager.dart terminal works basically. (#12189) 2025-07-01 13:12:55 +08:00
terminal_page.dart Terminal utf8 and reconnect (#14895) 2026-05-07 13:27:13 +08:00
terminal_tab_page.dart Terminal utf8 and reconnect (#14895) 2026-05-07 13:27:13 +08:00
view_camera_page.dart fix(desktop): wakelock issue with multiple tabs in same window (#13956) 2026-01-05 22:16:35 +08:00
view_camera_tab_page.dart refact: remote toolbar show/hide (#13843) 2025-12-19 20:45:22 +08:00