Skip to content

[BUG] Misleading hotkey conflict with browser incognito mode #153

@VooDisss

Description

@VooDisss

Version 0.10.2

Parent issue (related): #152

Description

When I attempt to use the Ctrl+Shift+N (or Cmd+Shift+N) hotkey combination to create a new session, the web browser intercepts the command to open a new incognito/private window. This makes the hotkey misleading and effectively non-functional for the WebUI.

Image

Expected Behavior

The application should use a unique hotkey combination that does not conflict with standard browser-level shortcuts, or it should rely on UI-based triggers if a conflict-free shortcut cannot be established.

Actual Behavior

Pressing the current combination triggers the browser's "New Incognito Window" action instead of the application's "Create Session" logic.

Technical Context

  • File: packages/ui/src/components/instance-welcome-view.tsx
  • Code Snippet:
    // Line 56
    const newSessionShortcutString = createMemo(() => (isMac() ? "cmd+shift+n" : "ctrl+shift+n"))
    
    // Line 112
    if ((e.metaKey || e.ctrlKey) && e.shiftKey && e.key.toLowerCase() === "n") {
      e.preventDefault()
      handleNewSession()
      return
    }

User Experience Goal

Users should have a reliable keyboard shortcut for session creation that behaves consistently across different browsers without triggering native browser features.

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