Menu

#1765 Paste " · " causes order to close

KeePass_2.x
closed
nobody
5
2018-08-22
2018-08-21
No

Copying and pasting the · character into any input causes the program to interpret it as an "exit", asking if you want to save the data or not. My Manjaro system 17.1.11 Hakoila, Kernel x86_64 4.14.59-rt37-MANJARO

Discussion

  • Paul

    Paul - 2018-08-21

    What is the character you have pasted - ASCII number?
    Pasting into what sort of input? Editing, searching?
    The issue may be mono or your version of Linux. Are you able to test on a Windows system? If not can you post a test database with a couple of entries containing the problem character?

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2018-08-22
    • status: open --> closed
    • Priority: 7 --> 5
     
  • Dominik Reichl

    Dominik Reichl - 2018-08-22

    I can reproduce this. Mono crashes with the following stack trace:

    System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
      at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.PtrToStringAnsi(intptr)
      at System.Windows.Forms.XplatUIX11.TranslatePropertyToClipboard (System.IntPtr property) [0x0005f] in <33c9ef2431ee44bfb02f81d92160d180>:0 
      at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue, System.Boolean allowIdle) [0x00924] in <33c9ef2431ee44bfb02f81d92160d180>:0 
      at System.Windows.Forms.XplatUIX11.ClipboardRetrieve (System.IntPtr handle, System.Int32 type, System.Windows.Forms.XplatUI+ClipboardToObject converter) [0x0002f] in <33c9ef2431ee44bfb02f81d92160d180>:0 
      at System.Windows.Forms.XplatUI.ClipboardRetrieve (System.IntPtr handle, System.Int32 type, System.Windows.Forms.XplatUI+ClipboardToObject converter) [0x00000] in <33c9ef2431ee44bfb02f81d92160d180>:0 
      at System.Windows.Forms.Clipboard.GetDataObject (System.Boolean primary_selection) [0x00039] in <33c9ef2431ee44bfb02f81d92160d180>:0 
      at System.Windows.Forms.Clipboard.GetDataObject () [0x00000] in <33c9ef2431ee44bfb02f81d92160d180>:0 
      at System.Windows.Forms.TextBoxBase.ProcessKey (System.Windows.Forms.Keys keyData) [0x000a4] in <33c9ef2431ee44bfb02f81d92160d180>:0 
      at System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message& m) [0x0005b] in <33c9ef2431ee44bfb02f81d92160d180>:0 
      at System.Windows.Forms.TextBox.WndProc (System.Windows.Forms.Message& m) [0x0011c] in <33c9ef2431ee44bfb02f81d92160d180>:0 
      at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <33c9ef2431ee44bfb02f81d92160d180>:0 
      at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <33c9ef2431ee44bfb02f81d92160d180>:0 
      at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <33c9ef2431ee44bfb02f81d92160d180>:0
    

    As it can be seen, there's no KeePass code involved. I also don't see how a reasonable workaround could look like. This must be fixed in Mono, not in KeePass.

    Thanks and best regards,
    Dominik

     

Log in to post a comment.

MongoDB Logo MongoDB