Skip to content

System tray menu unresponsive during initial model loading #80

@Aaronontheweb

Description

@Aaronontheweb

Issue

The system tray menu becomes unresponsive and cannot be accessed while WhisperX models are loading during the first application launch.

Current Behavior

  • App launches and appears in system tray ✓
  • System tray icon is visible ✓
  • Right-clicking tray icon shows no menu or menu doesn't respond ❌
  • Menu becomes responsive only after model loading completes (30-60 seconds) ✓
  • F9 functionality works correctly after models load ✓

Expected Behavior

  • System tray menu should always be accessible
  • Menu should show loading status or progress indicator
  • User should be able to access basic menu items even during model loading
  • Clear feedback about what's happening during the loading phase

Impact

  • User Experience: Users may think the app is broken or frozen
  • First Impression: Poor initial experience, especially on Windows where this is more noticeable
  • Discoverability: Users can't explore menu options while waiting

Technical Details

This appears to be a main thread blocking issue where:

  1. WhisperX model initialization runs on the main thread
  2. GUI/tray menu handling gets blocked during model loading
  3. No progress indication is provided to the user

Suggested Solutions

  1. Move model loading to background thread with progress updates
  2. Add loading state to tray menu ("Loading models..." with progress)
  3. Show notification when app starts ("Witticism is loading models...")
  4. Enable basic menu items during loading (Settings, Help, Quit)
  5. Add timeout handling for model loading failures

Reproduction Steps

  1. Fresh install witticism (or clear model cache)
  2. Launch witticism
  3. Observe tray icon appears
  4. Right-click tray icon immediately
  5. Note menu is unresponsive for 30-60 seconds

Environment

  • Platform: Windows 10/11 (confirmed), likely affects all platforms
  • Version: v0.6.0-beta1
  • Models: Occurs with all model sizes during first download/load

Priority

Medium - affects user experience and first impressions but doesn't break functionality

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions