Skip to content

BUG: Null reference going back under hotkey page in Welcome Window #3280

@turtley-turtle

Description

@turtley-turtle

Checks

  • I have checked that this issue has not already been reported.

  • I am using the latest version of Flow Launcher.

Problem Description

If you go from page 3 to page 2 using the keyboard, null is referenced and a window with the title "Flow Launcher got an error" appears.

To Reproduce

  1. Go to the 3rd page (Hotkey) of the first time window.
  2. Click the hotkeys.
  3. With your keyboard, make a pattern using the Up and Down keys.
  4. Click backspace.
  5. Then Flow Launcher will go back to 2nd page, and HotKeyControl cannot get Settings instance.

Screenshots

No screenshots available, sorry

Flow Launcher Version

1.19.5 (latest)

Windows Build Number

10.0.19045.5487

Error Log


Python Path: 
Node Path: 
Date: 02/25/2025 11:36:50
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Flow.Launcher.HotkeyControlDialog.SetKeysToDisplay(Nullable`1 hotkey) in C:\projects\flow-launcher\Flow.Launcher\HotkeyControlDialog.xaml.cs:line 120
   at Flow.Launcher.HotkeyControlDialog.OnPreviewKeyDown(Object sender, KeyEventArgs e) in C:\projects\flow-launcher\Flow.Launcher\HotkeyControlDialog.xaml.cs:line 98
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions