← Back to team overview

desktop-packages team mailing list archive

Re: [Bug 805303] Re: Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed with the default qt4 gui

 

Le 17/10/2011 17:01, EricDHH a écrit :
> Yes that's it, my suggestion is a script that clears out this config by
> update.  Thanks!
>
Unfortunately we can't do that automatically: packages are not allowed 
to modify user configuration files at upgrade.

My guess on what goes wrong is that when vlc was started with versions 
of qt and gtk older than the ones I mentioned, it stored a huge window 
size before dying. Now that it is started again, it tries to resize the 
window to the stored size and dies again.

I don't think the config file can go wrong for stable-only users (ie 
users who did not use vlc with qt and gtk from Oneiric alpha or beta) so 
that should limit the affected users to people who are more 
computer-savvy and can find this bug report. If stable-only users are 
affected, we could however patch vlc to limit the size of the restored 
window.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+2.0 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 “gtk+2.0” package in Ubuntu:
  Fix Released
Status in “overlay-scrollbar” package in Ubuntu:
  Invalid
Status in “qt4-x11” package in Ubuntu:
  Fix Released
Status in “xorg-server” package in Ubuntu:
  Invalid
Status in “gtk+2.0” source package in Oneiric:
  Fix Released
Status in “overlay-scrollbar” source package in Oneiric:
  Invalid
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/+source/gtk+2.0/+bug/805303/+subscriptions


References