Bug 188005 - [Regression] Selection and Context Menues for Cool Streams are broken
Summary: [Regression] Selection and Context Menues for Cool Streams are broken
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.1-SVN
Platform: unspecified Linux
: HI normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 188004 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-24 15:01 UTC by simon
Modified: 2009-12-09 11:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simon 2009-03-24 15:01:27 UTC
Version:           2.1-SVN (using 4.2.67 (KDE 4.2.67 (KDE 4.3 >= 20090318)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.26-tuxonice

hi,

somehow the handling of Clicks (Left/Right MB) is broken for the Cool Streams tab. It behaves strange and once some Streams are selected they can't be unselected
Comment 1 simon 2009-03-24 15:04:14 UTC
*** Bug 188004 has been marked as a duplicate of this bug. ***
Comment 2 Mark Kretschmann 2009-03-24 15:48:59 UTC
I can confirm this. Additionally, I'm getting the following debug output when clicking on the items:

QPainter::begin: Cannot paint on a null pixmap
QPainter::translate: Painter not active
QPainter::end: Painter not active, aborted
Comment 3 Enrico Ros 2009-03-24 16:20:28 UTC
The problem here is in the reimplementation of mousePressEvent(QMouseEvent *) is CollectionTreeView.cpp. I now that removing the reimplementation fixes the problem (and the QPainter strings too), but I don't know how to fix this.

The only purpose of the mousePressEvent reimpl is to expand top level items in the "Local Collection", but it kicks in into other places too (like Cool Streams) where there is nothing to expand (top level items are actual tracks!).
Comment 4 Valentin Rouet 2009-03-25 20:53:30 UTC
SVN commit 944595 by vrouet:

Fixed the reemplemented CollectionTreeView::mousePressEvent() that caused bad mouse handling in the cool streams service (and problably some other services).
BUG: 188005

 M  +1 -1      CollectionTreeView.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=944595