Jump to content

Reproducible crash with v4.6 and keyword completion


Recommended Posts



When adding keywords to images by typing into the input field and maneuvering the suggestions list with the keyboard, Daminion v4.6 (#1481) will frequently crash when paging using [PgDn]. This results in an exception dialog with information like the following example:


System.ArgumentOutOfRangeException: InvalidArgument=Value mit dem Wert 50 ist für SelectedIndex ungültig.
Parametername: SelectedIndex
  bei System.Windows.Forms.ListBox.set_SelectedIndex(Int32 value)
  bei PicaJet.Daminion.GUIComponents.PropertyInspectorEx.IntelliSenseClass.OnTextBoxPreviewKeyDown(Object sender, PreviewKeyDownEventArgs e) in c:\DaminionAuto\Code\GUIComponents\Controls\PropertyInspectorEx\IntelliSense\IntelliSense.cs:Zeile 735.
  bei PicaJet.Daminion.GUIComponents.PropertyInspectorEx.TagEditors.TextBoxPro.OnTextBoxPreviewKeyDown(Object sender, PreviewKeyDownEventArgs e) in c:\DaminionAuto\Code\GUIComponents\Controls\PropertyInspectorEx\TagEditors\TextBoxPro.cs:Zeile 1032.
  bei System.Windows.Forms.PreviewKeyDownEventHandler.Invoke(Object sender, PreviewKeyDownEventArgs e)
  bei System.Windows.Forms.Control.OnPreviewKeyDown(PreviewKeyDownEventArgs e)
  bei System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
  bei System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)


Steps to reproduce:


  1. Select an image.
  2. In the properties panel, focus the input field for keywords and start typing some existing keyword.
  3. When the suggestions popup is displayed, page downwards using [PgDn]. In most cases, Daminion will crash towards the end of the list.
  4. If it does not crash, retry with some other keyword.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...