← 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 28/09/2011 22:49, Ken VanDine a écrit :
> The GTK patch makes these changes to the symbols, does anything we know
> of use them?
>
> @@ -4728,11 +4728,11 @@
>    gtk_window_unstick@Base 2.8.0
>    gtk_wrap_mode_get_type@Base 2.8.0
>    hildon_gtk_file_chooser_install_properties@Base 2.10.0
> - ubuntu_gtk_hscrollbar_init@Base 2.24.5-0ubuntu2
> + ubuntu_gtk_get_use_overlay_scrollbar@Base 2.24.6-0ubuntu4
>    ubuntu_gtk_menu_shell_activate_first@Base 2.23.90
>    ubuntu_gtk_menu_shell_activate_mnemonic@Base 2.21.6-1ubuntu5.1
> - ubuntu_gtk_scrolled_window_init@Base 2.24.3-0ubuntu5
> - ubuntu_gtk_vscrollbar_init@Base 2.24.5-0ubuntu2
> + ubuntu_gtk_overlay_scrollbar_new@Base 2.24.6-0ubuntu4
> + ubuntu_gtk_set_use_overlay_scrollbar@Base 2.24.6-0ubuntu4
>    ubuntu_gtk_widget_set_has_grab@Base 2.21.6-1ubuntu3
>    ubuntu_menu_proxy_activate_menu@Base 2.21.6-1ubuntu5.1
>    ubuntu_menu_proxy_get@Base 2.21.1-1ubuntu2

As far as I know, the old symbols were only used internally by our 
overlay scrollbar GTK patch.

Regarding the new symbols, at least ubuntu_gtk_overlay_scrollbar_new() 
could be marked hidden. The new overlay scrollbar patch uses this 
function in 3 places within GTK so it can't be made static, but its 
visibility could be changed so that it is not exposed to the outside 
world. I am going to mark it as G_GNUC_INTERNAL.

ubuntu_gtk_set_use_overlay_scrollbar() must be kept visible, as it is 
used by the Qt patch. For consistency I think 
ubuntu_gtk_get_use_overlay_scrollbar() should be kept as well.

Aurélien

-- 
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:
  Triaged
Status in “overlay-scrollbar” package in Ubuntu:
  Confirmed
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:
  Triaged
Status in “overlay-scrollbar” source package in Oneiric:
  Confirmed
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