Experiencing this problem developing PyQt5 applications, in regards to QTextEdit items. Currently the only fix is to use a non-native style. See here: http://stackoverflow.com/questions/35351024/pyqt5-gtk- critical-ia-gtk-widget-style-get-assertion-gtk-is-widget-widg
Any ideas of how related these issues are? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qt4-x11 in Ubuntu. https://bugs.launchpad.net/bugs/805303 Title: Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed with the default qt4 gui Status in Ubuntu: Fix Released Status in qt4-x11 package in Ubuntu: Fix Released Status in xorg-server package in Ubuntu: Invalid Status in The Oneiric Ocelot: Fix Released Status in qt4-x11 source package in Oneiric: Fix Released Status in xorg-server source package in Oneiric: Invalid Bug description: vlc will hang when trying to open anything additional - it also appears to crash unity-window-decorator among other things (have crash report on that) Ex.'s - the playlist, tools > preferences and so forth Switching the qt4 gui to anything but 'default' (gtk+) in qtconfig-qt4 and it works without incidence (tooltips are empty bit otherwise good). Will attach xsession.errors, reflects a login, opening vlc, opening xsession.errors, then attempting to open playlist window in vlc. (using nvidia-current) Note to Vlc users - I've found clearlooks to be best choice, should be good for other apps as well. Also do as mentioned in comment 13 Note to Anki users - please review comments 20, 22 for current workaround This happens with many Qt4 and PyQt4 applications. Some errors displayed (from comments 16 and 18): (python:2901): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed (python:2901): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed QWidget::setMinimumSize: (/MainWindow) The largest allowed size is (16777215,16777215) X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 62 (X_CopyArea) Resource id: 0x0 X Error: BadAlloc (insufficient resources for operation) 11 Major opcode: 53 (X_CreatePixmap) Resource id: 0x15a X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Extension: 152 (RENDER) Minor opcode: 4 (RenderCreatePicture) Resource id: 0x42004f6 X Error: RenderBadPicture (invalid Picture parameter) 174 Extension: 152 (RENDER) Minor opcode: 8 (RenderComposite) Resource id: 0x42004f6 X Error: BadPixmap (invalid Pixmap parameter) 4 Major opcode: 54 (X_FreePixmap) Resource id: 0x42004f6 ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: vlc 1.1.10-1ubuntu2 ProcVersionSignature: Ubuntu 2.6.38-9.43lp760131v201106060906-generic 2.6.38.7 Uname: Linux 2.6.38-9-generic i686 NonfreeKernelModules: nvidia Architecture: i386 Date: Sun Jul 3 23:23:42 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110202) ProcEnviron: PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: vlc UpgradeStatus: Upgraded to oneiric on 2011-07-03 (1 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/805303/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp