Bug 137217 - track right-click menu not displayed if using "motif plus" kde style
Summary: track right-click menu not displayed if using "motif plus" kde style
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-11 23:13 UTC by Daniele Paganelli
Modified: 2008-06-16 14:37 UTC (History)
1 user (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 Daniele Paganelli 2006-11-11 23:13:15 UTC
Version:           1.4.4 (using KDE 3.5.5, Debian Package 4:3.5.5a-2 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.14-2-k7

If the KDE style for KDE applications is "Motif Plus", the track menu that should appear for each track will not be correctly displayed. 

Instead, a grey rectangle of the same dimension and position will be shown, without entries. If you remember the position of the menu entry and click here on that rectangle, the action corresponding to that position will be performed as usual.

The problem does not appear with any other KDE style (neither plain "Motif").
Comment 1 Seb Ruiz 2006-11-12 06:09:49 UTC
I don't even have a motif-plus style in my control center.  If it's not distributed by default, then it most certainly can't be our issue. You should report to the author of the style.
Comment 2 Seb Ruiz 2006-11-12 06:10:53 UTC
Sorry, didn't realise that this bug had been reassigned - reopening.
Comment 3 Daniele Paganelli 2006-11-12 10:58:12 UTC
It's the only menu I cannot display correclty, all applications considered. And, I've seen the motif style every kde installation I made, so it seem quite standard.
Anyway, is there a way to change/report the bug to who works on the motif plus style?
Comment 4 Maksim Orlovich 2007-11-19 18:18:00 UTC
Sorry folks, but I have to bounce this back to you -- Motif Plus comes with Qt, so we can't fix it. I can help you diagnose what's going on, though, if you so wish.
Comment 5 Seb Ruiz 2007-11-19 21:53:17 UTC
I think this happens with the context menu for tracks in the playlist. This is the only non-standard menu we create, when we place an image inline.

However, this code seems to be borrowed from the kmenu.

Relevant code is in amarok/src/prettypopupmenu.{cpp,h} - and perhaps a possible interesting snippet:

172     //NOTE The order is important here. drawContents() must be called before drawPrimitive(),
173     //     otherwise we get rendering glitches.
174
175     drawContents( &p );
176
177     style().drawPrimitive( QStyle::PE_PanelPopup, &p,
178                            QRect( 0, 0, width(), height() ),
179                            colorGroup(), QStyle::Style_Default,
180                            QStyleOption( frameWidth(), 0 ) )
Comment 6 Michael Leupold 2008-06-15 11:43:25 UTC
comment from KDE bugsquad member

I can't reproduce this bug any longer in 1.4.9.1 and Amarok2 trunk r820602.
Comment 7 Edward Hades 2008-06-16 14:37:05 UTC
*** Bug has been marked as fixed ***.