Skip to content

Disable or make configurable mouse forward/back buttons for workspace navigation #1701

@kingdomseed

Description

@kingdomseed

Problem

Superset currently captures mouse button 3 (back) and button 4 (forward) to navigate between workspace tabs. This conflicts with system-level mouse shortcuts that users may have configured.

Current Behavior

  • Mouse button 3 (back) navigates to previous workspace tab
  • Mouse button 4 (forward) navigates to next workspace tab

This is implemented in the NavigationControls component using a mouseup event listener that checks event.button === 3 and event.button === 4.

Expected Behavior

One of the following:

  1. Disable mouse button navigation entirely - Remove the hardcoded mouse button 3/4 navigation
  2. Make it configurable - Add a setting to enable/disable mouse button navigation
  3. Respect system shortcuts - Don't override system-assigned mouse shortcuts

Context

Many users have system-wide shortcuts assigned to mouse buttons (e.g., for browser navigation, application switching, or accessibility features). Applications should not override these without providing a way to disable the behavior.

Keyboard shortcuts (⌘⌥← / ⌘⌥→ or ⌘1-9) already exist for workspace navigation, making the mouse button navigation redundant for users who don't want it.

Environment

  • Superset version: 0.0.83
  • OS: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions