[ wxwindows-Bugs-1665965 ] BadMatch error when reparenting glcanvas in wxGTK 2.8.0

SourceForge.net noreply at sourceforge.net
Wed Feb 13 21:33:11 PST 2008


Bugs item #1665965, was opened at 2007-02-22 02:03
Message generated for change (Comment added) made by pcor
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1665965&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxGTK specific
Group: Must fix
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: gverbruggen (gverbruggen)
Assigned to: Nobody/Anonymous (nobody)
Summary: BadMatch error when reparenting glcanvas in wxGTK 2.8.0

Initial Comment:
When a wxGLCanvas is reparented in wxGTK 2.8.0, the following X error occurs:


(reparenttest:6450): Gdk-WARNING **: gdkdrawable-x11.c:904 drawable is not a pixmap or window

(reparenttest:6450): Gdk-WARNING **: gdkdrawable-x11.c:904 drawable is not a pixmap or window
The program 'reparenttest' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 1303 error_code 8 request_code 144 minor_code 26)

Attached is a small program that triggers the crash. (2 frames and a button. When the button is pressed, a GLCanvas is reparented from the left frame to the right frame and vice versa)
The program works fine with wxGTK 2.7.0 and crashes with wxGTK 2.8.0.

You get a similar error when you try to drag a wxAUI managed wxGLCanvas.




----------------------------------------------------------------------

>Comment By: Paul Cornett (pcor)
Date: 2008-02-13 21:33

Message:
Logged In: YES 
user_id=1084745
Originator: NO

Can't reproduce in 2.8 branch, presumably fixed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1665965&group_id=9863




More information about the wx-dev mailing list