Thanks for the report. I have applied a fix for the crash in Gtk style. It was indeed a problem if you set Gtk style without having the gtk symbols available and then triggered an application palette change.
Jens "Carina Denkmann" <[email protected]> wrote in message news:[email protected]... > Hi, > > * Using master from git, and get broken labels for tabs with icons (see > screen > shot). This is Plastique style, but the error is on all styles that use > the > defaults from QCommonStyle. > > * The other thing I get a crash when running "widgets/styles" example, > then > switch to GTK+ style. > > Crash backtrace: > > [Thread debugging using libthread_db enabled] > QGtkStyle cannot be used together with the GTK_Qt engine. > > Program received signal SIGSEGV, Segmentation fault. > gtkWidgetPalette (gtkWidgetName=...) > at /local/git/Qt/qt/src/gui/styles/gtksymbols.cpp:495 > 495 GdkColor gdkBg = gtkWidget->style->bg[GTK_STATE_NORMAL]; > Current language: auto; currently c++ > (gdb) bt > #0 gtkWidgetPalette (gtkWidgetName=...) > at /local/git/Qt/qt/src/gui/styles/gtksymbols.cpp:495 > #1 0xb7aaa340 in QGtk::applyCustomPaletteHash () > at /local/git/Qt/qt/src/gui/styles/gtksymbols.cpp:520 > #2 0xb7a9041b in QGtkStyleFilter::eventFilter (this=0x80ebff4, > obj=0xbffff080, e=0xbfffcdac) > at /local/git/Qt/qt/src/gui/styles/qgtkstyle.cpp:158 > #3 0xb72a422c in > QCoreApplicationPrivate::sendThroughApplicationEventFilters > (this=0x8059208, receiver=0xbffff080, event=0xbfffcdac) > at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:721 > #4 0xb772f583 in QApplicationPrivate::notify_helper (this=0x8059208, > receiver=0xbffff080, e=0xbfffcdac) > at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4022 > #5 0xb7736a24 in QApplication::notify (this=0xbffff080, > receiver=0xbffff080, > e=0xbfffcdac) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4012 > #6 0xb72a501b in QCoreApplication::notifyInternal (this=0xbffff080, > receiver=0xbffff080, event=0xbfffcdac) > at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:624 > #7 0xb77326d4 in QApplicationPrivate::setPalette_helper (palette=..., > className=0x0, clearWidgetPaletteHash=true) > > at > ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:213 > #8 0xb7732b1c in QApplication::setPalette (palette=..., className=0x0) > at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:1754 > #9 0xb7732d45 in QApplication::setStyle (style=0x80c2de0) > at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:1414 > #10 0x0804f545 in WidgetGallery::changeStyle(QString const&) () > #11 0x08051389 in WidgetGallery::qt_metacall(QMetaObject::Call, int, > void**) > () > > -- Jens Bache-Wiig - jbache at trolltech.com Nokia - Qt Software _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
