Uploaded image for project: 'Greenshot bugs'
  1. BUG-2102

InvalidOperationException when selecting a color

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.2.9
    • Fix Version/s: 1.2.9.129
    • Component/s: None
    • Environment:

      W10 64bit
      Desktop resuliton 3840x2160

    • Sprint:
      Greenshot 1.2.9 BF2

      Description

      In the editor selection of a color from the color tabel generates the following error message:
      Software version: 1.2.9.104-RELEASE-3721c1004d2b146fd31b1e20740b8add11a61330 (64 bit)
      .NET runtime version: 4.0.30319.42000+
      Time: 2017-01-06 12:13:24 +01:00
      OS: unknown (x64) 10.0 build 14393 revision 0
      GDI object count: 176
      User object count: 305

      Exception: System.InvalidOperationException
      Message: Das Formular, das bereits sichtbar ist, kann nicht als modales Dialogfeld angezeigt werden. Legen Sie die Visible-Eigenschaft des Formulars auf "false" fest, bevor Sie showDialog aufrufen.

      Stack:
      bei System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
      bei Greenshot.Controls.ToolStripColorButton.ColorButtonClick(Object sender, EventArgs e)
      bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
      bei System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
      bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
      bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
      bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
      bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
      bei System.Windows.Forms.Control.WndProc(Message& m)
      bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
      bei Greenshot.Controls.ToolStripEx.WndProc(Message& m)
      bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

      Configuration dump:

      and in additon the scaling of the sub window is not correct (screen shoot)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rkrom Robin Krom
                Reporter:
                user0815 JK
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h