Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411227 - media-sound/amarok-2.4.3 context applets broken in KDE 4.8
Summary: media-sound/amarok-2.4.3 context applets broken in KDE 4.8
Status: RESOLVED DUPLICATE of bug 415481
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL:
Whiteboard:
Keywords:
Depends on: 418321
Blocks:
  Show dependency tree
 
Reported: 2012-04-08 08:50 UTC by Oliver Schwabedissen
Modified: 2012-06-30 17:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Schwabedissen 2012-04-08 08:50:06 UTC
After updating KDE 4.7.4 to the now stable version 4.8.1 I noticed that the context applets in Amarok disappeared. 

There's also a report in the Amarok forum on kde.org. A solution is also provided, but it seems this patch hasn't been included in amarok-2.4.3 yet.

A patch has been provided for Amarok 2.5 already:

*amarok-2.5.0-r2 (09 Feb 2012)

  09 Feb 2012; Johannes Huber <johu@gentoo.org> +amarok-2.5.0-r2.ebuild,
  +files/amarok-2.5.0-kde48.patch:
  Rev bump, adds upstream patch for gui issues with kde 4.8, fixes bug #402131.

Does a patch for Amarok 2.4.3 exist? Or is it possible to apply the above patch to Amarok 2.4.3 somehow?

Or is it possible to stabilize Amarok 2.5 soon? As the stable KDE 4.8.1 breaks an important feature in Amarok this should be fixed asap.
Comment 1 Franz Trischberger 2012-04-09 06:33:14 UTC
I naively applied the given patch to amarok-2.4.3-r1 - applied fine, built fine, and I even have context working :D
But when closing amarok it crashed - had nothing to do with the context, but the collection:

Thread 1 (Thread 0x7f079956d780 (LWP 14296)):
[KCrash Handler]
#6  0x0000000000eca69a in ?? ()
#7  0x00007f079840edfe in qDeleteAll<QList<Collections::CollectionFactory*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<SmartPointerList<Collections::CollectionFactory> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  CollectionManager::~CollectionManager (this=0xe9aee0, __in_chrg=<optimized out>) at /var/tmp/paludis/media-sound-amarok-2.4.3-r1/work/amarok-2.4.3/src/core-impl/collections/support/CollectionManager.cpp:138
#10 0x00007f079840ef79 in CollectionManager::~CollectionManager (this=0xe9aee0, __in_chrg=<optimized out>) at /var/tmp/paludis/media-sound-amarok-2.4.3-r1/work/amarok-2.4.3/src/core-impl/collections/support/CollectionManager.cpp:140
#11 0x00007f079840d1c6 in CollectionManager::destroy () at /var/tmp/paludis/media-sound-amarok-2.4.3-r1/work/amarok-2.4.3/src/core-impl/collections/support/CollectionManager.cpp:107
#12 0x00007f07985308e8 in App::~App (this=0x7fff1666d800, __in_chrg=<optimized out>) at /var/tmp/paludis/media-sound-amarok-2.4.3-r1/work/amarok-2.4.3/src/App.cpp:248
#13 0x0000000000409638 in main (argc=1, argv=0x7fff1666fe08) at /var/tmp/paludis/media-sound-amarok-2.4.3-r1/work/amarok-2.4.3/src/main.cpp:287

I downgraded from 2.5.0 to 2.4.3-r1, so probably an issue with config/database/...
Try if the patch works for you, start and close (read: completely close, not "close to systray") - does it crash? (the patch does not touch collection, so I am sure all will go fine).
Comment 2 Franz Trischberger 2012-04-16 05:47:45 UTC
AH! The crash is due to this bug:
https://bugs.kde.org/show_bug.cgi?id=285951
Qt-4.8 + amarok-2.4.3 causes problems. So the amarok-2.5.0-kde48.patch could be applied to 2.4.3 as well.
Comment 3 Franz Trischberger 2012-05-08 19:58:44 UTC
(In reply to comment #2)
> AH! The crash is due to this bug:
> https://bugs.kde.org/show_bug.cgi?id=285951
> Qt-4.8 + amarok-2.4.3 causes problems.

Qt-4.8.1 went stable, so this issue will bug people. Should I post a seperate report or are there plans to mark amarok-2.5.0-r2 stable?
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2012-06-30 17:21:51 UTC

*** This bug has been marked as a duplicate of bug 415481 ***