Skip to content

Add an option to disable window dragging from the sidebar - #197

Merged
aminought merged 2 commits into
masterfrom
codex/fix-188-window-dragging
Sep 5, 2026
Merged

Add an option to disable window dragging from the sidebar#197
aminought merged 2 commits into
masterfrom
codex/fix-188-window-dragging

Conversation

@aminought

Copy link
Copy Markdown
Owner

Dragging or double-clicking empty sidebar space can accidentally move or restore a maximized Firefox window. Add an Allow window dragging setting that disables those actions through Firefox's native nowindowdrag toolbar attribute.

The setting defaults to enabled for existing profiles, applies immediately across browser windows, is restored by Cancel, and persists with Save. The README lists the new setting.

Fixes #188.

Validation

  • ESLint, Prettier for the changed files, and git diff --check pass.
  • A temporary privileged integration probe passed on Firefox 155.0.1 / Windows with fx-autoconfig: legacy defaults, native CSS rule matching, popup toggle/Save/Cancel, two-window propagation, left/right placement, the toolbar's customizing attribute, and persistence after restart. Original settings were restored after testing; no FSS errors were recorded.
  • Physical mouse dragging, double-click actions, and a full Customize Toolbar interaction remain unverified because desktop browser automation was unavailable.
  • Full-tree Prettier still reports existing formatting issues in src/second_sidebar/css/customization.mjs and src/second_sidebar/css/sidebar_box.mjs; neither file is changed here.

Allow users to disable window movement and double-click maximize/restore on empty sidebar space. Preserve the existing behavior by default and persist the setting across windows and restarts.

Fixes #188
@ThinkSalat

Copy link
Copy Markdown

Beast mode! Thank you legend!

@aminought

Copy link
Copy Markdown
Owner Author

Sorry for waiting so long!

@aminought
aminought merged commit 012df3a into master Sep 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request: Allow option to disable clicking/dragging window from second sidebar

2 participants