Summary: | switching comic in commic applet crashes plasma | ||
---|---|---|---|
Product: | [Plasma] plasma4 | Reporter: | Michal Hlavinka <mhlavink> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | eljefedelito, helder.meneses, imranoftherings, kde, mat69, oldium.pro, rdieter, StevenFriedrich |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | New crash information added by DrKonqi |
Description
Michal Hlavinka
2010-10-06 14:06:05 UTC
I've seen "tooltip" in the backtrace so I've tried to play with it just a litlle and found this: one of the commics (PhD Comics) has tooltip ( "Tales from the road to...." ) other comics does not show tooltip. If I switch comic fast so tooltip does not show up, everything is ok If I switch slowly when switching from comic that has no tooltip, everything is ok If I switch comic when tooltip is shown, it crashes always So there really is some problem with tooltip Created attachment 52294 [details]
New crash information added by DrKonqi
plasma-desktop (0.3) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.6.3
I can confirm the same behaviour - problem with tooltip. When I switch comixes and the tooltip is shown, the application crashes. I'm using XKCD (with tooltip), Garfield and Dilbert, so when I switch from XKCD, I see the crash.
-- Backtrace (Reduced):
#7 0xb4e7b805 in Plasma::ToolTip::setContent (this=0x0, tipper=0xa3b4f90, data=...) at /mnt/data/tmp/portage/kde-base/kdelibs-4.5.2/work/kdelibs-4.5.2/plasma/private/tooltip.cpp:300
#8 0xb4eb4ec1 in Plasma::ToolTipManager::setContent (this=0xa110a20, widget=0xa3b4f90, data=...) at /mnt/data/tmp/portage/kde-base/kdelibs-4.5.2/work/kdelibs-4.5.2/plasma/tooltipmanager.cpp:239
#9 0xab2c161f in ComicApplet::dataUpdated (this=0xa3be920, data=...) at /mnt/data/tmp/portage/kde-base/kdeplasma-addons-4.5.1/work/kdeplasma-addons-4.5.1/applets/comic/comic.cpp:430
#10 0xab2c631d in ComicApplet::qt_metacall (this=0xa3be920, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbffb5414)
at /mnt/data/tmp/portage/kde-base/kdeplasma-addons-4.5.1/work/kdeplasma-addons-4.5.1_build/applets/comic/comic.moc:107
[...]
[...]
#13 0xb4e097d8 in Plasma::DataContainer::dataUpdated (this=0xa6e1668, _t1=..., _t2=...) at /mnt/data/tmp/portage/kde-base/kdelibs-4.5.2/work/kdelibs-4.5.2_build/plasma/datacontainer.moc:101
I can also confirm that behaviour and it never happened to me before, I think it might have been introduced in 4.5.2. The problem are the following lines: Plasma::ToolTipContent toolTipData; if ( !mAdditionalText.isEmpty() ) { toolTipData = Plasma::ToolTipContent( mAdditionalText, QString() ); toolTipData.setAutohide( false ); } Plasma::ToolTipManager::self()->setContent( mMainWidget, toolTipData ); So setting an empty Plasma::ToolTipContent when there is already something displayed crashes it _always_. SVN commit 1183775 by aseigo: hide(QGraphicsWidget*) results in the destruction of d->tipWidget BUG:253387 M +4 -2 tooltipmanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1183775 SVN commit 1183776 by aseigo: hide(QGraphicsWidget*) results in the destruction of d->tipWidget CCBUG:253387 M +2 -0 tooltipmanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1183776 *** Bug 254277 has been marked as a duplicate of this bug. *** *** Bug 254661 has been marked as a duplicate of this bug. *** *** Bug 254901 has been marked as a duplicate of this bug. *** *** Bug 254055 has been marked as a duplicate of this bug. *** *** Bug 255980 has been marked as a duplicate of this bug. *** |