Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentOutOfRangeException [not] selecting a language on first start #6726

Closed
mstv opened this issue May 31, 2019 · 2 comments · Fixed by #6849

Comments

@mstv
Copy link
Member

commented May 31, 2019

Current behaviour / STR

Start a [portable] build for the first time.
Confirm the language selection with Enter.
Exception although English seems to be selected.

grafik

Not a duplicate of #6680.

Expected behaviour

English does not need to be clicked or reselected by moving around with cursor keys.

Error Details

System.ArgumentOutOfRangeException: InvalidArgument=Value mit dem Wert 0 ist für index ungültig.
Parametername: index
   bei System.Windows.Forms.ListView.SelectedListViewItemCollection.get_Item(Int32 index)
   bei GitUI.CommandsDialogs.SettingsDialog.Pages.FormChooseTranslation.lvTranslations_ItemActivate(Object sender, EventArgs e)
   bei System.Windows.Forms.ListView.OnItemActivate(EventArgs e)
   bei System.Windows.Forms.ListView.WmReflectNotify(Message& m)
   bei System.Windows.Forms.ListView.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Environment

  • Git Extensions 3.2.0.5989
  • Build c992852 (Dirty)
  • Git 2.21.0.windows.1
  • Microsoft Windows NT 10.0.17763.0
  • .NET Framework 4.7.3416.0
  • DPI 96dpi (no scaling)
@mstv

This comment has been minimized.

Copy link
Member Author

commented May 31, 2019

⚠️ Review existing issues to see whether someone else has already reported your issue.

Unfortunately, the "related issues" plugin is not triggered unless the title is changed, which is pre-filled in case of NBug reports.

@RussKie

This comment has been minimized.

Copy link
Member

commented Jun 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.