luisurbinanet / gnudental

Automatically exported from code.google.com/p/gnudental
1 stars 0 forks source link

OD rev 149: X11 Error encountered #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run opendental
2. uncheck the checkbox in "Edit Paths" dialog
3. click "Ok"
4. restore main window (click the middle of the three upper right window
control buttons)
5. click the "Log Off" menu
6. click any button in resulting window

What is the expected output?

graceful exit or return to main window.

What do you see instead?

kevin@gnudental1 ~/gnudental $ opendental 
X11 Error encountered: 
  Error: BadMatch (invalid parameter attributes)
  Request:     12 (0)
  Resource ID: 0x120007B
  Serial:      130451
  Hwnd:        Hwnd, Mapped:True ClientWindow:0x120007C,
WholeWindow:0x120007B, Zombie=False, Parent:[<null>]
  Control:     OpenDental.OutlookBar
   at System.Windows.Forms.XplatUIX11.HandleError ()
   at System.Windows.Forms.XplatUIX11.HandleError ()
   at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
   at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
   at System.Drawing.Graphics.FromXDrawable ()
   at System.Drawing.Graphics.FromHwnd ()
   at System.Windows.Forms.Control.CreateGraphics ()
   at System.Windows.Forms.TextBoxBase.CreateGraphicsInternal ()
   at System.Windows.Forms.Document.owner_VisibleChanged ()
   at System.MulticastDelegate.invoke_void_object_EventArgs ()
   at System.Windows.Forms.Control.OnVisibleChanged ()
   at System.Windows.Forms.Control.OnParentVisibleChanged ()
   at System.Windows.Forms.Control.OnVisibleChanged ()
   at System.Windows.Forms.ScrollableControl.OnVisibleChanged ()
   at System.Windows.Forms.Control.OnParentVisibleChanged ()
   at System.Windows.Forms.Control.OnVisibleChanged ()
   at System.Windows.Forms.ScrollableControl.OnVisibleChanged ()
   at System.Windows.Forms.Control.OnParentVisibleChanged ()
   at System.Windows.Forms.Control.OnVisibleChanged ()
   at System.Windows.Forms.ScrollableControl.OnVisibleChanged ()
   at System.Windows.Forms.Form.OnVisibleChanged ()
   at System.Windows.Forms.Control.SetVisibleCore ()
   at System.Windows.Forms.Form.SetVisibleCore ()
   at System.Windows.Forms.Control.set_Visible ()
   at System.Windows.Forms.Application.RunLoop ()
   at System.Windows.Forms.Application.Run ()
   at OpenDental.FormOpenDental.Main ()

Original issue reported on code.google.com by GNUden...@gmail.com on 12 Apr 2007 at 11:20

GoogleCodeExporter commented 8 years ago
clarification:

this error and output follows simply starting up the application.  it's not 
clear
that it's associated with the other actions.

Original comment by GNUden...@gmail.com on 12 Apr 2007 at 11:22

GoogleCodeExporter commented 8 years ago
correction on the above:

If I enter the MySQL root user password and click ok, then I reconnect with the 
main
window.  Clicking on the "Exit" button causes the application to exit, and this 
is
probably by design.

However, clicking on the "Close Window" window control button also causes the
application to exit.  Is that by design?

So apparently, logging out of the application is never confirmed, but happens
immediately upon clicking the "Log Off" menu, and the resulting window that 
comes up
immediately afterwards is for logging back on.  If so, then it seems to behave 
as
expected except for the fact that I'm surprised the clicking the "Close Window"
window control button in the upper right of the resulting "Log On" window 
causes the
application to exit, but perhaps that too is by design, but it's a little 
surprising
to me.

Original comment by GNUden...@gmail.com on 12 Apr 2007 at 11:40