Bug 278365 - ContextMenu side image not visible anymore
Summary: ContextMenu side image not visible anymore
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Menus (show other bugs)
Version: 2.0.0
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-23 22:47 UTC by Andi Clemens
Modified: 2017-08-02 21:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andi Clemens 2011-07-23 22:47:35 UTC
Version:           2.0.0 (using KDE 4.6.4) 
OS:                Linux

The context menu had a side image before, now it seems to be gone.
Has it been removed? If so, we should fix the width of the context menu, because when viewing an image and right-clicking on it, the context menu is wider than in the thumbnail view.

Reproducible: Always

Steps to Reproduce:
1. Click on an thumbnail.
2. Right click on the image

Actual Results:  
Context menu shows no side image, context menu is too wide.

Expected Results:  
The image should be displayed. If we removed it, the context menu width needs to be fixed.

OS: Linux (i686) release 2.6.39-ARCH
Compiler: gcc
Comment 1 Christoph Feck 2011-07-24 01:44:06 UTC
Yes, a regression from bug 274388. Actually, I note that possible issue, but you are so fast with bug fixing :)

There are three things that need to be rendered:
- the background/frame (PE_FrameMenu)
- the icons/text (actual QMenu)
- the sidebar (your customization)

The rendering order of those elements should match the list above.
Comment 2 Christoph Feck 2011-07-24 01:50:46 UTC
If the intention was to put the frame above the sidebar, then you might need to explicitely check for QWindowsVistaStyle, and only apply the new rendering order for that. Use style()->inherits().
Comment 3 caulier.gilles 2011-12-13 10:10:20 UTC
context menu image have been removed definitively with 2.3.0 release...

Gilles Caulier